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
6775753_c0
6775753
fsharp
0
Title: What to choose fsyacc/fslex or FParsec? Problem title: What to choose fsyacc/fslex or FParsec? Tags: f%23, fparsec, fslex, fsyacc Problem: What to choose fsyacc/fslex or FParsec? I need to parse simple DSL language like the following: import "library.txt" def <int, bool, byte> main(int param1, bool param2) { var...
What to choose fsyacc/fslex or FParsec? What to choose fsyacc/fslex or FParsec? f%23 fparsec fslex fsyacc What FParsec library.txt param1 param2 What to choose fsyacc/fslex or FParsec? I need to parse simple DSL language like the following: What is the most suitable tool to parse such kind of language?
[ -0.00909423828125, 0.005706787109375, -0.003936767578125, 0.02978515625, -0.0174560546875, 0.0137939453125, 0.0033111572265625, 0.0033111572265625, -0.00482177734375, -0.01513671875, 0.02001953125, -0.001861572265625, -0.004425048828125, 0.00439453125, -0.0003108978271484375, -0.006927...
[ 4865, 55076, 1238, 19834, 10060, 64, 17447, 74070, 563, 28636, 39797, 707, 3742, 2500, 7, 35773, 1294, 124326, 121, 304, 3871, 366, 184, 8781, 114479, 46876, 25632, 2684, 202319, 55516, 6044, 8562 ]
[ 0.0224151611328125, 0.1129150390625, 0.10888671875, 0.1556396484375, 0.199462890625, 0.056365966796875, 0.163330078125, 0.28857421875, 0.1475830078125, 0.191162109375, 0.271240234375, 0.040924072265625, 0.083740234375, 0.1370849609375, 0.036529541015625, 0.134765625, 0.0775146484375,...
embed
1652050_c0
1652050
fsharp
0
Title: Generic type definition syntax on F# Problem title: Generic type definition syntax on F# Tags: f%23 Problem: Generic type definition syntax on F# This is not a big deal, but is there any way in F# to get a generic type definition without calling GetGenericTypeDefinition() ? IComparable<_> is IComparable<object> ...
Generic type definition syntax on F# Generic type definition syntax on F# f%23 Generic IComparable GetType GetGenericTypeDefinition Generic type definition syntax on F# This is not a big deal, but is there any way in F# to get a generic type definition without calling GetGenericTypeDefinition() ? IComparable<_> is ICom...
[ -0.00823974609375, 0.01513671875, -0.003326416015625, -0.00927734375, -0.005889892578125, -0.02490234375, -0.001068115234375, -0.0076904296875, 0.003204345703125, -0.00482177734375, 0.006195068359375, -0.01031494140625, -0.0179443359375, -0.0111083984375, 0.0216064453125, 0.00958251953...
[ 88342, 1771, 10644, 80934, 6002, 86531, 98, 563, 4904, 1238, 3742, 87, 108161, 147, 2886, 20779, 196707, 135932, 12259, 187423, 943, 3917, 23, 2046, 189534, 15490, 159029, 83, 187694, 53498, 18499, 75034, 17777 ]
[ 0.1842041015625, 0.1068115234375, 0.2459716796875, 0.181884765625, 0.117431640625, 0.1260986328125, 0.044708251953125, 0.135498046875, 0.19384765625, 0.0250396728515625, 0.06964111328125, 0.105712890625, 0.1650390625, 0.1446533203125, 0.133056640625, 0.06500244140625, 0.225341796875,...
embed
30385145_c0
30385145
fsharp
0
Title: Can I intercept the F# sequence generator? Problem title: Can I intercept the F# sequence generator? Tags: f%23, sequence Problem: Can I intercept the F# sequence generator? trying to work around a problem in outside library - is there a way to try-catch the generator itself item by item (probably not, but just ...
Can I intercept the F# sequence generator? Can I intercept the F# sequence generator? f%23 sequence Can Seq.iter Can I intercept the F# sequence generator? trying to work around a problem in outside library - is there a way to try-catch the generator itself item by item (probably not, but just to be sure...)?
[ 0.006317138671875, 0.0146484375, 0.005401611328125, -0.0031890869140625, 0.00396728515625, -0.0133056640625, 0.021728515625, -0.005645751953125, 0.00152587890625, -0.01385498046875, -0.019775390625, 0.0322265625, -0.004119873046875, 0.01519775390625, 0.03759765625, -0.006103515625, -...
[ 4171, 87, 1940, 19462, 563, 4904, 40, 944, 3956, 145823, 1238, 3742, 503, 864, 16840, 70, 4488, 10932, 2967, 50782, 35773, 1294, 3917, 9790, 4460, 206, 68034, 35735, 390, 9077 ]
[ 0.0880126953125, 0.02716064453125, 0.1273193359375, 0.223388671875, 0.1168212890625, 0.2183837890625, 0.037994384765625, 0.11865234375, 0.064697265625, 0.24658203125, 0.06341552734375, 0.098388671875, 0.094970703125, 0.16650390625, 0.1929931640625, 0.01043701171875, 0.019485473632812...
embed
56556669_c0
56556669
fsharp
0
Title: Try to pass a function to a value but the function run Problem title: Try to pass a function to a value but the function run Tags: f%23, scala Problem: Try to pass a function to a value but the function run I have this code: Scala: object C extends App{ def a(): Unit ={ println("a") } val b=a } f#: let a=printfn...
Try to pass a function to a value but the function run Try to pass a function to a value but the function run f%23 scala Try App Unit EntryPoint Try to pass a function to a value but the function run I have this code: Scala: f#: I only want to pass the function as a value a , not to run it. Why, when I run the program,...
[ 0.0250244140625, 0.004119873046875, 0.0245361328125, 0.00156402587890625, -0.01312255859375, -0.006103515625, 0.00193023681640625, -0.0115966796875, -0.003021240234375, -0.013916015625, -0.008056640625, 0.017578125, -0.022216796875, 0.0191650390625, 0.0301513671875, -0.0264892578125, ...
[ 40858, 47, 27875, 32354, 10, 34292, 1284, 70, 11675, 1238, 3949, 3742, 146232, 5659, 46640, 357, 15123, 147534, 765, 18151, 152653, 11, 4904, 4734, 3444, 237, 6, 959, 442, 44084, 3229, 1528, 87, 2046, 59121, 130250 ]
[ 0.154541015625, 0.1568603515625, 0.188232421875, 0.2064208984375, 0.126953125, 0.1978759765625, 0.16064453125, 0.0242919921875, 0.1944580078125, 0.0963134765625, 0.041473388671875, 0.13671875, 0.1868896484375, 0.1488037109375, 0.1328125, 0.06451416015625, 0.1636962890625, 0.1400146...
embed
5206911_c1
5206911
fsharp
1
. The first one is that matrix.[(x, y)] is expected to have type `a[] but has type double[,]. The second is type definitions must have let/do bindings preceding member and interface definitions. The problem with that is I'm trying to populate an indexed property in the do block, which means I have to create it first. T...
. The first one is that matrix.[(x, y)] is expected to have type `a[] but has type double[,]. The second is type definitions must have let/do bindings preceding member and interface definitions. The problem with that is I'm trying to populate an indexed property in the do block, which means I have to create it first. T...
[ -0.000652313232421875, 0.0299072265625, 0.014892578125, 0.0038604736328125, -0.0018310546875, -0.00994873046875, -0.001953125, 0.01129150390625, 0.02978515625, 0.00014781951904296875, 0.0024871826171875, -0.0220947265625, -0.005706787109375, -0.0230712890625, 0.003173828125, 0.01092529...
[ 5117, 1632, 83, 450, 50944, 425, 1065, 113, 16, 84751, 765, 10644, 11, 268, 1284, 1556, 41929, 17932, 80934, 8110, 2633, 64, 246, 128239, 107671, 32786, 101758, 2967, 31577, 27623, 63262, 297, 57266, 54, 46389, 28282, 129745, 25027, 28864, ...
[ 0.08575439453125, 0.021942138671875, 0.003021240234375, 0.00396728515625, 0.2008056640625, 0.1134033203125, 0.002471923828125, 0.1201171875, 0.010467529296875, 0.185546875, 0.0261688232421875, 0.2254638671875, 0.120361328125, 0.000732421875, 0.0811767578125, 0.04864501953125, 0.17614...
embed
266800_c0
266800
fsharp
0
Title: System.Collections.Generic List and F# Problem title: System.Collections.Generic List and F# Tags: f%23 Problem: System.Collections.Generic List and F# I have a C# class the returns a List, using System.Collections.Generic Lists not F# List I want to iterate though the list to find a object or not find it. Here ...
System.Collections.Generic List and F# System.Collections.Generic List and F# f%23 System.Collections.Generic List AperioCaseObj CaseList caseObj.CaseId System.Collections.Generic List and F# I have a C# class the returns a List, using System.Collections.Generic Lists not F# List I want to iterate though the list to fi...
[ 0.00726318359375, 0.016357421875, 0.000789642333984375, -0.00811767578125, 0.01507568359375, -0.0084228515625, 0.00604248046875, -0.00180816650390625, 0.0016937255859375, -0.004364013671875, 0.0244140625, 0.0152587890625, 0, -0.0234375, -0.000652313232421875, -0.00115203857421875, -0...
[ 12353, 78457, 8996, 5256, 135932, 12259, 32036, 136, 563, 4904, 3742, 62, 17152, 31, 441, 6991, 46471, 170, 43731, 154663, 7225, 71, 765, 313, 18507, 30646, 17368, 5, 959, 3444, 17, 8560, 67, 21208, 70, 5303, 47, 7413, 36746, 707, 442, ...
[ 0.1361083984375, 0.07666015625, 0.1124267578125, 0.05859375, 0.1285400390625, 0.0985107421875, 0.183349609375, 0.062255859375, 0.1346435546875, 0.2022705078125, 0.06939697265625, 0.0050048828125, 0.0948486328125, 0.058380126953125, 0.051177978515625, 0.068115234375, 0.0635986328125, ...
embed
19784891_c0
19784891
fsharp
0
Title: F# seq&lt;float&gt; to ILNumerics in functional style Problem title: F# seq&lt;float&gt; to ILNumerics in functional style Tags: ilnumerics, f%23 Problem: F# seq to ILNumerics in functional style I have a F# query that returns seq<float> . I was wondering how I could stuff the data within the seq<float> in a ILN...
F# seq&lt;float&gt; to ILNumerics in functional style F# seq&lt;float&gt; to ILNumerics in functional style ilnumerics f%23 ILNumerics F# seq to ILNumerics in functional style I have a F# query that returns seq<float> . I was wondering how I could stuff the data within the seq<float> in a ILNumerics dense array ( http:...
[ 0.0091552734375, 0.01129150390625, 0.00390625, 0.0155029296875, 0.00726318359375, -0.005279541015625, 0.0181884765625, 0.0128173828125, -0.00958251953125, -0.0341796875, 0.0029144287109375, 0.01318359375, -0.0035552978515625, -0.00457763671875, 0.009033203125, 0.007537841796875, -0.0...
[ 563, 4904, 40, 864, 1277, 52347, 257, 5386, 47, 30219, 18444, 1991, 28021, 123309, 20623, 23, 211, 2606, 56, 1238, 3949, 3742, 41, 1294, 30646, 149016, 3642, 5809, 41884, 2053, 28032, 168, 184, 10298, 53, 379, 97249, 10763, 26951, 1577, ...
[ 0.1683349609375, 0.23486328125, 0.1544189453125, 0.22998046875, 0.007293701171875, 0.159912109375, 0.0958251953125, 0.055908203125, 0.1038818359375, 0.1513671875, 0.110595703125, 0.105224609375, 0.1392822265625, 0.206298828125, 0.193115234375, 0.041839599609375, 0.1031494140625, 0....
embed
4581379_c0
4581379
fsharp
0
Title: Getting Open Namespaces and Modules in an FSI Session Problem title: Getting Open Namespaces and Modules in an FSI Session Tags: f%23-interactive, f%23 Problem: Getting Open Namespaces and Modules in an FSI Session Is there any way to retrieve a list of open namespaces and modules in an FSI Session? I'm playing ...
Getting Open Namespaces and Modules in an FSI Session Getting Open Namespaces and Modules in an FSI Session f%23-interactive f%23 Getting Open Namespaces Modules FSI Session Getting Open Namespaces and Modules in an FSI Session Is there any way to retrieve a list of open namespaces and modules in an FSI Session? I'm pl...
[ 0.0137939453125, -0.004547119140625, 0.008544921875, 0.01470947265625, 0.00927734375, -0.002960205078125, 0.001983642578125, -0.0107421875, 0, -0.001068115234375, 0.007293701171875, -0.00022220611572265625, 0.0057373046875, -0.017578125, 0.01611328125, -0.01220703125, 0.0037689208984...
[ 210732, 13527, 2096, 109164, 7, 136, 63014, 90, 23, 563, 9902, 148735, 1238, 27495, 10433, 3742, 142, 2499, 3917, 47, 456, 3996, 3134, 5303, 9803, 210716, 88996, 75169, 2448, 4904, 66747, 125195, 1884, 157167, 17721, 142424, 5608, 28412, 89...
[ 0.0948486328125, 0.204345703125, 0.1123046875, 0.2220458984375, 0.049560546875, 0.1309814453125, 0.1800537109375, 0.03912353515625, 0.0638427734375, 0.1317138671875, 0.2130126953125, 0.1986083984375, 0.052703857421875, 0.033294677734375, 0.026336669921875, 0.0555419921875, 0.04516601...
embed
6997083_c0
6997083
fsharp
0
Title: How to enumerate a discriminated union in F#? Problem title: How to enumerate a discriminated union in F#? Tags: discriminated-union, f%23 Problem: How to enumerate a discriminated union in F#? How can I enumerate through the possible "values" of a discriminated union in F#? I want to know if is there something ...
How to enumerate a discriminated union in F#? How to enumerate a discriminated union in F#? discriminated-union f%23 How Enum.GetValues Type How to enumerate a discriminated union in F#? How can I enumerate through the possible "values" of a discriminated union in F#? I want to know if is there something like Enum.GetV...
[ 0.00106048583984375, -0.0186767578125, 0.00011920928955078125, 0.005157470703125, -0.01422119140625, -0.0030059814453125, -0.0047607421875, -0.00040435791015625, 0.00180816650390625, -0.0107421875, 0.0016632080078125, -0.00762939453125, 0.0223388671875, 0.007080078125, 0.00213623046875, ...
[ 11249, 47, 189085, 67, 10, 55970, 3674, 69941, 23, 563, 4904, 87046, 1238, 3949, 3742, 357, 316, 724, 126, 42272, 21049, 60457, 831, 8305, 7722, 27494, 3714, 1884, 196707, 7, 143033, 2053, 139392, 5303, 10298, 1632, 35735, 12638, 35829 ]
[ 0.08685302734375, 0.048919677734375, 0.2398681640625, 0.10205078125, 0.01971435546875, 0.2275390625, 0.111572265625, 0.226806640625, 0.06878662109375, 0.1396484375, 0.20263671875, 0.1873779296875, 0.07568359375, 0.0146026611328125, 0.102783203125, 0.110595703125, 0.2127685546875, 0...
embed
15487603_c1
15487603
fsharp
1
fixString. Assuming that worked, I am neither sure how to pattern match a portion of a string nor do a find and replace within the string... Results in FSI val myList2 : string list = ["NIF"; "PF"; "PS"; "SC"; "US"; "USA"; "USD"] val FixAccronyms2 : aList:string list -> fixString:'a -> unit >FixAccronyms2 myList2 "the...
fixString. Assuming that worked, I am neither sure how to pattern match a portion of a string nor do a find and replace within the string... Results in FSI val myList2 : string list = ["NIF"; "PF"; "PS"; "SC"; "US"; "USA"; "USD"] val FixAccronyms2 : aList:string list -> fixString:'a -> unit >FixAccronyms2 myList2 "the...
[ -0.02197265625, -0.00457763671875, -0.0028228759765625, 0.0296630859375, 0.01171875, 0.026123046875, 0.01007080078125, 0.0037078857421875, 0.0308837890625, 0.062255859375, 0.0264892578125, -0.003143310546875, 0.0006256103515625, -0.008056640625, 0.02099609375, -0.0032806396484375, 0....
[ 30022, 71713, 214, 62, 66596, 79786, 9077, 3642, 47, 103510, 14858, 126826, 111, 79315, 7413, 136, 91995, 28032, 70, 146104, 563, 9902, 3502, 759, 154663, 304, 5303, 7787, 919, 56128, 41265, 9059, 14495, 44, 8762, 42101, 132312, 96746, 1532...
[ 0.2178955078125, 0.190673828125, 0.126708984375, 0.004974365234375, 0.0491943359375, 0.0816650390625, 0.02874755859375, 0.0347900390625, 0.0513916015625, 0.2415771484375, 0.2431640625, 0.1414794921875, 0.004608154296875, 0.231201171875, 0.14404296875, 0.06903076171875, 0.200439453125...
embed
33745177_c0
33745177
fsharp
0
Title: Applying Fold function in F# Problem title: Applying Fold function in F# Tags: fold, list, f%23 Problem: Applying Fold function in F# let list_min_fold = List.fold (fun acc -> List.min acc ) 0 lst printfn"Using regular List.fold function:\n The minimum is: %A\n" (list_min_fold) When I execute my code this error ...
Applying Fold function in F# Applying Fold function in F# fold list f%23 Applying Fold list_min_fold List.fold List.min Using Applying Fold function in F# When I execute my code this error displays: error FS0001: The type '('a -> 'b)' does not support the 'comparison' constraint. For example, it does not support the 'S...
[ -0.01239013671875, -0.00009584426879882812, 0.037353515625, 0.00185394287109375, -0.00341796875, 0.0198974609375, -0.00592041015625, 0.00099945068359375, 0.00063323974609375, -0.0018157958984375, 0.02001953125, -0.0303955078125, -0.00335693359375, 0.00567626953125, 0.0048828125, -0.004...
[ 5659, 538, 30077, 71, 32354, 23, 563, 4904, 214, 42822, 5303, 1238, 3742, 1249, 32036, 71924, 18151, 903, 18499, 44116, 7, 93774, 188735, 10644, 11, 33079, 275, 14602, 959, 8060, 277, 24980, 1681, 158, 2816, 4288, 84293, 568, 108161, 147,...
[ 0.122314453125, 0.09429931640625, 0.2017822265625, 0.115478515625, 0.1474609375, 0.015838623046875, 0.1304931640625, 0.197998046875, 0.0171966552734375, 0.1917724609375, 0.1436767578125, 0.0562744140625, 0.0887451171875, 0.1707763671875, 0.137939453125, 0.087890625, 0.06591796875, ...
embed
71125662_c0
71125662
fsharp
0
Title: how can I scale the markers with Plotly.net? (F#/C#) Problem title: how can I scale the markers with Plotly.net? (F#/C#) Tags: plotly, f%23 Problem: how can I scale the markers with Plotly.net? (F#/C#) I am drawing markers like this: Chart.Point (points, MarkerSymbol = MarkerSymbol.TriangleUp, MarkerColor = Colo...
how can I scale the markers with Plotly.net? (F#/C#) how can I scale the markers with Plotly.net? (F#/C#) plotly f%23 Plotly.net Chart.Point MarkerSymbol MarkerSymbol.TriangleUp MarkerColor Color.fromKeyword ColorKeyword.Green how can I scale the markers with Plotly.net? (F#/C#) I am drawing markers like this: Is there...
[ 0.0267333984375, 0.0034942626953125, 0.0166015625, -0.002227783203125, -0.00701904296875, -0.007537841796875, 0.01312255859375, 0.002349853515625, 0.0142822265625, 0.0172119140625, -0.0026397705078125, 0.003997802734375, -0.0023956298828125, -0.009521484375, -0.01300048828125, 0.006652...
[ 3642, 831, 105994, 70, 71323, 7, 678, 168763, 538, 1179, 919, 4904, 87, 23577, 1238, 3742, 110373, 147534, 7880, 56, 36846, 74257, 109217, 53234, 1484, 51193, 161063, 47416, 152061, 64, 188304, 1884, 903, 10, 3917, 47, 2856, 7108, 5036, 2...
[ 0.0689697265625, 0.072265625, 0.259521484375, 0.042236328125, 0.2098388671875, 0.11474609375, 0.0628662109375, 0.2059326171875, 0.2139892578125, 0.1654052734375, 0.03472900390625, 0.115234375, 0.0057373046875, 0.1585693359375, 0.0107421875, 0.094482421875, 0.130859375, 0.0892333984...
embed
23054279_c0
23054279
fsharp
0
Title: Compile F# source at runtime with Codedom? Problem title: Compile F# source at runtime with Codedom? Tags: f%23, .net-assembly Problem: Compile F# source at runtime with Codedom? I need to compile some f# source files at run-time into an assembly. At the moment I am using Fsharp.Compiler.CodeDom and it does what...
Compile F# source at runtime with Codedom? Compile F# source at runtime with Codedom? f%23 .net-assembly Compile Codedom Compile F# source at runtime with Codedom? I need to compile some f# source files at run-time into an assembly. At the moment I am using Fsharp.Compiler.CodeDom and it does what I need it to do, howe...
[ -0.004364013671875, 0.000499725341796875, 0.013427734375, -0.00958251953125, -0.0032501220703125, -0.002105712890625, -0.00103759765625, 0.0084228515625, -0.0235595703125, -0.0341796875, -0.0107421875, -0.00189971923828125, 0.0016021728515625, 0.007080078125, 0.014404296875, 0.00175476...
[ 15612, 1340, 563, 4904, 31344, 99, 11675, 6032, 678, 28864, 3815, 1238, 3742, 1179, 89845, 38526, 32, 3871, 9969, 3060, 102158, 3934, 3095, 17368, 89280, 254, 5, 108161, 34759, 114211, 106098, 14602, 37202, 903, 35773, 1294, 18, 2809, 76104...
[ 0.1798095703125, 0.16357421875, 0.149169921875, 0.2186279296875, 0.228759765625, 0.105712890625, 0.1356201171875, 0.157470703125, 0.11669921875, 0.20654296875, 0.276123046875, 0.126220703125, 0.09600830078125, 0.1173095703125, 0.166259765625, 0.1256103515625, 0.003692626953125, 0.0...
embed
53791987_c0
53791987
fsharp
0
Title: Reduce Fails Silently Problem title: Reduce Fails Silently Tags: f%23 Problem: Reduce Fails Silently I am seeing some strange behavior when using Seq.reduce as follows: printfn "%d" (Seq.reduce (*) [1..1]) // 1 printfn "%d" (Seq.reduce (*) [1..5]) // 120 printfn "%d" (Seq.reduce (*) [1..10]) // 3628800 printfn "...
Reduce Fails Silently Reduce Fails Silently f%23 Reduce Fails Silently Seq.reduce Reduce Fails Silently I am seeing some strange behavior when using Seq.reduce as follows: The last example is failing to compute the product (probably due to overflow), but for some reason is still returning 0. It seems like this should t...
[ -0.006072998046875, 0.0038604736328125, 0.01220703125, 0.0242919921875, -0.0115966796875, -0.01153564453125, -0.010009765625, -0.002960205078125, 0.00958251953125, 0.013916015625, 0.0107421875, 0.0150146484375, 0.0145263671875, 0.00173187255859375, 0.0274658203125, -0.0020294189453125,...
[ 853, 106357, 190355, 602, 22042, 1238, 3742, 503, 864, 107, 86681, 114453, 123166, 17368, 28960, 4568, 27781, 35782, 214, 9969, 6743, 12996, 645, 118664, 1284, 31635, 7464, 30646, 757, 37202, 5608, 104250, 131527 ]
[ 0.1361083984375, 0.252685546875, 0.190673828125, 0.09625244140625, 0.1561279296875, 0.004241943359375, 0.075439453125, 0.071044921875, 0.15185546875, 0.139404296875, 0.0274810791015625, 0.10064697265625, 0.10369873046875, 0.06378173828125, 0.005767822265625, 0.1109619140625, 0.153198...
embed
24730345_c0
24730345
fsharp
0
Title: (F#) Using MathNet.Numerics in Visual Studio Professional 2013 Problem title: (F#) Using MathNet.Numerics in Visual Studio Professional 2013 Tags: f%23 Problem: (F#) Using MathNet.Numerics in Visual Studio Professional 2013 I'm trying to use MathNet.Numerics in an F# project, and I can't seem to add it as a depe...
(F#) Using MathNet.Numerics in Visual Studio Professional 2013 (F#) Using MathNet.Numerics in Visual Studio Professional 2013 f%23 Using MathNet.Numerics Visual Studio Professional (F#) Using MathNet.Numerics in Visual Studio Professional 2013 I'm trying to use MathNet.Numerics in an F# project, and I can't seem to add...
[ -0.01153564453125, 0.03173828125, -0.004608154296875, -0.01806640625, 0.0021514892578125, 0.0224609375, 0.00714111328125, 0.01422119140625, -0.01220703125, -0.01214599609375, -0.0103759765625, 0.018798828125, -0.00189208984375, -0.009033203125, 0.01446533203125, 0.0162353515625, 0.00...
[ 919, 4904, 345, 6953, 78804, 24447, 5, 18444, 1991, 28021, 73372, 22968, 61928, 1210, 23, 1238, 31577, 4527, 563, 13452, 831, 48903, 15190, 237, 42548, 12662, 4588, 1429, 724, 126, 56607, 52467, 20600, 442, 18, 47, 759, 215996, 24018, 150...
[ 0.08837890625, 0.152099609375, 0.052398681640625, 0.03594970703125, 0.19873046875, 0.259521484375, 0.049163818359375, 0.11962890625, 0.14501953125, 0.1513671875, 0.160400390625, 0.1676025390625, 0.18505859375, 0.204833984375, 0.015594482421875, 0.007568359375, 0.027069091796875, 0....
embed
37993614_c1
37993614
fsharp
1
003203978402; 0.00536615421; 0.01101343569; 0.08259161954; 0.4533619823; 1.278445928; 2.706467538; 4.927399755; 11.41095162; 894.4234507|] What I trying to do is printing these values like 0.0; 0.003203978402; 0.00536615421; 0.01101343569; 0.08259161954; 0.4533619823; 1.278445928; 2.706467538; 4.927399755; 11.41095162;...
003203978402; 0.00536615421; 0.01101343569; 0.08259161954; 0.4533619823; 1.278445928; 2.706467538; 4.927399755; 11.41095162; 894.4234507|] What I trying to do is printing these values like 0.0; 0.003203978402; 0.00536615421; 0.01101343569; 0.08259161954; 0.4533619823; 1.278445928; 2.706467538; 4.927399755; 11.41095162;...
[ -0.01385498046875, -0.01507568359375, 0.00157928466796875, 0.005462646484375, 0.0045166015625, 0.005157470703125, 0.02001953125, 0.018310546875, -0.000614166259765625, 0.025146484375, -0.00897216796875, 0.00130462646484375, 0.003997802734375, -0.01177978515625, -0.0128173828125, 0.0166...
[ 7227, 76531, 9323, 157054, 9550, 74, 89678, 8194, 110144, 132363, 3117, 36053, 2681, 123141, 14212, 12012, 12975, 2485, 191664, 154043, 8659, 159027, 34635, 170290, 3882, 5757, 6873, 10991, 159353, 4541, 8894, 11703, 10837, 17853, 180874, 3742, ...
[ 0.13671875, 0.173828125, 0.1070556640625, 0.1546630859375, 0.2078857421875, 0.09344482421875, 0.2998046875, 0.0638427734375, 0.121826171875, 0.056732177734375, 0.09783935546875, 0.07672119140625, 0.00262451171875, 0.11572265625, 0.1102294921875, 0.03912353515625, 0.0478515625, 0.02...
embed
23013130_c0
23013130
fsharp
0
Title: F# XML Type Provider - Using an XSD Problem title: F# XML Type Provider - Using an XSD Tags: xml, f%23-data, type-providers, f%23 Problem: F# XML Type Provider - Using an XSD I am probably missing the boat here, but how can you build a reusable tool that uses the XML Type Provider if the XML you are giving to XM...
F# XML Type Provider - Using an XSD F# XML Type Provider - Using an XSD xml f%23-data type-providers f%23 XML Type Provider Using XSD F# XML Type Provider - Using an XSD I am probably missing the boat here, but how can you build a reusable tool that uses the XML Type Provider if the XML you are giving to XMLProvider do...
[ 0.0189208984375, 0.031494140625, -0.0038909912109375, 0.000335693359375, 0.0020904541015625, 0.0167236328125, -0.0081787109375, 0.00640869140625, -0.0118408203125, -0.0303955078125, 0.01470947265625, -0.006988525390625, 0.006683349609375, -0.00897216796875, 0.00897216796875, 0.00588989...
[ 563, 4904, 92537, 60457, 123089, 42, 345, 6953, 1193, 22916, 131492, 1238, 27495, 10135, 10644, 93136, 14202, 3742, 132283, 139098, 3642, 831, 45367, 456, 223, 2886, 55516, 4527, 2174, 68772, 177997, 62160, 22027, 18, 756, 7722, 80854, 3917, ...
[ 0.06512451171875, 0.1929931640625, 0.2359619140625, 0.2216796875, 0.1588134765625, 0.0970458984375, 0.09014892578125, 0.04248046875, 0.134033203125, 0.221923828125, 0.19921875, 0.0166473388671875, 0.0408935546875, 0.046356201171875, 0.1612548828125, 0.129150390625, 0.011627197265625,...
embed
51033390_c1
51033390
fsharp
1
1/23/2004 12:00:00 AM); (1/26/2004 12:00:00 AM);(1/27/2004 12:00:00 AM); (1/28/2004 12:00:00 AM);(1/29/2004 12:00:00 AM); (1/30/2004 12:00:00 AM);(2/2/2004 12:00:00 AM)] Dataset continues on. Too large to paste here. EDITED: let data = Datacsv.GetSample().Rows |> Seq.map (fun ((yr,mon),(name,price)) For (name,price) on...
1/23/2004 12:00:00 AM); (1/26/2004 12:00:00 AM);(1/27/2004 12:00:00 AM); (1/28/2004 12:00:00 AM);(1/29/2004 12:00:00 AM); (1/30/2004 12:00:00 AM);(2/2/2004 12:00:00 AM)] Dataset continues on. Too large to paste here. EDITED: let data = Datacsv.GetSample().Rows |> Seq.map (fun ((yr,mon),(name,price)) For (name,price) on...
[ 0.0186767578125, 0.0277099609375, 0.01806640625, 0.03857421875, -0.00799560546875, 0.00066375732421875, -0.008056640625, 0.027099609375, 0.005889892578125, -0.00946044921875, -0.011962890625, 0.01123046875, 0.01092529296875, 0.00244140625, 0.0027618408203125, -0.0020599365234375, -0....
[ 94214, 40008, 9677, 11809, 3509, 136622, 98, 56374, 21334, 71099, 172864, 2633, 2053, 4439, 334, 126, 5464, 33209, 12724, 19725, 503, 864, 62346, 16498, 12271, 3796, 11627, 5293, 329, 70, 4568, 15555, 18499, 2994, 39, 71713, 18190, 6644, 17...
[ 0.1431884765625, 0.050048828125, 0.0318603515625, 0.1365966796875, 0.1907958984375, 0.1553955078125, 0.14990234375, 0.0018310546875, 0.062744140625, 0.0970458984375, 0.00531005859375, 0.008026123046875, 0.122802734375, 0.055999755859375, 0.21240234375, 0.0142669677734375, 0.098266601...
embed
25587429_c0
25587429
fsharp
0
Title: Where is the source code of F# 3.1.2? Problem title: Where is the source code of F# 3.1.2? Tags: f%23-3.1, f%23 Problem: Where is the source code of F# 3.1.2? I'm trying to build F# myself, the official instructions include cloning the repo: git clone https://github.com/fsharp/fsharp . But if you look at the mas...
Where is the source code of F# 3.1.2? Where is the source code of F# 3.1.2? f%23-3.1 f%23 Where github.com Where is the source code of F# 3.1.2? I'm trying to build F# myself, the official instructions include cloning the repo: git clone https://github.com/fsharp/fsharp . But if you look at the master branch of the rep...
[ 0.0032806396484375, 0.024169921875, 0.009521484375, 0.005340576171875, -0.0146484375, 0.01409912109375, 0.000362396240234375, 0.002410888671875, -0.001434326171875, -0.005767822265625, 0.0050048828125, -0.049560546875, 0.001495361328125, 0.00616455078125, 0.01708984375, 0.0098876953125...
[ 78662, 83, 31344, 18151, 111, 563, 4904, 1031, 48400, 32, 1238, 27495, 97109, 3742, 62270, 32102, 277, 70, 31577, 45367, 35978, 51521, 167934, 20450, 93392, 86, 15769, 420, 89280, 254, 31347, 32845, 206, 442, 7464, 11389, 138, 83783, 2588, ...
[ 0.1229248046875, 0.089111328125, 0.245849609375, 0.248779296875, 0.019073486328125, 0.1622314453125, 0.2476806640625, 0.189697265625, 0.310302734375, 0.0010986328125, 0.1412353515625, 0.0850830078125, 0.18798828125, 0.0921630859375, 0.1654052734375, 0.234619140625, 0.1363525390625, ...
embed
35898011_c0
35898011
fsharp
0
Title: Declaring, but not defining F# classes Problem title: Declaring, but not defining F# classes Tags: circular-dependency, class, definition, f%23 Problem: Declaring, but not defining F# classes Is there a way in F# to declare a class, but not define it like in C# or C++ or Java, or pretty much any other language, ...
Declaring, but not defining F# classes Declaring, but not defining F# classes circular-dependency class definition f%23 Declaring Type1 Type2 Declaring, but not defining F# classes Is there a way in F# to declare a class, but not define it like in C# or C++ or Java, or pretty much any other language, so that we can avo...
[ 0.01806640625, 0.01019287109375, -0.0185546875, 0.0166015625, -0.0157470703125, 0.005645751953125, -0.00189208984375, -0.0150146484375, -0.000431060791015625, 0.03955078125, -0.00897216796875, -0.0123291015625, -0.020751953125, 0.0133056640625, 0.016357421875, 0.0123291015625, 0.0009...
[ 25755, 320, 214, 1284, 959, 13204, 449, 563, 4904, 61112, 115339, 105254, 33, 18507, 80934, 1238, 3742, 60457, 418, 304, 2685, 10, 3917, 23, 47, 159978, 61924, 442, 1884, 37223, 41925, 46876, 71864, 4527, 70, 136, 166117, 6626, 180663, 69...
[ 0.08758544921875, 0.125, 0.0086669921875, 0.132568359375, 0.15283203125, 0.189208984375, 0.0023193359375, 0.1358642578125, 0.1949462890625, 0.1778564453125, 0.1661376953125, 0.1307373046875, 0.0338134765625, 0.227294921875, 0.1627197265625, 0.07977294921875, 0.09564208984375, 0.129...
embed
79232997_c0
79232997
fsharp
0
Title: F# FSharp.Core WebExtensions Module Problem title: F# FSharp.Core WebExtensions Module Tags: f%23 Problem: F# FSharp.Core WebExtensions Module If I get it right, the examples in FSharp.Core WebExtensions Module use obsolete classes like WebRequest and WebClient and should be using HttpClient instead. https://fsh...
F# FSharp.Core WebExtensions Module F# FSharp.Core WebExtensions Module f%23 FSharp.Core WebExtensions Module WebRequest WebClient HttpClient F# FSharp.Core WebExtensions Module If I get it right, the examples in FSharp.Core WebExtensions Module use obsolete classes like WebRequest and WebClient and should be using Htt...
[ -0.0123291015625, 0.027587890625, -0.0033111572265625, 0.0159912109375, -0.0107421875, 0.0224609375, -0.0247802734375, 0.0033111572265625, -0.004852294921875, -0.00153350830078125, 0.016845703125, 0.003448486328125, 0.0068359375, -0.00494384765625, 0.0189208984375, 0.0052490234375, 0...
[ 563, 4904, 93774, 3467, 254, 50886, 4002, 19279, 128872, 63014, 1238, 3742, 4332, 75616, 150, 2517, 572, 3062, 441, 7108, 27781, 13, 4527, 228908, 61112, 1884, 136, 5608, 17368, 64457, 420, 89280, 32102, 30854, 239879, 81988, 14051, 3355, 2...
[ 0.05987548828125, 0.115966796875, 0.08740234375, 0.1895751953125, 0.1741943359375, 0.1256103515625, 0.116943359375, 0.070556640625, 0.186767578125, 0.1427001953125, 0.01593017578125, 0.0792236328125, 0.0941162109375, 0.16357421875, 0.2061767578125, 0.1712646484375, 0.0814208984375, ...
embed
68873047_c0
68873047
fsharp
0
Title: Streaming Server-Sent Events (SSE) in F# Problem title: Streaming Server-Sent Events (SSE) in F# Tags: .net-4.8, f%23, server-sent-events Problem: Streaming Server-Sent Events (SSE) in F# What is a lightweight way to stream "server-sent events (SSE) style" events to the front-end in F#, using the System.Net.Http...
Streaming Server-Sent Events (SSE) in F# Streaming Server-Sent Events (SSE) in F# .net-4.8 f%23 server-sent-events Streaming Server-Sent Events SSE net-4.8 Streaming Server-Sent Events (SSE) in F# What is a lightweight way to stream "server-sent events (SSE) style" events to the front-end in F#, using the System.Net.Ht...
[ 0, 0.01416015625, 0.014404296875, -0.01129150390625, -0.002716064453125, -0.0211181640625, 0.000652313232421875, 0.016357421875, -0.004913330078125, -0.0062255859375, 0.0164794921875, 0.018310546875, 0.0150146484375, 0.040283203125, 0.01171875, 0.004974365234375, 0.007476806640625, ...
[ 163274, 22687, 9, 294, 2517, 123560, 101666, 23, 563, 4904, 1179, 11565, 1019, 1238, 3742, 10723, 12832, 90141, 2043, 22729, 165598, 3917, 47, 75973, 39642, 47353, 20623, 12912, 3611, 12353, 24447, 841, 3062, 35773, 28219, 36943, 9384, 47302,...
[ 0.22607421875, 0.1851806640625, 0.01324462890625, 0.0992431640625, 0.166748046875, 0.2117919921875, 0.2391357421875, 0.0325927734375, 0.1458740234375, 0.2056884765625, 0.09930419921875, 0.045928955078125, 0.1373291015625, 0.0079345703125, 0.0274810791015625, 0.18505859375, 0.16442871...
embed
75299978_c1
75299978
fsharp
1
F# function to add to Event OnPacketArrival . Pls help me workaround it, Thank you! I want make this line pass the F# compiler: device.OnPacketArrival.Add(new_package) In c# it used in this way: device.OnPacketArrival += new_package [FS0412] A type instantiation involves a byref type. This is not permitted by the rule...
F# function to add to Event OnPacketArrival . Pls help me workaround it, Thank you! I want make this line pass the F# compiler: device.OnPacketArrival.Add(new_package) In c# it used in this way: device.OnPacketArrival += new_package [FS0412] A type instantiation involves a byref type. This is not permitted by the rule...
[ -0.01214599609375, 0.007293701171875, 0.0015411376953125, 0.02392578125, -0.00811767578125, 0.0096435546875, 0.01519775390625, -0.01611328125, 0.0014495849609375, -0.02880859375, 0.0036773681640625, -0.030517578125, -0.01287841796875, -0.0096435546875, 0.0078125, -0.0205078125, -0.00...
[ 563, 4904, 32354, 47, 15190, 36943, 2161, 205956, 126, 7614, 416, 1405, 4358, 4488, 67688, 3249, 13315, 27875, 9969, 34759, 75186, 20320, 284, 4028, 54936, 29102, 501, 11814, 3917, 997, 3525, 36381, 7709, 1530, 10644, 34648, 14, 2320, 83687...
[ 0.1234130859375, 0.200927734375, 0.2158203125, 0.059234619140625, 0.2091064453125, 0.229736328125, 0.2078857421875, 0.215087890625, 0.10272216796875, 0.126953125, 0.1749267578125, 0.1898193359375, 0.004913330078125, 0.019134521484375, 0.09039306640625, 0.025909423828125, 0.0964355468...
embed
56068568_c0
56068568
fsharp
0
Title: Is there a way to create a Menu with multiple choices using f# ? Through passing commands Problem title: Is there a way to create a Menu with multiple choices using f# ? Through passing commands Tags: f%23, f%23-interactive Problem: Is there a way to create a Menu with multiple choices using f# ? Through passing...
Is there a way to create a Menu with multiple choices using f# ? Through passing commands Is there a way to create a Menu with multiple choices using f# ? Through passing commands f%23 f%23-interactive f# Menu Through Is there a way to create a Menu with multiple choices using f# ? Through passing commands I'm new to F...
[ -0.01312255859375, -0.0021514892578125, 0.01312255859375, 0.029052734375, -0.0067138671875, -0.00799560546875, -0.00034332275390625, -0.0034942626953125, 0.01239013671875, -0.0196533203125, 0.004608154296875, 0.001861572265625, 0.01556396484375, 0.0179443359375, -0.00146484375, -0.0040...
[ 2071, 2685, 10, 3917, 28282, 49434, 678, 48716, 44126, 7, 17368, 1238, 4904, 705, 194397, 452, 6953, 75101, 47, 3742, 27495, 10433, 71232, 3525, 563, 82424, 105233, 29479, 1528, 552, 6238, 7413, 4785, 34844, 3095, 2499, 765, 8026, 26458, ...
[ 0.0232391357421875, 0.03167724609375, 0.056549072265625, 0.0994873046875, 0.15869140625, 0.279296875, 0.0743408203125, 0.22509765625, 0.201904296875, 0.08544921875, 0.076904296875, 0.1212158203125, 0.1942138671875, 0.001312255859375, 0.11767578125, 0.0772705078125, 0.07623291015625, ...
embed
18815210_c0
18815210
fsharp
0
Title: Does using single-case discriminated union types have implications on performance? Problem title: Does using single-case discriminated union types have implications on performance? Tags: f%23, variant Problem: Does using single-case discriminated union types have implications on performance? It is nice to have a...
Does using single-case discriminated union types have implications on performance? Does using single-case discriminated union types have implications on performance? f%23 variant single-case Does Does using single-case discriminated union types have implications on performance? It is nice to have a wrapper for every pr...
[ -0.00787353515625, 0.001861572265625, -0.0084228515625, -0.0062255859375, -0.023193359375, -0.0186767578125, -0.0242919921875, -0.00286865234375, 0.007293701171875, -0.0230712890625, 0.018798828125, -0.0004215240478515625, -0.0028839111328125, -0.0031280517578125, -0.002288818359375, 0...
[ 17368, 11001, 58437, 55970, 3674, 69941, 52895, 17914, 5256, 23718, 1238, 3949, 3742, 20117, 98, 83, 26267, 765, 137565, 1264, 11907, 128489, 34292, 4032, 92610, 50080, 27167, 36069, 4527, 3059, 142424 ]
[ 0.07177734375, 0.1378173828125, 0.1719970703125, 0.1885986328125, 0.03790283203125, 0.2056884765625, 0.2059326171875, 0.164794921875, 0.082763671875, 0.181396484375, 0.0241241455078125, 0.0149078369140625, 0.1412353515625, 0.18408203125, 0.0232696533203125, 0.010467529296875, 0.06689...
embed
44742019_c0
44742019
fsharp
0
Title: Why is &quot;_&quot; used in active pattern? Problem title: Why is &quot;_&quot; used in active pattern? Tags: f%23 Problem: Why is "_" used in active pattern? From this link I see that they use an "_" in active pattern. let (|Int|_|) str = match System.Int32.TryParse(str) with | (true,int) -> Some(int) | _ -> N...
Why is &quot;_&quot; used in active pattern? Why is &quot;_&quot; used in active pattern? f%23 Why System.Int32.TryParse Some None Even Odd Why is "_" used in active pattern? From this link I see that they use an "_" in active pattern. When I look at an example from a different link I don't see the underscore. What is ...
[ -0.0023651123046875, 0.01190185546875, 0.005615234375, 0.0205078125, -0.03271484375, 0.026123046875, -0.0045166015625, 0.01318359375, 0.0128173828125, 0.026123046875, 0.033447265625, -0.0157470703125, 0.003448486328125, 0.025634765625, 0.00762939453125, 0.00408935546875, 0.0192871093...
[ 44084, 41502, 454, 1230, 11814, 23, 36457, 103510, 1238, 3742, 12353, 18, 6460, 1294, 28636, 184, 31384, 438, 86, 31267, 67948, 83, 58, 4527, 142, 27781, 3126, 1379, 30854, 70, 60212, 208124 ]
[ 0.116455078125, 0.08551025390625, 0.1634521484375, 0.07037353515625, 0.1160888671875, 0.0684814453125, 0.2071533203125, 0.2017822265625, 0.0089111328125, 0.0296630859375, 0.045501708984375, 0.004425048828125, 0.136474609375, 0.0634765625, 0.0906982421875, 0.062255859375, 0.0223541259...
embed
11250347_c0
11250347
fsharp
0
Title: What is the difference between the generic signifier &#x27; and the symbol ^ In F# method signatures Problem title: What is the difference between the generic signifier &#x27; and the symbol ^ In F# method signatures Tags: f%23, generics, method-signature Problem: What is the difference between the generic signi...
What is the difference between the generic signifier &#x27; and the symbol ^ In F# method signatures What is the difference between the generic signifier &#x27; and the symbol ^ In F# method signatures f%23 generics method-signature What Seq.append Seq.average What is the difference between the generic signifier ' and ...
[ 0.01806640625, 0.0093994140625, -0.000736236572265625, -0.0057373046875, 0.003753662109375, 0.0118408203125, -0.006927490234375, 0.01904296875, 0.003021240234375, 0.00048065185546875, -0.005950927734375, -0.03173828125, -0.005584716796875, 0.0087890625, -0.030517578125, 0.0030059814453...
[ 4865, 70, 60212, 17721, 189534, 101717, 56, 3768, 74, 136, 26582, 563, 4904, 55300, 138256, 54764, 1238, 137432, 864, 8216, 29838, 242, 28219, 1053, 2594, 47, 24092, 40383, 171859, 2367, 14602, 517, 18, 23 ]
[ 0.007598876953125, 0.0283660888671875, 0.1864013671875, 0.09625244140625, 0.221923828125, 0.216064453125, 0.14111328125, 0.0748291015625, 0.021942138671875, 0.0687255859375, 0.2342529296875, 0.0657958984375, 0.142578125, 0.136962890625, 0.142578125, 0.008209228515625, 0.0157623291015...
embed
46875644_c0
46875644
fsharp
0
Title: F# Calculate function that based on previous value of Sequence Problem title: F# Calculate function that based on previous value of Sequence Tags: f%23 Problem: F# Calculate function that based on previous value of Sequence I want to get new seq that contains value calculated (x i -x i-1 )/x i-1 . How to do that...
F# Calculate function that based on previous value of Sequence F# Calculate function that based on previous value of Sequence f%23 Calculate Sequence GAZP Seq.skip Seq.map F# Calculate function that based on previous value of Sequence I want to get new seq that contains value calculated (x i -x i-1 )/x i-1 . How to do ...
[ 0.00830078125, 0.021484375, -0.0120849609375, 0.01116943359375, -0.0048828125, -0.00384521484375, 0.0126953125, -0.00144195556640625, 0.028076171875, -0.00933837890625, -0.0028839111328125, 0.0027008056640625, -0.004425048828125, 0.0157470703125, 0.017822265625, 0.01513671875, -0.005...
[ 563, 4904, 212467, 2182, 32354, 450, 35509, 98, 96362, 34292, 111, 503, 944, 3956, 1238, 3949, 3742, 151822, 683, 864, 44024, 62346, 3444, 2046, 3525, 40, 70541, 74481, 3674, 425, 17, 20, 5759, 64, 11249, 54, 15490, 100, 63805 ]
[ 0.124755859375, 0.2120361328125, 0.2437744140625, 0.13720703125, 0.2171630859375, 0.0928955078125, 0.166748046875, 0.1063232421875, 0.1822509765625, 0.1832275390625, 0.0284881591796875, 0.12109375, 0.16064453125, 0.0819091796875, 0.1124267578125, 0.034332275390625, 0.124267578125, ...
embed
30170714_c1
30170714
fsharp
1
implement the member method within the type is the most simple, intrinsic way: type Square2 (width: float, length: float) = member this.area = width * length member this.perimeter = (width + length) * 2. (This is almost identical with my original Square type -- this Square2 only saves seveal this. prefix as in this.wi...
implement the member method within the type is the most simple, intrinsic way: type Square2 (width: float, length: float) = member this.area = width * length member this.perimeter = (width + length) * 2. (This is almost identical with my original Square type -- this Square2 only saves seveal this. prefix as in this.wi...
[ 0.0038604736328125, -0.0072021484375, -0.00244140625, 0.0172119140625, -0.000461578369140625, -0.014892578125, -0.0142822265625, 0.0120849609375, 0.0186767578125, 0.01055908203125, -0.0096435546875, 0.0216064453125, 0.016845703125, -0.0135498046875, -0.01190185546875, -0.01116943359375...
[ 29479, 32786, 55300, 28032, 10644, 83, 70, 2684, 8781, 9407, 73, 27744, 3917, 68305, 304, 146984, 21917, 257, 140909, 2203, 903, 3464, 17152, 29089, 997, 787, 39555, 31943, 7311, 4734, 30098, 40, 272, 289, 183114, 23986, 16, 563, 4904, 32...
[ 0.2135009765625, 0.293701171875, 0.197509765625, 0.17724609375, 0.261962890625, 0.01263427734375, 0.000457763671875, 0.0784912109375, 0.1361083984375, 0.039764404296875, 0.0567626953125, 0.07928466796875, 0.0823974609375, 0.249755859375, 0.232421875, 0.1824951171875, 0.167236328125, ...
embed
65886563_c0
65886563
fsharp
0
Title: Derive functions with interface - F# Problem title: Derive functions with interface - F# Tags: calculator, f%23, interface Problem: Derive functions with interface - F# I'm new to F# and I'm trying to implement a little calculator with these interfaces... But I'm struggling with the derive part as soon as i get ...
Derive functions with interface - F# Derive functions with interface - F# calculator f%23 interface Derive IFunction ToString Unit Apply Nat Derive functions with interface - F# I'm new to F# and I'm trying to implement a little calculator with these interfaces... But I'm struggling with the derive part as soon as i ge...
[ 0.0167236328125, -0.01153564453125, -0.01165771484375, 0.017822265625, -0.0078125, -0.0185546875, 0.025634765625, 0.0008392333984375, 0.000934600830078125, -0.01165771484375, 0.00677490234375, 0.00921630859375, -0.01141357421875, 0.002655029296875, 0.005218505859375, -0.005279541015625...
[ 1310, 5844, 32354, 7, 678, 101758, 20, 563, 4904, 154993, 1238, 3949, 3742, 87, 97249, 10763, 717, 71713, 214, 46640, 5659, 538, 68875, 3525, 47, 31577, 29479, 10, 10176, 6097, 27, 4966, 237875, 122, 2831, 237, 33662, 2046, 454, 11, 402...
[ 0.179931640625, 0.209228515625, 0.2108154296875, 0.037811279296875, 0.143798828125, 0.26171875, 0.0103759765625, 0.1524658203125, 0.226806640625, 0.2376708984375, 0.141845703125, 0.106689453125, 0.197998046875, 0.05908203125, 0.1724853515625, 0.011871337890625, 0.168701171875, 0.18...
embed
14781709_c0
14781709
fsharp
0
Title: Fsharp ASP mvc 4 project in monoDevelop 3.0.3.2 -&gt; error AspNetMvc3&#x27; not found Problem title: Fsharp ASP mvc 4 project in monoDevelop 3.0.3.2 -&gt; error AspNetMvc3&#x27; not found Tags: f%23, monodevelop Problem: Fsharp ASP mvc 4 project in monoDevelop 3.0.3.2 -> error AspNetMvc3' not found I just insta...
Fsharp ASP mvc 4 project in monoDevelop 3.0.3.2 -&gt; error AspNetMvc3&#x27; not found Fsharp ASP mvc 4 project in monoDevelop 3.0.3.2 -&gt; error AspNetMvc3&#x27; not found f%23 monodevelop Fsharp ASP AspNetMvc3 Fsharp ASP mvc 4 project in monoDevelop 3.0.3.2 -> error AspNetMvc3' not found I just installed the fSharp ...
[ -0.03271484375, 0.0341796875, -0.0245361328125, -0.0120849609375, 0.0037689208984375, -0.0216064453125, -0.0108642578125, 0.00860595703125, -0.0142822265625, -0.01263427734375, -0.0037384033203125, -0.0281982421875, 0.007781982421875, 0.0021209716796875, 0.0245361328125, 0.003845214843...
[ 563, 89280, 254, 147153, 66357, 201, 13452, 22460, 4657, 2601, 2146, 17596, 107033, 18499, 1301, 24447, 594, 363, 3768, 959, 14037, 1238, 229815, 347, 5, 20600, 40798, 10681, 46876, 128239, 31577, 28282, 77879, 12353, 7013, 156823, 63928, 273...
[ 0.088134765625, 0.1959228515625, 0.1055908203125, 0.19140625, 0.178466796875, 0.1590576171875, 0.1309814453125, 0.126708984375, 0.01995849609375, 0.09515380859375, 0.08349609375, 0.11572265625, 0.1732177734375, 0.121337890625, 0.0697021484375, 0.1837158203125, 0.02197265625, 0.1470...
embed
3563772_c0
3563772
fsharp
0
Title: Good readable testnames in c# Problem title: Good readable testnames in c# Tags: naming, c%23, unit-testing, f%23 Problem: Good readable testnames in c# I read in FsUnit that the following are valid method/classnames in F#: [<TestFixture>] type ``Given a LightBulb that has had its state set to true`` ()= let lig...
Good readable testnames in c# Good readable testnames in c# naming c%23 unit-testing f%23 Good TestFixture Given LightBulb Test lightBulb.On Good readable testnames in c# I read in FsUnit that the following are valid method/classnames in F#: Is there a way to have method or classnames like this in c#?
[ 0.02783203125, 0.00052642822265625, 0.00714111328125, -0.01446533203125, 0, -0.0054931640625, 0.0286865234375, -0.00133514404296875, -0.0008544921875, 0.0096435546875, 0.0023040771484375, 0.003448486328125, -0.0198974609375, 0.0013275146484375, 0.003173828125, 0.008544921875, -0.0137...
[ 18621, 12301, 2886, 3034, 11627, 7, 23, 501, 4904, 147453, 3742, 25072, 6954, 1238, 3949, 8647, 6159, 425, 77878, 30948, 7235, 48543, 22729, 20320, 563, 85600, 70, 25632, 35604, 55300, 64, 67413, 2071, 2685, 10, 3917, 765, 707, 18507, 188...
[ 0.14453125, 0.19140625, 0.172119140625, 0.2159423828125, 0.2091064453125, 0.038330078125, 0.0533447265625, 0.0626220703125, 0.2027587890625, 0.1536865234375, 0.10552978515625, 0.161865234375, 0.1815185546875, 0.0877685546875, 0.00323486328125, 0.2044677734375, 0.0751953125, 0.02001...
embed
40448757_c0
40448757
fsharp
0
Title: Why can&#x27;t types be declared inside functions in F#? Problem title: Why can&#x27;t types be declared inside functions in F#? Tags: f%23, types Problem: Why can't types be declared inside functions in F#? I was reading this guide to types in F# . It says that: Types cannot be declared inside functions. And gi...
Why can&#x27;t types be declared inside functions in F#? Why can&#x27;t types be declared inside functions in F#? f%23 types Why Why can't types be declared inside functions in F#? I was reading this guide to types in F# . It says that: And gives some example code: It seems that if the type were only used inside the fu...
[ 0.01031494140625, 0.004669189453125, -0.005523681640625, -0.0162353515625, -0.00921630859375, -0.0177001953125, -0.0026092529296875, 0.000934600830078125, -0.00799560546875, -0.000640869140625, -0.0032806396484375, -0.00341796875, -0.0068359375, -0.00011730194091796875, 0.0247802734375, ...
[ 44084, 831, 3768, 18, 52895, 159978, 71, 46132, 32354, 563, 4904, 1238, 3742, 186, 23, 17997, 27781, 18151, 10644, 4734, 11814, 959, 176377, 2967, 7722 ]
[ 0.0797119140625, 0.091796875, 0.0177154541015625, 0.086669921875, 0.2410888671875, 0.177734375, 0.0245513916015625, 0.1513671875, 0.162109375, 0.0928955078125, 0.16943359375, 0.03656005859375, 0.0180816650390625, 0.014801025390625, 0.0197601318359375, 0.00390625, 0.037261962890625, ...
embed
26771631_c2
26771631
fsharp
2
let rec Cx pointList = match (List.length pointList) with | 0 -> 0.0 | _ -> let (p1,p2,newList) = TakeFirst2ItemInList Code signals: F#, Centroid, Private, Find_Centroid_And_Area, ByVal, List, Point2D, AreaCentroid, Dim, Try, Double, Single, Nothing, Integer, List.Count, Select, Case, End, P2.X, P1.X, P2.Y, P1.Y, Next...
let rec Cx pointList = match (List.length pointList) with | 0 -> 0.0 | _ -> let (p1,p2,newList) = TakeFirst2ItemInList Code signals: F#, Centroid, Private, Find_Centroid_And_Area, ByVal, List, Point2D, AreaCentroid, Dim, Try, Double, Single, Nothing, Integer, List.Count, Select, Case, End, P2.X, P1.X, P2.Y, P1.Y, Next...
[ 0.002593994140625, -0.0057373046875, 0.017578125, 0.018798828125, -0.001251220703125, -0.0023193359375, 0.007720947265625, 0.0159912109375, 0.0260009765625, 0.01336669921875, 0.0120849609375, -0.0037841796875, 0.002471923828125, -0.004730224609375, -0.0003032684326171875, -0.0006446838...
[ 2633, 21954, 313, 425, 6275, 154663, 2203, 14858, 23986, 678, 6, 757, 33079, 89678, 254, 418, 304, 54936, 46673, 207263, 2982, 4153, 28864, 26073, 7, 12, 563, 4904, 13443, 532, 86111, 26040, 59441, 48899, 37839, 1283, 3311, 42272, 32036, ...
[ 0.1822509765625, 0.234619140625, 0.110107421875, 0.260498046875, 0.205810546875, 0.2451171875, 0.05987548828125, 0.1640625, 0.0587158203125, 0.04345703125, 0.0142669677734375, 0.101318359375, 0.02838134765625, 0.1690673828125, 0.04534912109375, 0.0352783203125, 0.1739501953125, 0.0...
embed
65298640_c0
65298640
fsharp
0
Title: F#&#x27;s auto generalization didnt work as expected Problem title: F#&#x27;s auto generalization didnt work as expected Tags: f%23, type-inference Problem: F#'s auto generalization didnt work as expected consider the follow f# code let vl x= let tem y =(x,y) in tem in let a= vl 5 in Console.WriteLine((a "4",a 3...
F#&#x27;s auto generalization didnt work as expected F#&#x27;s auto generalization didnt work as expected f%23 type-inference Console.WriteLine F#'s auto generalization didnt work as expected consider the follow f# code where vl has the signature 'a -> 'b -> 'a * 'b so tem is 'b -> 'a * 'b but compiling the code produc...
[ -0.00482177734375, 0.00311279296875, -0.002899169921875, -0.005859375, -0.0014495849609375, -0.0034637451171875, -0.0118408203125, 0.002197265625, -0.00628662109375, -0.01104736328125, 0.00262451171875, -0.00823974609375, -0.0038604736328125, 0.01123046875, -0.0003032684326171875, -0.0...
[ 563, 4904, 3768, 1809, 4537, 47691, 18, 4488, 237, 84751, 1238, 3742, 10644, 73, 69988, 1657, 40777, 18781, 93232, 28960, 18151, 81, 141, 1556, 138256, 11, 33079, 661, 275, 1790, 83, 9969, 49725, 27489, 18499, 26008, 212059, 93774, 188735, ...
[ 0.116943359375, 0.2081298828125, 0.0748291015625, 0.210693359375, 0.1702880859375, 0.1220703125, 0.023162841796875, 0.0823974609375, 0.0333251953125, 0.1383056640625, 0.0726318359375, 0.06182861328125, 0.1373291015625, 0.011566162109375, 0.162841796875, 0.002349853515625, 0.112060546...
embed
60990043_c0
60990043
fsharp
0
Title: Pattern match DateTime.DayOfWeek F# Problem title: Pattern match DateTime.DayOfWeek F# Tags: pattern-matching, datetime, .net, f%23 Problem: Pattern match DateTime.DayOfWeek F# i want to extraxt the number of the day from DateTime.DayOfWeek match DateTime.Now.DayOfWeek with FSI output is something like: val it :...
Pattern match DateTime.DayOfWeek F# Pattern match DateTime.DayOfWeek F# pattern-matching datetime .net f%23 Pattern DateTime.DayOfWeek DateTime.Now.DayOfWeek DayOfWeek Thursday value__ Pattern match DateTime.DayOfWeek F# i want to extraxt the number of the day from DateTime.DayOfWeek match DateTime.Now.DayOfWeek with F...
[ -0.011962890625, -0.009033203125, 0.0194091796875, 0.0019683837890625, -0.006866455078125, -0.0057373046875, -0.005523681640625, 0.0274658203125, -0.00335693359375, -0.029541015625, 0.01116943359375, 0.01190185546875, -0.001861572265625, 0.0216064453125, 0.025146484375, -0.0185546875, ...
[ 9876, 22766, 14858, 25512, 70059, 97141, 132887, 12137, 343, 563, 4904, 103510, 98753, 214, 5622, 6032, 1179, 1238, 3742, 5, 137594, 10013, 103616, 34292, 17, 3444, 4173, 29062, 14012, 5155, 1295, 9902, 140992, 1884, 3502, 442, 27494, 201, ...
[ 0.15673828125, 0.143310546875, 0.19775390625, 0.125244140625, 0.2032470703125, 0.119384765625, 0.230224609375, 0.1873779296875, 0.1446533203125, 0.1097412109375, 0.1180419921875, 0.2022705078125, 0.1494140625, 0.0775146484375, 0.08026123046875, 0.1241455078125, 0.1209716796875, 0.0...
embed
7322635_c0
7322635
fsharp
0
Title: F# treating internal module as private Problem title: F# treating internal module as private Tags: .net, f%23, module, visibility Problem: F# treating internal module as private Any ideas why the following doesn’t compile? On the last line it tells me that Module1 is not defined. If I remove the “internal” from ...
F# treating internal module as private F# treating internal module as private .net f%23 module visibility Module1 Module2 sample2 Module1.sample F# treating internal module as private Any ideas why the following doesn’t compile? On the last line it tells me that Module1 is not defined. If I remove the “internal” from M...
[ -0.0019378662109375, 0.004364013671875, -0.0087890625, 0.0272216796875, 0.01263427734375, 0.025634765625, 0.00008153915405273438, -0.023193359375, -0.0167236328125, -0.0113525390625, 0.00148773193359375, 0.02099609375, 0.01043701171875, 0.0302734375, 0.030029296875, -0.025390625, -0....
[ 563, 4904, 85689, 70796, 88996, 237, 14375, 214, 1179, 1238, 3742, 108625, 63014, 418, 304, 121413, 33209, 25647, 15400, 25632, 22027, 18, 9969, 1340, 4568, 13315, 163, 13, 83, 959, 61924, 87388, 10433, 6236, 1295, 43240, 5885, 6626, 18151,...
[ 0.1246337890625, 0.2149658203125, 0.086181640625, 0.2059326171875, 0.19482421875, 0.059539794921875, 0.1871337890625, 0.008575439453125, 0.106201171875, 0.075439453125, 0.10394287109375, 0.1641845703125, 0.1632080078125, 0.1273193359375, 0.064453125, 0.1011962890625, 0.05120849609375...
embed
25465946_c0
25465946
fsharp
0
Title: Changing a Tuple element (sequence) to sequence length (int) Problem title: Changing a Tuple element (sequence) to sequence length (int) Tags: string, f%23, tuples, arrays Problem: Changing a Tuple element (sequence) to sequence length (int) I have this noob problem that im trying to fix but I cant I have an arr...
Changing a Tuple element (sequence) to sequence length (int) Changing a Tuple element (sequence) to sequence length (int) string f%23 tuples arrays Changing Tuple Seq.length Changing a Tuple element (sequence) to sequence length (int) I have this noob problem that im trying to fix but I cant I have an array of tuples i...
[ 0.00958251953125, 0.032958984375, -0.007659912109375, 0.048828125, 0.01239013671875, -0.00469970703125, 0.004669189453125, 0.0242919921875, 0.0208740234375, -0.00830078125, -0.0186767578125, 0.0238037109375, -0.0147705078125, 0.041748046875, 0.0194091796875, -0.00762939453125, 0.0049...
[ 108193, 214, 1371, 8705, 12830, 184, 944, 3956, 47, 40, 140909, 4288, 16, 79315, 1238, 3949, 3742, 370, 99726, 10298, 4778, 503, 864, 23986, 903, 110, 3522, 2967, 566, 31577, 30022, 45767, 765, 53, 111, 23, 3173, 32599, 96760, 70, 37842...
[ 0.2174072265625, 0.0906982421875, 0.1513671875, 0.2646484375, 0.1981201171875, 0.0943603515625, 0.163818359375, 0.1243896484375, 0.1295166015625, 0.10223388671875, 0.220947265625, 0.1883544921875, 0.00189208984375, 0.1693115234375, 0.083984375, 0.09454345703125, 0.1829833984375, 0....
embed
56364711_c1
56364711
fsharp
1
Row(matrix1, y), getColumn(matrix2, x))]] I was expecting the function to return a list of lists of type double list list However what it actually returns looks more like some kind of lambda expression ((int -> int list -> int list -> int) * double list * double list) list list Can somebody tell me what is being return...
Row(matrix1, y), getColumn(matrix2, x))]] I was expecting the function to return a list of lists of type double list list However what it actually returns looks more like some kind of lambda expression ((int -> int list -> int list -> int) * double list * double list) list list Can somebody tell me what is being return...
[ -0.00023746490478515625, 0.005523681640625, 0.006103515625, -0.009521484375, 0.006317138671875, 0.00787353515625, -0.00689697265625, 0.0030975341796875, 0.0211181640625, -0.0004749298095703125, 0.001922607421875, -0.005096435546875, -0.0118408203125, -0.0296630859375, -0.0172119140625, ...
[ 96190, 192, 87427, 418, 113, 2046, 78457, 316, 19, 304, 1022, 86245, 87, 509, 41206, 214, 32354, 30646, 5303, 111, 10644, 41929, 33306, 2367, 20653, 7, 33342, 1286, 1884, 8562, 21, 6492, 85, 125195, 4288, 23, 18, 4171, 176256, 14192, 83...
[ 0.22265625, 0.083251953125, 0.1502685546875, 0.06805419921875, 0.1396484375, 0.1214599609375, 0.106689453125, 0.16455078125, 0.07196044921875, 0.1290283203125, 0.09918212890625, 0.01300048828125, 0.00885009765625, 0.009979248046875, 0.12646484375, 0.03643798828125, 0.19482421875, 0...
embed
39759812_c0
39759812
fsharp
0
Title: How to use F# TypeProvider to read PowerBall csv? Problem title: How to use F# TypeProvider to read PowerBall csv? Tags: f%23-data, f%23 Problem: How to use F# TypeProvider to read PowerBall csv? The powerball schema and separators are not consistent which makes it an unusual file to read. ( http://www.powerball...
How to use F# TypeProvider to read PowerBall csv? How to use F# TypeProvider to read PowerBall csv? f%23-data f%23 How TypeProvider PowerBall Draw Date WB1 WB2 WB3 WB4 WB5 How to use F# TypeProvider to read PowerBall csv? The powerball schema and separators are not consistent which makes it an unusual file to read. ( h...
[ 0.025146484375, -0.00811767578125, 0.0023956298828125, 0.029052734375, -0.004241943359375, 0.0213623046875, 0.0084228515625, 0.01544189453125, -0.0029754638671875, -0.005859375, -0.02099609375, -0.0228271484375, 0.0196533203125, -0.003143310546875, 0.0030059814453125, -0.00640869140625...
[ 11249, 4527, 563, 4904, 60457, 177997, 62160, 12301, 17170, 571, 5584, 20763, 334, 47, 1238, 27495, 10135, 3742, 18186, 434, 25512, 135516, 418, 304, 363, 617, 758, 14537, 12126, 61903, 37451, 22230, 959, 74729, 225073, 11435, 62783, 9494, ...
[ 0.043487548828125, 0.09228515625, 0.1090087890625, 0.2091064453125, 0.210693359375, 0.1875, 0.1650390625, 0.1844482421875, 0.1839599609375, 0.13427734375, 0.1572265625, 0.144775390625, 0.2529296875, 0.048431396484375, 0.046783447265625, 0.048004150390625, 0.06134033203125, 0.056518...
embed
10096693_c0
10096693
fsharp
0
Title: Inherit from Seq Problem title: Inherit from Seq Tags: f%23 Problem: Inherit from Seq I want to create my own custom collection type. I define my collection as: type A(collection : seq<string>) = member this.Collection with get() = collection interface seq<string> with member this.GetEnumerator() = this.Collecti...
Inherit from Seq Inherit from Seq f%23 Seq Inherit this.Collection this.GetEnumerator this.Collection.GetEnumerator Collections.IEnumerable.GetEnumerator Inherit from Seq I want to create my own custom collection type. I define my collection as: But this doesn't compile No implementation was given for 'Collections.IEnu...
[ 0.0033416748046875, 0.0322265625, -0.007720947265625, 0.036865234375, -0.0111083984375, -0.0045166015625, 0.0059814453125, 0.0159912109375, -0.00106048583984375, -0.025634765625, 0.00189971923828125, 0.028076171875, 0.00628662109375, 0.0186767578125, 0.0003185272216796875, -0.007080078...
[ 360, 3334, 217, 1295, 503, 864, 1238, 3949, 3742, 903, 78457, 133, 10763, 724, 126, 2606, 56, 4597, 68220, 20441, 2886, 3444, 28282, 759, 10002, 114122, 42486, 10644, 61924, 237, 4966, 22027, 18, 9969, 1340, 438, 208124, 34475, 8996, 5256...
[ 0.1414794921875, 0.240966796875, 0.1842041015625, 0.191162109375, 0.1705322265625, 0.2435302734375, 0.073486328125, 0.047607421875, 0.1533203125, 0.1273193359375, 0.1051025390625, 0.108642578125, 0.04107666015625, 0.04541015625, 0.09527587890625, 0.184326171875, 0.1220703125, 0.153...
embed
20057826_c0
20057826
fsharp
0
Title: How is a statement like let Select = Seq.filter compiled to CIL? Problem title: How is a statement like let Select = Seq.filter compiled to CIL? Tags: inline, f%23, cil Problem: How is a statement like let Select = Seq.filter compiled to CIL? I wonder how a statement like let Select = Seq.filter is compiled into...
How is a statement like let Select = Seq.filter compiled to CIL? How is a statement like let Select = Seq.filter compiled to CIL? inline f%23 cil How Select Seq.filter CIL FS0832 Only How is a statement like let Select = Seq.filter compiled to CIL? I wonder how a statement like is compiled into CIL: Does the compiler i...
[ 0.009033203125, 0.0157470703125, 0.0037689208984375, 0.0101318359375, -0.01025390625, -0.01318359375, 0.0157470703125, 0.0022125244140625, -0.005340576171875, -0.005828857421875, -0.00823974609375, 0.0198974609375, -0.0263671875, 0.02294921875, 0.0072021484375, 0.0140380859375, 0.019...
[ 11249, 83, 63805, 1884, 2633, 51620, 2203, 503, 864, 120337, 375, 5974, 297, 47, 313, 16444, 23, 2256, 1238, 3949, 3742, 13003, 93774, 8318, 6460, 87293, 5, 32195, 3642, 3934, 9969, 34759, 11782, 14585, 237259, 186992 ]
[ 0.09161376953125, 0.039154052734375, 0.2269287109375, 0.177734375, 0.1689453125, 0.262939453125, 0.117431640625, 0.1162109375, 0.213134765625, 0.265869140625, 0.041900634765625, 0.1827392578125, 0.03369140625, 0.07440185546875, 0.1065673828125, 0.2213134765625, 0.045440673828125, 0...
embed
45065262_c0
45065262
fsharp
0
Title: How to declare nullable discriminated union? Problem title: How to declare nullable discriminated union? Tags: f%23 Problem: How to declare nullable discriminated union? I have a discriminated union like this type foo = | Yes of bool | Number of decimal I have another type where I'm trying to delcare this DS as ...
How to declare nullable discriminated union? How to declare nullable discriminated union? f%23 How Yes Number this.Value Nullable How to declare nullable discriminated union? I have a discriminated union like this I have another type where I'm trying to delcare this DS as a nullable member When I try to do that, I'm ge...
[ 0.00125885009765625, 0.0031585693359375, 0.009033203125, 0.00074005126953125, -0.00885009765625, -0.000263214111328125, -0.00116729736328125, 0.003753662109375, 0.027587890625, 0.037353515625, 0.01275634765625, 0.00457763671875, -0.0079345703125, 0.0245361328125, 0.007171630859375, -0....
[ 11249, 47, 159978, 9229, 2661, 55970, 3674, 69941, 1238, 3949, 3742, 32635, 103332, 903, 856, 50770, 27786, 765, 1884, 15700, 10644, 31577, 146, 8804, 41869, 32786, 9790, 189534, 64549, 144570, 3584, 31, 3835, 114977, 748, 30022 ]
[ 0.0755615234375, 0.0855712890625, 0.19873046875, 0.192626953125, 0.209228515625, 0.2001953125, 0.0880126953125, 0.207275390625, 0.06671142578125, 0.06439208984375, 0.157470703125, 0.1043701171875, 0.1226806640625, 0.0855712890625, 0.05560302734375, 0.09552001953125, 0.1947021484375, ...
embed
27648268_c1
27648268
fsharp
1
. So instead, I took advantage of the type system like this: type Condition<'a>(selector, checker) = member this.IsSatisfied (obj:'a) = (checker (selector obj)):bool and type inteference will not allow one to use a condition like this let cond = new Condition<MyType>(SelectS, IntAtLeast10) because it knows that the out...
. So instead, I took advantage of the type system like this: type Condition<'a>(selector, checker) = member this.IsSatisfied (obj:'a) = (checker (selector obj)):bool and type inteference will not allow one to use a condition like this let cond = new Condition<MyType>(SelectS, IntAtLeast10) because it knows that the out...
[ -0.0169677734375, 0.014404296875, -0.0118408203125, 0.00408935546875, -0.00408935546875, -0.01446533203125, -0.00067901611328125, 0.01043701171875, 0.0262451171875, 0.006591796875, 0.00125885009765625, -0.005035400390625, 0.016845703125, -0.01611328125, -0.00153350830078125, 0.00595092...
[ 64457, 87, 34739, 92940, 10644, 5426, 1884, 903, 46347, 1363, 11, 184, 187075, 12765, 56, 32786, 29598, 5464, 1814, 1029, 297, 3522, 170, 78292, 995, 142484, 136, 892, 69988, 1221, 959, 63769, 4527, 35431, 158, 71, 3525, 31852, 196707, 27...
[ 0.0753173828125, 0.04864501953125, 0.002655029296875, 0.1600341796875, 0.21728515625, 0.13623046875, 0.043853759765625, 0.08544921875, 0.22216796875, 0.12109375, 0.05853271484375, 0.029022216796875, 0.19921875, 0.1629638671875, 0.1085205078125, 0.168212890625, 0.07330322265625, 0.0...
embed
28963770_c0
28963770
fsharp
0
Title: How to handle negative power in F#? Problem title: How to handle negative power in F#? Tags: f%23 Problem: How to handle negative power in F#? I'm trying to build the nth power function in F#. (Yes, there's already Math.Pow in .Net). Here is my attempt: let rec nthPower x n = match n with | 0 -> 1 | _ -> x * (nt...
How to handle negative power in F#? How to handle negative power in F#? f%23 How Math.Pow n-1 How to handle negative power in F#? I'm trying to build the nth power function in F#. (Yes, there's already Math.Pow in .Net). Here is my attempt: This works fine when n >= 0 ; however, I don't know how to handle the negative ...
[ -0.0167236328125, -0.016845703125, 0.018798828125, -0.00653076171875, -0.005157470703125, -0.006378173828125, 0.021728515625, 0.0047607421875, -0.004638671875, 0.0026092529296875, 0.019775390625, -0.0101318359375, -0.01318359375, 0.00738525390625, 0.00323486328125, -0.0027008056640625,...
[ 11249, 47, 34831, 40907, 14537, 23, 563, 4904, 1238, 3742, 78804, 7192, 434, 653, 5759, 45367, 927, 32354, 21771, 5, 24447, 81887, 43240, 5885, 3229, 977, 757, 87, 3714, 3642, 7225, 4426, 19, 16093, 77495, 195625, 5844, 234873, 93766, 483...
[ 0.080810546875, 0.0894775390625, 0.180908203125, 0.28857421875, 0.2396240234375, 0.078369140625, 0.1513671875, 0.2255859375, 0.037322998046875, 0.07916259765625, 0.1243896484375, 0.1044921875, 0.1943359375, 0.1331787109375, 0.142333984375, 0.0239105224609375, 0.13916015625, 0.10180...
embed
7242418_c0
7242418
fsharp
0
Title: What superseded XYGraph.dll? Problem title: What superseded XYGraph.dll? Tags: f%23, visual-studio-2010, visualization Problem: What superseded XYGraph.dll? I am trying to get some charting and visualizations going in F#. Unfortunately, the book I am using refers to a lot of .dll files that have been superseded ...
What superseded XYGraph.dll? What superseded XYGraph.dll? f%23 visual-studio-2010 visualization What XYGraph.dll visual-studio-2010 What superseded XYGraph.dll? I am trying to get some charting and visualizations going in F#. Unfortunately, the book I am using refers to a lot of .dll files that have been superseded wit...
[ -0.0040283203125, 0.0162353515625, 0.006317138671875, 0.0164794921875, -0.00579833984375, -0.00872802734375, -0.005828857421875, -0.0020904541015625, -0.0159912109375, 0.025390625, 0.0031585693359375, -0.004302978515625, -0.0150146484375, -0.00732421875, 0.01483154296875, 0.01153564453...
[ 4865, 1601, 5281, 297, 143907, 37878, 11727, 5, 71, 1181, 1238, 3742, 21176, 52629, 73552, 47691, 116287, 214, 136, 563, 4904, 70, 12877, 102158, 68451, 3773, 2861, 17368, 73372, 22968, 36404, 16655, 80234, 91995, 8781, 41382, 111, 140363, ...
[ 0.047607421875, 0.1162109375, 0.11962890625, 0.0372314453125, 0.208251953125, 0.212890625, 0.1866455078125, 0.0863037109375, 0.078369140625, 0.177978515625, 0.038330078125, 0.0989990234375, 0.1309814453125, 0.1456298828125, 0.156982421875, 0.067138671875, 0.13720703125, 0.028045654...
embed
52911695_c0
52911695
fsharp
0
Title: f# programming the insert function? Problem title: f# programming the insert function? Tags: f%23 Problem: f# programming the insert function? I am trying to implement a function that should inset in order using <, if x exists in S, then S is returned unchanged. The code I wrote below does not output as intended...
f# programming the insert function? f# programming the insert function? f%23 e::rest f# programming the insert function? I am trying to implement a function that should inset in order using <, if x exists in S, then S is returned unchanged. The code I wrote below does not output as intended. If I have a set S = [2; 4] ...
[ -0.016357421875, 0.009765625, 0.029052734375, 0.00592041015625, -0.00830078125, 0.01123046875, -0.0306396484375, -0.02001953125, 0.00537109375, -0.000118255615234375, 0.0308837890625, 0.00604248046875, -0.001861572265625, -0.0203857421875, 0.00799560546875, 0.01068115234375, 0.000686...
[ 1238, 4904, 56037, 449, 183540, 32354, 32, 70, 3949, 3742, 28, 56644, 31577, 29479, 5608, 23, 3509, 12989, 17368, 4426, 2174, 1022, 32316, 159, 176377, 51, 152028, 71, 18151, 54397, 35064, 14602, 959, 140992, 237, 179140, 5423, 2203, 304, ...
[ 0.1275634765625, 0.2169189453125, 0.18212890625, 0.061492919921875, 0.29052734375, 0.215576171875, 0.01080322265625, 0.01788330078125, 0.018341064453125, 0.1365966796875, 0.051727294921875, 0.20849609375, 0.0853271484375, 0.13916015625, 0.07818603515625, 0.1195068359375, 0.1740722656...
embed
79334721_c2
79334721
fsharp
2
Lock, _lock.ExitUpgradeableReadLock, this.SafeRead, this.EnterReadLock, this.ExitReadLock, this.SafeWrite, this.EnterWriteLock, this.ExitWriteLock, this.SafeReadWrite, this.EnterUpgradeableReadLock, this.ExitUpgradeableReadLock, this.Dispose, _lock.Dispose, GC.SuppressFinalize, this.Finalize, IDisposable, ThreadSafeLis...
Lock, _lock.ExitUpgradeableReadLock, this.SafeRead, this.EnterReadLock, this.ExitReadLock, this.SafeWrite, this.EnterWriteLock, this.ExitWriteLock, this.SafeReadWrite, this.EnterUpgradeableReadLock, this.ExitUpgradeableReadLock, this.Dispose, _lock.Dispose, GC.SuppressFinalize, this.Finalize, IDisposable, ThreadSafeLis...
[ -0.00872802734375, 0.0184326171875, 0.017333984375, -0.0250244140625, -0.0037841796875, -0.02099609375, 0.009521484375, -0.003692626953125, 0.0267333984375, 0.0234375, -0.00347900390625, 0.0299072265625, -0.01202392578125, 0.00115966796875, 0.0125732421875, -0.0001163482666015625, 0....
[ 80002, 4, 101, 21135, 5, 19279, 217, 53234, 44286, 2886, 31345, 209848, 903, 5464, 2242, 155581, 18781, 44456, 78381, 69657, 2037, 11856, 6159, 76, 119066, 11338, 164, 7522, 136719, 154663, 86769, 262, 1021, 55292, 29089, 856, 50770, 98102, ...
[ 0.263427734375, 0.0672607421875, 0.09185791015625, 0.2445068359375, 0.033111572265625, 0.1243896484375, 0.08953857421875, 0.07080078125, 0.158447265625, 0.149658203125, 0.197021484375, 0.2415771484375, 0.1636962890625, 0.1297607421875, 0.112548828125, 0.07318115234375, 0.072387695312...
embed
7054451_c0
7054451
fsharp
0
Title: Anything like Java&#x27;s static imports in F#? Problem title: Anything like Java&#x27;s static imports in F#? Tags: .net, f%23, functional-programming Problem: Anything like Java's static imports in F#? Coming from Haskell, I'd like to know if there is a way to avoid having to write the full List.map every time...
Anything like Java&#x27;s static imports in F#? Anything like Java&#x27;s static imports in F#? .net f%23 functional-programming Anything Java List.map Anything like Java's static imports in F#? Coming from Haskell, I'd like to know if there is a way to avoid having to write the full List.map every time I want to use a...
[ -0.00457763671875, -0.00970458984375, 0.031005859375, -0.0026092529296875, -0.025146484375, -0.000339508056640625, -0.006011962890625, 0.01190185546875, 0.0125732421875, -0.032470703125, -0.010009765625, -0.01116943359375, -0.0034942626953125, 0.01300048828125, 0.0150146484375, 0.00198...
[ 28541, 64113, 1884, 41925, 3768, 201939, 24927, 7, 23, 563, 4904, 1179, 1238, 3742, 123309, 28966, 32036, 62346, 1295, 20625, 142508, 71864, 33022, 4393, 11907, 3444, 4527, 22288, 23937, 6044, 831, 4734, 173915, 82424, 765, 14373, 19048, 2236...
[ 0.00860595703125, 0.04901123046875, 0.08251953125, 0.2261962890625, 0.0221710205078125, 0.2354736328125, 0.221923828125, 0.06524658203125, 0.04180908203125, 0.1380615234375, 0.181396484375, 0.09918212890625, 0.041961669921875, 0.006317138671875, 0.0784912109375, 0.0367431640625, 0.17...
embed
19659063_c0
19659063
fsharp
0
Title: Are there any conventions in F# for highlighting pure or impure functions? Problem title: Are there any conventions in F# for highlighting pure or impure functions? Tags: purely-functional, functional-programming, f%23, .net Problem: Are there any conventions in F# for highlighting pure or impure functions? Are ...
Are there any conventions in F# for highlighting pure or impure functions? Are there any conventions in F# for highlighting pure or impure functions? purely-functional functional-programming f%23 .net Are there any conventions in F# for highlighting pure or impure functions? Are there any conventions used in F# to high...
[ 0.00341796875, -0.01080322265625, 0.004730224609375, -0.0068359375, -0.0159912109375, 0.015869140625, -0.0029296875, -0.017578125, -0.01043701171875, 0.034912109375, -0.00054168701171875, 0.0238037109375, -0.0177001953125, -0.00531005859375, 0.01446533203125, 0.01385498046875, 0.0031...
[ 2499, 101805, 7, 23, 563, 4904, 100, 127308, 214, 34166, 707, 21980, 3408, 32354, 538, 137175, 123309, 28966, 1238, 3742, 1179, 11814, 47, 450, 621, 20209, 19441, 5609, 93425, 118233, 150380, 149957, 210716, 33342, 4358, 28864, 11935, 39989, ...
[ 0.04461669921875, 0.2032470703125, 0.1185302734375, 0.06292724609375, 0.1568603515625, 0.2086181640625, 0.0247039794921875, 0.2548828125, 0.083740234375, 0.244384765625, 0.1031494140625, 0.1607666015625, 0.1949462890625, 0.21240234375, 0.042449951171875, 0.12451171875, 0.152709960937...
embed
29924079_c0
29924079
fsharp
0
Title: Cartesian half-square of a list Problem title: Cartesian half-square of a list Tags: cartesian-product, f%23 Problem: Cartesian half-square of a list The question of how to generate the Cartesian product of a list with itself in F# is a familiar one, but I need something slightly different: half of the resulting...
Cartesian half-square of a list Cartesian half-square of a list cartesian-product f%23 Cartesian Cartesian half-square of a list The question of how to generate the Cartesian product of a list with itself in F# is a familiar one, but I need something slightly different: half of the resulting square. That is, [1; 2; 3] ...
[ 0.01031494140625, 0.007476806640625, 0.01904296875, -0.007171630859375, -0.0035858154296875, 0.01251220703125, -0.00897216796875, -0.01251220703125, 0.01361083984375, 0.0084228515625, -0.00164794921875, 0.0223388671875, 0.00141143798828125, 0.00830078125, -0.03564453125, -0.01385498046...
[ 106274, 39209, 23552, 108047, 111, 5303, 129912, 3378, 57877, 1238, 3949, 3742, 9655, 3642, 139392, 70, 12996, 678, 68034, 23, 563, 4904, 16031, 3871, 9844, 161549, 12921, 16750, 68252, 74, 116, 138, 268, 33079, 378, 41600, 4958, 2858, 8439...
[ 0.1832275390625, 0.15185546875, 0.23779296875, 0.230224609375, 0.1092529296875, 0.2215576171875, 0.1982421875, 0.1158447265625, 0.2479248046875, 0.11474609375, 0.0826416015625, 0.1773681640625, 0.0287322998046875, 0.04742431640625, 0.1912841796875, 0.0255279541015625, 0.256591796875,...
embed
58617686_c0
58617686
fsharp
0
Title: Returning Task&lt;bool&gt; in F#, what is the syntax? Problem title: Returning Task&lt;bool&gt; in F#, what is the syntax? Tags: f%23 Problem: Returning Task in F#, what is the syntax? I need to write a function that will return a Task in F#. The closest I came to is: let Test : Async<bool> = async { printfn "3"...
Returning Task&lt;bool&gt; in F#, what is the syntax? Returning Task&lt;bool&gt; in F#, what is the syntax? f%23 Returning Task Test Async Returning Task in F#, what is the syntax? I need to write a function that will return a Task in F#. The closest I came to is: but.. that doesn't work; the compiler says I'm giving a...
[ -0.00787353515625, 0.019775390625, 0.00946044921875, -0.00092315673828125, -0.0029449462890625, 0.01055908203125, 0.005828857421875, 0.005279541015625, 0.000499725341796875, 0.0244140625, 0.004547119140625, 0.0186767578125, -0.02392578125, 0.000827789306640625, 0.027099609375, 0.023315...
[ 173340, 214, 9598, 92, 142484, 5386, 23, 563, 4904, 6002, 86531, 1238, 3742, 8647, 62, 12654, 238, 83, 70, 3871, 33022, 32354, 30646, 20903, 18, 4488, 9969, 34759, 17378, 68772, 64457, 26785, 110, 36746, 10644, 61924 ]
[ 0.2125244140625, 0.126708984375, 0.2139892578125, 0.156982421875, 0.106689453125, 0.0775146484375, 0.045867919921875, 0.1142578125, 0.19091796875, 0.1397705078125, 0.2421875, 0.044036865234375, 0.113525390625, 0.140380859375, 0.044464111328125, 0.18359375, 0.0733642578125, 0.001800...
embed
19130084_c0
19130084
fsharp
0
Title: What is the format placeholder for numbers (values) with units in F#? Problem title: What is the format placeholder for numbers (values) with units in F#? Tags: f%23 Problem: What is the format placeholder for numbers (values) with units in F#? How do I print out a number with a unit? Shall I use "%A" or shall I...
What is the format placeholder for numbers (values) with units in F#? What is the format placeholder for numbers (values) with units in F#? f%23 What Measure Unit What is the format placeholder for numbers (values) with units in F#? How do I print out a number with a unit? Shall I use "%A" or shall I strip the unit fir...
[ -0.0174560546875, 0.01141357421875, 0.0208740234375, 0.0023651123046875, -0.00396728515625, -0.006622314453125, 0.0262451171875, 0.01318359375, 0.03369140625, 0.02734375, -0.013916015625, -0.003173828125, 0.0045166015625, -0.00107574462890625, 0.0140380859375, 0.01190185546875, 0.004...
[ 4865, 9384, 3687, 31958, 101935, 27494, 678, 25072, 7, 563, 4904, 1238, 3949, 3742, 1215, 11, 56851, 46640, 83, 70, 100, 23, 11249, 54, 87, 28412, 1810, 14012, 4527, 284, 43613, 16265, 51671, 138410, 334, 52629 ]
[ 0.04205322265625, 0.21728515625, 0.1866455078125, 0.1871337890625, 0.1690673828125, 0.1226806640625, 0.1768798828125, 0.250244140625, 0.004852294921875, 0.1519775390625, 0.23046875, 0.1187744140625, 0.062408447265625, 0.16748046875, 0.0640869140625, 0.079345703125, 0.064697265625, ...
embed
28747646_c0
28747646
fsharp
0
Title: F# int list of two maximums Problem title: F# int list of two maximums Tags: maxby, list, f%23 Problem: F# int list of two maximums Previous question: F# Filtering multiple years I need to return an int list of two years where the given years are the greatest amount of rainfall for any February within the data s...
F# int list of two maximums F# int list of two maximums maxby list f%23 List.filter List.maxBy F# int list of two maximums Previous question: F# Filtering multiple years I need to return an int list of two years where the given years are the greatest amount of rainfall for any February within the data set. So far, I ha...
[ 0.01025390625, 0.0068359375, 0.0023956298828125, 0.026123046875, -0.013671875, 0.024658203125, -0.0084228515625, 0.01312255859375, 0.00640869140625, -0.0027618408203125, 0.00836181640625, 0.007232666015625, 0.003662109375, -0.006256103515625, 0.0255126953125, -0.0027923583984375, -0....
[ 563, 4904, 23, 18, 5303, 6626, 38132, 111, 18389, 1272, 1238, 3742, 32036, 120337, 24084, 75358, 128896, 214, 48716, 5369, 3871, 30646, 158036, 41170, 102044, 9146, 2499, 22482, 28032, 2053, 5423, 14037, 70, 5117, 6602, 17368, 17669, 7639, ...
[ 0.15625, 0.1922607421875, 0.085693359375, 0.10888671875, 0.1729736328125, 0.1669921875, 0.2293701171875, 0.00225830078125, 0.14794921875, 0.173583984375, 0.0765380859375, 0.0870361328125, 0.1658935546875, 0.19384765625, 0.1483154296875, 0.202880859375, 0.195068359375, 0.01065063476...
embed
65790893_c0
65790893
fsharp
0
Title: Bubblesort Algorithm - F# Problem title: Bubblesort Algorithm - F# Tags: f%23 Problem: Bubblesort Algorithm - F# so I am trying to sort an array of values using the bubble sort algorithm. However, I am unable to find my mistake. Any advice? let bubblesort<'a when 'a: comparison> (ar: Array<'a>): Unit = let rec s...
Bubblesort Algorithm - F# Bubblesort Algorithm - F# f%23 Bubblesort Algorithm Array Unit ar.Length Bubblesort Algorithm - F# so I am trying to sort an array of values using the bubble sort algorithm. However, I am unable to find my mistake. Any advice?
[ 0.004638671875, 0.033447265625, 0.023193359375, -0.01324462890625, -0.015625, -0.00860595703125, -0.01190185546875, -0.0115966796875, -0.01446533203125, 0.045166015625, 0.00099945068359375, 0.03369140625, -0.0118408203125, -0.0086669921875, 0.0152587890625, -0.029541015625, 0.0079956...
[ 667, 73163, 62351, 109847, 2783, 18337, 563, 4904, 1238, 3949, 3742, 69253, 53, 46640, 187, 5, 5267, 449, 927, 221, 444, 31577, 47, 12096, 10298, 111, 142424, 17368, 373, 234873, 33306, 51, 2886, 7413, 759, 121742, 67660 ]
[ 0.1112060546875, 0.2166748046875, 0.2337646484375, 0.111328125, 0.09796142578125, 0.06317138671875, 0.108642578125, 0.1829833984375, 0.081787109375, 0.06890869140625, 0.15185546875, 0.10394287109375, 0.07012939453125, 0.134765625, 0.0816650390625, 0.013427734375, 0.0293426513671875, ...
embed
16140563_c0
16140563
fsharp
0
Title: Creating an F# record or union type (not instance thereof) at runtime Problem title: Creating an F# record or union type (not instance thereof) at runtime Tags: f%23-3.0, f%23 Problem: Creating an F# record or union type (not instance thereof) at runtime What is the best way to create an instance of System.Type ...
Creating an F# record or union type (not instance thereof) at runtime Creating an F# record or union type (not instance thereof) at runtime f%23-3.0 f%23 Creating Creating an F# record or union type (not instance thereof) at runtime What is the best way to create an instance of System.Type representing an F# record or ...
[ 0.005096435546875, 0.01446533203125, 0.0030975341796875, -0.01446533203125, -0.01495361328125, 0.0076904296875, -0.015869140625, -0.0023956298828125, 0.0140380859375, -0.0174560546875, -0.01019287109375, 0.00433349609375, 0.009765625, -0.0081787109375, 0.007476806640625, 0.01123046875,...
[ 56781, 1916, 563, 4904, 17164, 707, 69941, 10644, 10869, 110527, 99, 11675, 6032, 142, 15, 1238, 27495, 132265, 3742, 2965, 3917, 47, 28282, 12353, 5, 196707, 33636, 16487, 183234, 93774, 3467, 254, 76978, 13, 15665, 8705, 115923, 136, 1730...
[ 0.1783447265625, 0.061126708984375, 0.1539306640625, 0.2296142578125, 0.2159423828125, 0.0229644775390625, 0.2196044921875, 0.2210693359375, 0.1080322265625, 0.238037109375, 0.1029052734375, 0.1361083984375, 0.1650390625, 0.009490966796875, 0.00030517578125, 0.1082763671875, 0.047241...
embed
52723401_c0
52723401
fsharp
0
Title: Check for empty space and return a boolean Problem title: Check for empty space and return a boolean Tags: list, f%23, boolean Problem: Check for empty space and return a boolean I have made a list that has some values in it, i am trying to find the average value of the list. Is there a smarter way to do this an...
Check for empty space and return a boolean Check for empty space and return a boolean list f%23 boolean Check List.average Array.contains Check for empty space and return a boolean I have made a list that has some values in it, i am trying to find the average value of the list. Is there a smarter way to do this and How...
[ -0.003387451171875, -0.00927734375, -0.00555419921875, 0.019775390625, -0.0078125, 0.01318359375, 0.0361328125, -0.0172119140625, 0.01153564453125, 0.0390625, 0.031982421875, -0.0012664794921875, -0.01904296875, -0.016357421875, -0.006195068359375, 0.0208740234375, 0.039306640625, ...
[ 38679, 100, 201505, 32628, 136, 30646, 337, 31, 34677, 5303, 1238, 3949, 3742, 32036, 8216, 29838, 69253, 53, 98102, 142424, 31577, 7413, 83080, 34292, 18775, 56, 12765, 6562, 1884, 221, 5, 8710, 184 ]
[ 0.17431640625, 0.1156005859375, 0.18798828125, 0.2239990234375, 0.0079345703125, 0.1519775390625, 0.040435791015625, 0.1077880859375, 0.1953125, 0.1597900390625, 0.033203125, 0.014678955078125, 0.1072998046875, 0.165771484375, 0.1556396484375, 0.1387939453125, 0.0865478515625, 0.00...
embed
72015148_c0
72015148
fsharp
0
Title: Generating a random IPv6 ULA subnet? Problem title: Generating a random IPv6 ULA subnet? Tags: f%23 Problem: Generating a random IPv6 ULA subnet? Wikipedia describes the process for generating an IPv6 Unique Local Address subnet. e.g. fd12:3456:789a:1::/64 Is there an existing implementation for generating a ran...
Generating a random IPv6 ULA subnet? Generating a random IPv6 ULA subnet? f%23 Generating IPv6 ULA fd12:3456:789a:1 Generating a random IPv6 ULA subnet? Wikipedia describes the process for generating an IPv6 Unique Local Address subnet. e.g. fd12:3456:789a:1::/64 Is there an existing implementation for generating a ran...
[ 0.0213623046875, -0.002685546875, 0.0120849609375, -0.0126953125, 0.005126953125, -0.01544189453125, 0.004302978515625, -0.01806640625, -0.0194091796875, -0.0135498046875, 0.013427734375, 0.024169921875, -0.001953125, 0.0172119140625, 0.03076171875, -0.004913330078125, -0.01867675781...
[ 155370, 1916, 96759, 8021, 334, 910, 55406, 1614, 1179, 32, 1238, 3949, 3742, 71, 1530, 30197, 13683, 153781, 11, 19721, 8162, 98363, 9433, 100, 12663, 11789, 24172, 49990, 13307, 2685, 144573, 208124, 5, 17777, 5570, 35773, 563, 4904, 1443...
[ 0.217041015625, 0.0963134765625, 0.23681640625, 0.104248046875, 0.129150390625, 0.234375, 0.274658203125, 0.203125, 0.1888427734375, 0.0207061767578125, 0.062103271484375, 0.001373291015625, 0.1226806640625, 0.041748046875, 0.1051025390625, 0.051422119140625, 0.124755859375, 0.1665...
embed
54913324_c0
54913324
fsharp
0
Title: F# Array2D - Extract Diagonals Problem title: F# Array2D - Extract Diagonals Tags: diagonal, f%23, matrix Problem: F# Array2D - Extract Diagonals Let us say I have a matrix [[0; 0; 1; 0; 0; 0] [0; 1; 0; 0; 0; 0] [2; 0; 0; 0; 0; 0] [0; 1; 0; 0; 0; 0] [0; 0; 1; 0; 0; 0] [0; 0; 0; 1; 0; 0]] I want to extract the di...
F# Array2D - Extract Diagonals F# Array2D - Extract Diagonals diagonal f%23 matrix Array2D Extract Diagonals F# Array2D - Extract Diagonals Let us say I have a matrix I want to extract the diagonals as a 1d array meaning [|2;1;1|] and [|2;1;1;1|] For rows and columns, we have Could we construct something similar for th...
[ -0.00457763671875, 0.0201416015625, 0.0086669921875, 0.0030364990234375, -0.0234375, -0.00093841552734375, -0.0299072265625, 0.044921875, 0.000598907470703125, 0.00958251953125, 0.005218505859375, 0.00323486328125, -0.0050048828125, 0.0133056640625, 0.007659912109375, 0.003158569335937...
[ 563, 4904, 69253, 53, 304, 397, 31501, 15390, 4512, 6126, 16765, 207997, 1238, 3949, 3742, 50944, 5154, 765, 425, 3444, 125663, 70, 7, 237, 10, 106, 71, 10298, 91084, 58745, 74, 418, 136, 15555, 3365, 316, 191147, 64549, 9844, 21373, 89...
[ 0.0989990234375, 0.1593017578125, 0.130859375, 0.1220703125, 0.147705078125, 0.113525390625, 0.192626953125, 0.0751953125, 0.1033935546875, 0.144775390625, 0.0867919921875, 0.2496337890625, 0.0692138671875, 0.052947998046875, 0.1678466796875, 0.156005859375, 0.010009765625, 0.02815...
embed
39314484_c0
39314484
fsharp
0
Title: What is the second parameter of Unquote raisesWith for? Problem title: What is the second parameter of Unquote raisesWith for? Tags: f%23, f%23-unquote Problem: What is the second parameter of Unquote raisesWith for? in the unquote userguide there is an example given, which i don't understand: // raisesWith : Ex...
What is the second parameter of Unquote raisesWith for? What is the second parameter of Unquote raisesWith for? f%23 f%23-unquote System.NullReferenceException What Unquote Expr Length e.ToString What is the second parameter of Unquote raisesWith for? in the unquote userguide there is an example given, which i don't un...
[ 0.000537872314453125, 0.01953125, 0.00823974609375, -0.00003838539123535156, -0.00176239013671875, 0.00909423828125, 0.0079345703125, -0.00885009765625, -0.002655029296875, 0.022705078125, -0.003021240234375, -0.0079345703125, -0.0087890625, 0.0023345947265625, 0.0240478515625, 0.00399...
[ 17932, 171859, 992, 68726, 138804, 7, 194583, 100, 3742, 27495, 309, 12353, 18444, 1181, 69988, 63928, 4865, 60075, 42, 77554, 927, 28, 7763, 71713, 51, 38937, 64527, 27781, 28219, 187136 ]
[ 0.17138671875, 0.2208251953125, 0.1533203125, 0.2529296875, 0.181884765625, 0.034942626953125, 0.2496337890625, 0.0980224609375, 0.034088134765625, 0.04766845703125, 0.1024169921875, 0.09771728515625, 0.05072021484375, 0.011749267578125, 0.1280517578125, 0.06353759765625, 0.019165039...
embed
1891699_c0
1891699
fsharp
0
Title: F# List.first deprecated, what is the new method Problem title: F# List.first deprecated, what is the new method Tags: f%23 Problem: F# List.first deprecated, what is the new method I am porting over some old F# code from CTP 1.9.6.8 The code uses List.first : List.first (fun x -> if x.Date = d then Some(x) else...
F# List.first deprecated, what is the new method F# List.first deprecated, what is the new method f%23 List.first x.Date Some None F# List.first deprecated, what is the new method I am porting over some old F# code from CTP 1.9.6.8 The code uses List.first : List.first has been deprecated. What is the current method us...
[ -0.0018463134765625, -0.002899169921875, 0.03271484375, 0.0194091796875, -0.00579833984375, -0.0036163330078125, 0.0027618408203125, 0.01336669921875, -0.00640869140625, -0.01953125, 0.0091552734375, 0.0303955078125, -0.001190185546875, -0.0208740234375, 0.018310546875, 0.0018310546875...
[ 563, 4904, 32036, 5, 13448, 271, 8, 4692, 4460, 297, 2367, 83, 70, 3525, 55300, 1238, 3949, 3742, 1022, 86291, 31384, 438, 86, 196, 1916, 645, 10332, 18151, 1295, 313, 23658, 99420, 166141, 4527, 1556, 2809, 4865, 43581, 11814, 69307, 5...
[ 0.1585693359375, 0.2410888671875, 0.248779296875, 0.050933837890625, 0.1805419921875, 0.154541015625, 0.1605224609375, 0.184814453125, 0.180908203125, 0.129638671875, 0.0908203125, 0.06689453125, 0.04315185546875, 0.15869140625, 0.250244140625, 0.132080078125, 0.04876708984375, 0.1...
embed
58052959_c1
58052959
fsharp
1
doc like this? If possible, I'd prefer not to use jQuery -- I'd rather return JS that asynchronously loads in the SVG, rather than having jQuery plug it in later -- but I'm open to JQuery answers if that's the best practice here. Code signals: TypeError, Using, WebSharper, SVGs, Site.fs, Draw, Templating.Main, EndPoin...
doc like this? If possible, I'd prefer not to use jQuery -- I'd rather return JS that asynchronously loads in the SVG, rather than having jQuery plug it in later -- but I'm open to JQuery answers if that's the best practice here. Code signals: TypeError, Using, WebSharper, SVGs, Site.fs, Draw, Templating.Main, EndPoin...
[ -0.0135498046875, 0.0223388671875, -0.0162353515625, -0.03662109375, -0.0047607421875, 0.01104736328125, -0.003173828125, -0.005767822265625, 0.00011587142944335938, -0.06005859375, 0.01397705078125, -0.01007080078125, -0.0191650390625, -0.022216796875, 0.01165771484375, 0.019165039062...
[ 51584, 1884, 903, 32, 4263, 7722, 71, 12601, 959, 4527, 231129, 43257, 30646, 64977, 12654, 101966, 72367, 23, 70, 159, 79855, 76329, 14432, 4210, 25, 9803, 821, 41732, 1294, 35166, 2965, 41361, 3688, 5, 28864, 26073, 7, 60457, 18468, 316...
[ 0.25, 0.2406005859375, 0.1953125, 0.035736083984375, 0.011505126953125, 0.150634765625, 0.002471923828125, 0.1363525390625, 0.0947265625, 0.1064453125, 0.261962890625, 0.063232421875, 0.160400390625, 0.2113037109375, 0.18505859375, 0.148681640625, 0.135498046875, 0.05743408203125, ...
embed
63329605_c0
63329605
fsharp
0
Title: Template for F# and WPF (Visual Studio 2019 Community)? Problem title: Template for F# and WPF (Visual Studio 2019 Community)? Tags: vsix, f%23 Problem: Template for F# and WPF (Visual Studio 2019 Community)? As a newbie to F#, I have read many references to starting a new project with the "F# Empty Windows Appl...
Template for F# and WPF (Visual Studio 2019 Community)? Template for F# and WPF (Visual Studio 2019 Community)? vsix f%23 Template WPF Visual Studio Community Template for F# and WPF (Visual Studio 2019 Community)? As a newbie to F#, I have read many references to starting a new project with the "F# Empty Windows Appli...
[ -0.00640869140625, 0.018798828125, 0.005523681640625, 0.0023040771484375, -0.0162353515625, -0.00011205673217773438, 0.004669189453125, -0.0257568359375, -0.0047607421875, -0.004364013671875, 0.0027923583984375, -0.01495361328125, 0.0020904541015625, 0.017333984375, 0.0096435546875, 0....
[ 196631, 100, 563, 4904, 136, 601, 41265, 6609, 64010, 22968, 3640, 66069, 44639, 425, 1238, 3949, 3742, 73372, 3525, 9014, 91067, 72134, 13452, 919, 31678, 939, 3773, 104921, 1456, 110934, 14602, 959, 7639, 79737, 4857, 20600, 35782, 4127, ...
[ 0.2646484375, 0.09112548828125, 0.1241455078125, 0.2261962890625, 0.101806640625, 0.0810546875, 0.2117919921875, 0.060302734375, 0.0858154296875, 0.158447265625, 0.2113037109375, 0.1583251953125, 0.109375, 0.122314453125, 0.0858154296875, 0.048675537109375, 0.1339111328125, 0.15075...
embed
30004927_c0
30004927
fsharp
0
Title: cumulative sum using array.fold in F# Problem title: cumulative sum using array.fold in F# Tags: f%23 Problem: cumulative sum using array.fold in F# I have an array of the following type let myarray = [| 1 .. 5 |] I would like to get another array where each element is a cumulative sum of elements that come befo...
cumulative sum using array.fold in F# cumulative sum using array.fold in F# f%23 array.fold cumulative sum using array.fold in F# I have an array of the following type I would like to get another array where each element is a cumulative sum of elements that come before it: What I tried to do is: However it does not wor...
[ 0.00830078125, -0.004730224609375, 0.00872802734375, 0.0067138671875, -0.01190185546875, -0.00078582763671875, -0.00860595703125, 0.014892578125, 0.00885009765625, -0.02880859375, 0.00860595703125, -0.00099945068359375, -0.0029449462890625, 0.0185546875, 0.00848388671875, -0.0162353515...
[ 1452, 202, 45023, 10554, 17368, 10298, 53, 42822, 23, 563, 4904, 1238, 3742, 25632, 10644, 1884, 2046, 15700, 12638, 12830, 83, 111, 80854, 1380, 8108, 37842, 14602, 959, 4488, 157666, 113054, 10 ]
[ 0.1383056640625, 0.122802734375, 0.127685546875, 0.2352294921875, 0.039276123046875, 0.139404296875, 0.112548828125, 0.2076416015625, 0.0208740234375, 0.1116943359375, 0.1632080078125, 0.06756591796875, 0.1124267578125, 0.03179931640625, 0.07781982421875, 0.04498291015625, 0.05416870...
embed
54031423_c0
54031423
fsharp
0
Title: How do I create a &quot;subject&quot; F# Observable? Problem title: How do I create a &quot;subject&quot; F# Observable? Tags: observable, f%23 Problem: How do I create a "subject" F# Observable? In Rx, I can create a subject (something) like this: let s = new Subject<int>() let subscription = s.Subscribe (fun x...
How do I create a &quot;subject&quot; F# Observable? How do I create a &quot;subject&quot; F# Observable? observable f%23 How Observable Subject s.Subscribe Console.WriteLine s.OnNext How do I create a "subject" F# Observable? In Rx, I can create a subject (something) like this: The subject is both observable and an ob...
[ 0.00089263916015625, 0.0311279296875, 0.0059814453125, 0.00518798828125, 0.004486083984375, -0.000865936279296875, 0.031982421875, 0.008056640625, 0.00970458984375, -0.025634765625, 0.01165771484375, -0.0205078125, 0.0164794921875, -0.00579833984375, -0.00628662109375, 0.00369262695312...
[ 11249, 28282, 22144, 75161, 563, 4904, 87652, 2661, 10, 22046, 1238, 3742, 94341, 96472, 34601, 40777, 93232, 20320, 81280, 360, 627, 425, 831, 28368, 1884, 903, 15044, 136, 160073, 80234, 174548, 11782, 12620, 3934, 75973, 183234, 88303, 889...
[ 0.0258026123046875, 0.1551513671875, 0.1844482421875, 0.218505859375, 0.13671875, 0.220703125, 0.237060546875, 0.2060546875, 0.013397216796875, 0.212890625, 0.0411376953125, 0.0430908203125, 0.2078857421875, 0.0274505615234375, 0.05157470703125, 0.07275390625, 0.0214996337890625, 0...
embed
20913022_c0
20913022
fsharp
0
Title: Using let! inside match statements causes compilation error Problem title: Using let! inside match statements causes compilation error Tags: f%23 Problem: Using let! inside match statements causes compilation error Is there some restriction on using let! inside match statements? I'm not sure why this won't compi...
Using let! inside match statements causes compilation error Using let! inside match statements causes compilation error f%23 Using Foo Bar async.Return Doesn Using let! inside match statements causes compilation error Is there some restriction on using let! inside match statements? I'm not sure why this won't compile. ...
[ -0.0260009765625, 0.0015411376953125, -0.0079345703125, -0.015869140625, 0.0076904296875, -0.0145263671875, -0.0120849609375, 0.0012664794921875, 0.01031494140625, -0.02197265625, -0.010009765625, 0.0079345703125, 0.02490234375, 0.0191650390625, 0.041259765625, 0.01361083984375, 0.00...
[ 345, 6953, 2633, 38, 46132, 14858, 63805, 113660, 98352, 1363, 18499, 1238, 3949, 3742, 9572, 31, 3253, 10, 12654, 238, 4332, 987, 101790, 2071, 185190, 17368, 39, 15400, 903, 23742, 18, 9969, 1340, 15612, 14, 57860, 35782, 7, 73243, 6454...
[ 0.1226806640625, 0.03643798828125, 0.25341796875, 0.184326171875, 0.225830078125, 0.257080078125, 0.2376708984375, 0.1578369140625, 0.239501953125, 0.058502197265625, 0.21240234375, 0.056182861328125, 0.00311279296875, 0.1285400390625, 0.1474609375, 0.10015869140625, 0.2066650390625,...
embed
49322026_c0
49322026
fsharp
0
Title: Option to value with default value Problem title: Option to value with default value Tags: option-type, f%23 Problem: Option to value with default value With the help of answer of this question I need help with the specific syntax on how to retrieve values from option types in the following case. type Query = { ...
Option to value with default value Option to value with default value option-type f%23 Option Query foo.com query.q query.pageSize Option to value with default value With the help of answer of this question I need help with the specific syntax on how to retrieve values from option types in the following case. Syntax he...
[ 0.003143310546875, 0.016357421875, 0.007293701171875, -0.0084228515625, 0.005096435546875, -0.026611328125, -0.007049560546875, -0.0166015625, -0.0050048828125, -0.002960205078125, -0.000804901123046875, -0.001983642578125, 0.0201416015625, 0.0135498046875, -0.002197265625, 0.009216308...
[ 86769, 47, 34292, 678, 114977, 35829, 50986, 1238, 3949, 3742, 58836, 53, 5775, 31, 277, 41, 1294, 864, 22469, 127167, 3871, 4358, 29458, 6002, 86531, 3642, 456, 3996, 3134, 142424, 1295, 52895, 25632, 7225, 19010, 944, 209, 16093 ]
[ 0.27001953125, 0.1705322265625, 0.25146484375, 0.155517578125, 0.2763671875, 0.2705078125, 0.16259765625, 0.0694580078125, 0.0276031494140625, 0.1531982421875, 0.100341796875, 0.051666259765625, 0.0816650390625, 0.0931396484375, 0.05535888671875, 0.061553955078125, 0.101806640625, ...
embed
3852042_c0
3852042
fsharp
0
Title: Symbolic mathematical calculations in Clojure vs. F# Problem title: Symbolic mathematical calculations in Clojure vs. F# Tags: clojure, f%23, symbolic-math Problem: Symbolic mathematical calculations in Clojure vs. F# I have come across the following F# sample and found it intriguing. http://www.codeproject.com/...
Symbolic mathematical calculations in Clojure vs. F# Symbolic mathematical calculations in Clojure vs. F# clojure f%23 symbolic-math Symbolic Clojure Symbolic mathematical calculations in Clojure vs. F# I have come across the following F# sample and found it intriguing. http://www.codeproject.com/KB/net-languages/Symbo...
[ 0.01141357421875, 0.0030975341796875, 0.00168609619140625, 0.015380859375, 0.00078582763671875, -0.0123291015625, 0.0089111328125, 0.00106048583984375, 0.001800537109375, -0.01239013671875, -0.0068359375, 0.000568389892578125, 0.00014019012451171875, 0.0019378662109375, -0.00665283203125...
[ 131899, 1771, 291, 140363, 70760, 74481, 5256, 51053, 461, 107, 20209, 563, 4904, 20450, 1238, 3742, 128201, 238, 125458, 36880, 121413, 102007, 40899, 95322, 39709, 196651, 65183, 36846, 94553, 4153, 36381, 46876, 2844, 135094, 1884, 6991, 366...
[ 0.218505859375, 0.06280517578125, 0.036895751953125, 0.136962890625, 0.05401611328125, 0.200439453125, 0.05816650390625, 0.1434326171875, 0.1785888671875, 0.1451416015625, 0.130126953125, 0.11572265625, 0.196533203125, 0.1063232421875, 0.047088623046875, 0.096435546875, 0.2060546875,...
embed
17982392_c0
17982392
fsharp
0
Title: Understanding the F# Composition Operators Problem title: Understanding the F# Composition Operators Tags: f%23, function-composition, pointfree Problem: Understanding the F# Composition Operators I am well-versed in using the >> and << operators in F#. However, after looking in the F# source to establish a deep...
Understanding the F# Composition Operators Understanding the F# Composition Operators f%23 function-composition pointfree Understanding Composition Operators Understanding the F# Composition Operators I am well-versed in using the >> and << operators in F#. However, after looking in the F# source to establish a deeper ...
[ 0.002288818359375, 0.00146484375, 0.017578125, 0.0216064453125, 0.01275634765625, 0.01031494140625, -0.015869140625, 0.00946044921875, -0.010009765625, 0.010009765625, -0.01275634765625, -0.004669189453125, 0.01806640625, 0.01031494140625, 0.0103759765625, -0.00148773193359375, 0.000...
[ 9626, 144057, 563, 4904, 3288, 40322, 150922, 7, 70, 1238, 3949, 3742, 32354, 277, 6275, 32087, 17368, 6396, 136, 56473, 39933, 31344, 56, 100094, 55681, 29481, 6097, 125195, 228113, 98363, 13204, 10644 ]
[ 0.055511474609375, 0.03466796875, 0.1126708984375, 0.2098388671875, 0.1209716796875, 0.161865234375, 0.2322998046875, 0.04302978515625, 0.047271728515625, 0.0997314453125, 0.036865234375, 0.1158447265625, 0.1187744140625, 0.113037109375, 0.0985107421875, 0.177490234375, 0.04791259765...
embed
46571877_c0
46571877
fsharp
0
Title: Create new object with the same name of the union type Problem title: Create new object with the same name of the union type Tags: f%23 Problem: Create new object with the same name of the union type I want create an instance of Person. Person is a type of Animal. When I try to create a Person, the IDE says me "...
Create new object with the same name of the union type Create new object with the same name of the union type f%23 Create Person this.Name Animal Cat Dog John Create new object with the same name of the union type I want create an instance of Person. Person is a type of Animal. When I try to create a Person, the IDE sa...
[ -0.00701904296875, 0.0034332275390625, 0.01416015625, 0.0250244140625, -0.006256103515625, -0.01434326171875, -0.0206298828125, 0.0216064453125, -0.001251220703125, -0.028076171875, 0.006317138671875, 0.009765625, 0.031982421875, -0.007415771484375, 0.006195068359375, -0.0152587890625,...
[ 151313, 3525, 36746, 678, 5701, 9351, 111, 69941, 10644, 1238, 3949, 3742, 15270, 903, 163612, 82821, 18826, 41129, 4939, 87, 3444, 28282, 110527, 83, 14847, 9790, 10, 4, 6, 36497, 17378, 163, 73243, 125195, 509, 84751, 160054, 1284, 3688, ...
[ 0.164306640625, 0.159423828125, 0.2392578125, 0.106689453125, 0.144287109375, 0.1405029296875, 0.037628173828125, 0.2308349609375, 0.224853515625, 0.06781005859375, 0.04486083984375, 0.10650634765625, 0.204345703125, 0.1265869140625, 0.095703125, 0.224609375, 0.1783447265625, 0.171...
embed
76844515_c0
76844515
fsharp
0
Title: FsYacc filename.targets Problem title: FsYacc filename.targets Tags: f%23, fsyacc Problem: FsYacc filename.targets I'm trying to specify an output folder for the FsYacc and FsLex compilers. I can see that there are some variables "FsYaccOutputFolder" and "FsLexOutputFolder" given in the FsLexYacc.targets I do ha...
FsYacc filename.targets FsYacc filename.targets f%23 fsyacc FsYacc filename.targets FsYacc filename.targets I'm trying to specify an output folder for the FsYacc and FsLex compilers. I can see that there are some variables "FsYaccOutputFolder" and "FsLexOutputFolder" given in the FsLexYacc.targets I do have not that mu...
[ 0.01202392578125, -0.00775146484375, -0.00125885009765625, 0.024658203125, -0.01434326171875, 0.009765625, -0.0091552734375, -0.0096435546875, -0.004730224609375, 0.02001953125, 0.0157470703125, 0.001861572265625, -0.0174560546875, -0.004547119140625, -0.001678466796875, -0.00070190429...
[ 563, 7, 21566, 10060, 11435, 11627, 867, 3794, 1238, 3949, 3742, 19834, 31577, 40140, 18929, 140992, 78303, 136, 5267, 425, 9969, 34759, 1957, 3060, 77336, 919, 79858, 7077, 27591, 31178, 34475, 16981, 5, 102158, 28219, 45646, 7440, 61924, ...
[ 0.1153564453125, 0.0797119140625, 0.1634521484375, 0.1683349609375, 0.0968017578125, 0.0772705078125, 0.158203125, 0.21484375, 0.0511474609375, 0.000579833984375, 0.09326171875, 0.08514404296875, 0.00201416015625, 0.1092529296875, 0.06182861328125, 0.182373046875, 0.169921875, 0.02...
embed
71539284_c0
71539284
fsharp
0
Title: f# functions name hiding type casting Problem title: f# functions name hiding type casting Tags: f%23 Problem: f# functions name hiding type casting I was messing with the f#Koans and this will run (2*2 = 2). From my understanding, when within the scope of quadruple, the 'double' cast is hidden by the local func...
f# functions name hiding type casting f# functions name hiding type casting f%23 NestingFunctions AssertEquality f# functions name hiding type casting I was messing with the f#Koans and this will run (2*2 = 2). From my understanding, when within the scope of quadruple, the 'double' cast is hidden by the local function....
[ 0.006622314453125, 0.006683349609375, -0.00238037109375, 0.00811767578125, 0.01708984375, 0.01007080078125, -0.0174560546875, 0.0054931640625, 0.00640869140625, -0.01171875, -0.019287109375, -0.003509521484375, -0.00787353515625, 0.0029144287109375, 0.0255126953125, -0.0026397705078125...
[ 1238, 4904, 32354, 9351, 1274, 6238, 10644, 176050, 3742, 24673, 1916, 97249, 33657, 647, 161789, 163, 38001, 12110, 10133, 903, 1221, 11675, 4700, 1639, 304, 2203, 4958, 100094, 3229, 28032, 70820, 2799, 186514, 133, 21555, 2661, 37702, 2041...
[ 0.109375, 0.1826171875, 0.15673828125, 0.1119384765625, 0.134521484375, 0.1177978515625, 0.1043701171875, 0.2000732421875, 0.11279296875, 0.086669921875, 0.07452392578125, 0.08331298828125, 0.12060546875, 0.00494384765625, 0.1524658203125, 0.0867919921875, 0.058349609375, 0.0861816...
embed
18802085_c1
18802085
fsharp
1
f# some niceties , for instance waiting for delegate instead of action ? I am flirting with the limits of my knowledge and I do feel the pain. Pretty sure, I will have to learn a lot, but if you would be so kind as to help me climb the first steps... Code signals: Create, IDisposable, AppFunc, IDictionary, IDictionnar...
f# some niceties , for instance waiting for delegate instead of action ? I am flirting with the limits of my knowledge and I do feel the pain. Pretty sure, I will have to learn a lot, but if you would be so kind as to help me climb the first steps... Code signals: Create, IDisposable, AppFunc, IDictionary, IDictionnar...
[ -0.01409912109375, -0.0045166015625, -0.013916015625, 0.0120849609375, -0.00186920166015625, 0.007232666015625, 0.0164794921875, 0.005767822265625, 0.02001953125, -0.0019683837890625, -0.0198974609375, 0.0194091796875, -0.0086669921875, 0.007080078125, 0.0174560546875, -0.0037231445312...
[ 1238, 4904, 3060, 26267, 2449, 89289, 100, 102329, 13, 64457, 111, 22631, 105271, 17475, 51359, 12319, 24503, 30698, 5915, 8562, 4358, 194637, 5117, 98441, 28864, 26073, 7, 151313, 11338, 164, 7522, 2886, 5659, 97249, 14, 10763, 76, 134549, ...
[ 0.170166015625, 0.2484130859375, 0.034210205078125, 0.1419677734375, 0.1163330078125, 0.2099609375, 0.0762939453125, 0.2548828125, 0.10888671875, 0.09698486328125, 0.007843017578125, 0.1890869140625, 0.07366943359375, 0.0863037109375, 0.083984375, 0.06243896484375, 0.0980224609375, ...
embed
3012533_c0
3012533
fsharp
0
Title: Why &quot;do...while&quot; does not exist in F# Problem title: Why &quot;do...while&quot; does not exist in F# Tags: f%23 Problem: Why "do...while" does not exist in F# I cannot find "do...while..." I have to code like this: let bubbleSort a= let n = Array.length a let mutable swapped = true let mutable i = 0 wh...
Why &quot;do...while&quot; does not exist in F# Why &quot;do...while&quot; does not exist in F# f%23 Why do...while Array.length n-i-2 Why "do...while" does not exist in F# I cannot find "do...while..." I have to code like this: The code is bad without " do...while ". Sadly, " break/continue " are also not available.
[ 0.004852294921875, 0.0162353515625, 0.002685546875, -0.00162506103515625, -0.0159912109375, 0.00384521484375, 0.00885009765625, 0.002197265625, -0.00095367431640625, 0.004608154296875, 0.0030975341796875, 0.0283203125, -0.0284423828125, -0.007171630859375, 0.00823974609375, -0.02636718...
[ 44084, 246, 27, 204610, 1230, 41502, 14602, 959, 32316, 23, 563, 4904, 74, 1238, 3742, 54, 69253, 53, 23986, 653, 14, 5428, 53418, 7413, 7673, 765, 18151, 1884, 903, 6494, 15490, 36356, 64, 133891, 13, 621, 19882 ]
[ 0.1009521484375, 0.178466796875, 0.15283203125, 0.312255859375, 0.01617431640625, 0.1141357421875, 0.0576171875, 0.1153564453125, 0.1685791015625, 0.05718994140625, 0.1541748046875, 0.2025146484375, 0.00115966796875, 0.109619140625, 0.07806396484375, 0.14990234375, 0.1236572265625, ...
embed
900585_c0
900585
fsharp
0
Title: Why are functions in OCaml/F# not recursive by default? Problem title: Why are functions in OCaml/F# not recursive by default? Tags: ocaml, recursion, f%23 Problem: Why are functions in OCaml/F# not recursive by default? Why is it that functions in F# and OCaml (and possibly other languages) are not by default r...
Why are functions in OCaml/F# not recursive by default? Why are functions in OCaml/F# not recursive by default? ocaml recursion f%23 Why OCaml Why are functions in OCaml/F# not recursive by default? Why is it that functions in F# and OCaml (and possibly other languages) are not by default recursive? In other words, why...
[ 0.0031890869140625, 0.00037384033203125, 0.0289306640625, 0.0174560546875, 0.01019287109375, -0.00830078125, -0.0179443359375, -0.01324462890625, 0.00225830078125, 0.00689697265625, -0.0034637451171875, -0.0126953125, -0.017822265625, 0.00628662109375, 0.0299072265625, -0.0065307617187...
[ 44084, 621, 32354, 180, 105272, 141, 64, 919, 4904, 959, 195625, 5844, 390, 114977, 23, 36, 9779, 1830, 1238, 3949, 3742, 7, 563, 136, 46876, 15400, 51517, 28288, 442, 4127, 6528, 143726, 10644, 21954, 21635, 8337, 3540, 41159, 3871, 6454...
[ 0.119873046875, 0.0467529296875, 0.2069091796875, 0.132080078125, 0.20361328125, 0.18408203125, 0.032806396484375, 0.073486328125, 0.1578369140625, 0.14404296875, 0.2330322265625, 0.1593017578125, 0.09210205078125, 0.2222900390625, 0.0248260498046875, 0.1048583984375, 0.1527099609375...
embed
7232741_c0
7232741
fsharp
0
Title: Disable compiler warnings per line Problem title: Disable compiler warnings per line Tags: compiler-warnings, f%23 Problem: Disable compiler warnings per line Is it possible to disable compiler warnings for specific lines? In C#, this works: [Obsolete] class Old { } #pragma warning disable 612 var oldWithoutWarn...
Disable compiler warnings per line Disable compiler warnings per line compiler-warnings f%23 oldWithoutWarning oldWithWarning Disable Obsolete Old Disable compiler warnings per line Is it possible to disable compiler warnings for specific lines? In C#, this works: This would be very useful for disabling incomplete patt...
[ -0.01251220703125, 0.003814697265625, 0.0001430511474609375, 0.0019378662109375, -0.0115966796875, 0.0098876953125, -0.0302734375, -0.00009679794311523438, 0.0101318359375, -0.0137939453125, -0.0205078125, 0.0238037109375, 0.02587890625, 0.0101318359375, 0.02294921875, 0.01312255859375...
[ 6206, 2886, 9969, 34759, 1631, 6977, 117, 13315, 4205, 1238, 3742, 10332, 6056, 71947, 194583, 3545, 40777, 25074, 2071, 442, 7722, 47, 2837, 100, 29458, 124519, 360, 313, 4904, 903, 43240, 3293, 2806, 4552, 80234, 6392, 79298, 82940, 46485...
[ 0.102783203125, 0.203125, 0.1693115234375, 0.2044677734375, 0.183837890625, 0.155517578125, 0.1497802734375, 0.1400146484375, 0.140869140625, 0.0191192626953125, 0.044158935546875, 0.0843505859375, 0.0301666259765625, 0.1025390625, 0.03302001953125, 0.0147857666015625, 0.053863525390...
embed
72715354_c0
72715354
fsharp
0
Title: F# Generating all possible combinations between two lists Problem title: F# Generating all possible combinations between two lists Tags: f%23 Problem: F# Generating all possible combinations between two lists I want to generate all possible combinations between two lists. For example, if I had list1: [1,2] and l...
F# Generating all possible combinations between two lists F# Generating all possible combinations between two lists f%23 Generating F# Generating all possible combinations between two lists I want to generate all possible combinations between two lists. For example, if I had list1: [1,2] and list2: [a,b]. It would prod...
[ -0.006988525390625, 0.03076171875, -0.00909423828125, 0.0135498046875, -0.00121307373046875, 0.02099609375, -0.022705078125, 0.0032958984375, 0.01190185546875, -0.000934600830078125, -0.0023956298828125, 0.00518798828125, 0.01422119140625, 0.01361083984375, 0.002593994140625, -0.002960...
[ 563, 4904, 155370, 1916, 756, 7722, 162515, 7, 17721, 6626, 5303, 1238, 3742, 3444, 139392, 1326, 82825, 90173, 136, 304, 11, 275, 2806, 27489, 70541, 41600, 54753, 26366, 54, 903, 678, 195625, 1830, 14858, 125195, 82424, 179933 ]
[ 0.145263671875, 0.2080078125, 0.1839599609375, 0.02978515625, 0.1357421875, 0.17822265625, 0.259033203125, 0.1259765625, 0.1771240234375, 0.13037109375, 0.2093505859375, 0.10601806640625, 0.1151123046875, 0.08782958984375, 0.2095947265625, 0.013336181640625, 0.03363037109375, 0.080...
embed
14105422_c0
14105422
fsharp
0
Title: F#&#x27;s underscore: why not just create a variable name? Problem title: F#&#x27;s underscore: why not just create a variable name? Tags: f%23 Problem: F#'s underscore: why not just create a variable name? Reading about F# today and I'm not clear on one thing: From: http://msdn.microsoft.com/en-us/library/dd233...
F#&#x27;s underscore: why not just create a variable name? F#&#x27;s underscore: why not just create a variable name? f%23 F#'s underscore: why not just create a variable name? Reading about F# today and I'm not clear on one thing: From: http://msdn.microsoft.com/en-us/library/dd233200.aspx I can't think of a time that...
[ 0.01226806640625, -0.00445556640625, 0.01177978515625, 0.005645751953125, 0.0064697265625, 0.0172119140625, 0.0037078857421875, 0.00714111328125, -0.000560760498046875, 0.0007476806640625, 0.023193359375, -0.01507568359375, 0.010986328125, 0.01324462890625, -0.00714111328125, 0.0037384...
[ 563, 4904, 3768, 1379, 7, 30854, 15400, 959, 1660, 28282, 77336, 9351, 10, 1238, 3742, 104951, 34735, 138410, 64, 5351, 1733, 16648, 44084, 71864, 105233 ]
[ 0.125244140625, 0.2113037109375, 0.04193115234375, 0.1834716796875, 0.03466796875, 0.1673583984375, 0.1162109375, 0.05157470703125, 0.0648193359375, 0.1954345703125, 0.281982421875, 0.17431640625, 0.05096435546875, 0.046722412109375, 0.035125732421875, 0.012176513671875, 0.0639648437...
embed
14937566_c0
14937566
fsharp
0
Title: nuget Cannot locate resource &#x27;productupdate/productupdatebar.xaml&#x27; Problem title: nuget Cannot locate resource &#x27;productupdate/productupdatebar.xaml&#x27; Tags: asp.net-mvc-4, asp.net-web-api, f%23, nuget, visual-studio Problem: nuget Cannot locate resource 'productupdate/productupdatebar.xaml' I c...
nuget Cannot locate resource &#x27;productupdate/productupdatebar.xaml&#x27; nuget Cannot locate resource &#x27;productupdate/productupdatebar.xaml&#x27; asp.net-mvc-4 asp.net-web-api f%23 nuget visual-studio Cannot productupdatebar.xaml asp.net-mvc-4 asp.net-web-api nuget Cannot locate resource 'productupdate/productu...
[ -0.004974365234375, 0.044921875, -0.01080322265625, -0.03173828125, 0.0031280517578125, 0.01190185546875, 0.0162353515625, 0.005645751953125, 0.006805419921875, 0.00634765625, 0.0028228759765625, -0.01556396484375, 0.012451171875, -0.0177001953125, 0.01300048828125, -0.010986328125, ...
[ 315, 3794, 4171, 10869, 64040, 67, 177953, 3768, 57877, 117008, 1299, 3798, 7237, 237, 254, 1179, 66357, 11565, 14051, 40897, 21176, 52629, 12996, 39, 831, 18, 2046, 11675, 98, 73372, 22968, 563, 4904, 4002, 61687, 13452, 110934, 131, 2298,...
[ 0.201171875, 0.28564453125, 0.05596923828125, 0.1552734375, 0.158447265625, 0.010467529296875, 0.2088623046875, 0.05230712890625, 0.16748046875, 0.188720703125, 0.17529296875, 0.12451171875, 0.185791015625, 0.020050048828125, 0.0732421875, 0.0911865234375, 0.169677734375, 0.1451416...
embed
3215890_c1
3215890
fsharp
1
s,s)) let putState s = fun () -> State (fun _ -> ((),s)) type StateBuilder() = member this.Delay(f) = fun () -> f() member this.Return a = State (fun s -> (a, s)) member this.Bind(m, k) = fun () -> State (fun s -> let (a,s') = runState (m ()) s in runState ((k a) ()) s') member this.ReturnFrom a = a let state = new Sta...
s,s)) let putState s = fun () -> State (fun _ -> ((),s)) type StateBuilder() = member this.Delay(f) = fun () -> f() member this.Return a = State (fun s -> (a, s)) member this.Bind(m, k) = fun () -> State (fun s -> let (a,s') = runState (m ()) s in runState ((k a) ()) s') member this.ReturnFrom a = a let state = new Sta...
[ -0.00604248046875, 0.017578125, -0.00897216796875, -0.00909423828125, 0.00909423828125, 0.0269775390625, -0.0016021728515625, 0.00084686279296875, 0.0123291015625, -0.054931640625, 0.00836181640625, 0.0169677734375, 0.00171661376953125, 0.0064697265625, 0.01092529296875, -0.01000976562...
[ 91, 4, 7, 16, 2633, 3884, 135206, 13, 2203, 7477, 33079, 22836, 16498, 101, 60494, 247, 10644, 121137, 56, 32786, 903, 4657, 5259, 420, 15, 1238, 987, 10, 11, 571, 7250, 39, 472, 25, 11675, 23, 92, 4332, 168407, 11341, 3525, 18389, ...
[ 0.15771484375, 0.08758544921875, 0.1298828125, 0.004119873046875, 0.09930419921875, 0.197265625, 0.22705078125, 0.09149169921875, 0.03985595703125, 0.20556640625, 0.0428466796875, 0.21875, 0.178466796875, 0.013763427734375, 0.039642333984375, 0.003448486328125, 0.183349609375, 0.23...
embed
37578528_c0
37578528
fsharp
0
Title: Impossible to make object with a recursive type constraint? Problem title: Impossible to make object with a recursive type constraint? Tags: types, type-constraints, recursive-type, f%23 Problem: Impossible to make object with a recursive type constraint? This is a purely academic question, but riffing off of th...
Impossible to make object with a recursive type constraint? Impossible to make object with a recursive type constraint? types type-constraints recursive-type f%23 Impossible Something __.x Impossible to make object with a recursive type constraint? This is a purely academic question, but riffing off of this question ab...
[ -0.00031280517578125, 0.00689697265625, -0.00726318359375, 0.00762939453125, 0.006927490234375, 0.002227783203125, -0.01190185546875, 0.017822265625, 0.005340576171875, -0.01483154296875, -0.00762939453125, -0.0262451171875, 0.01361083984375, -0.007080078125, 0.023193359375, -0.0213623...
[ 239596, 47, 3249, 36746, 678, 195625, 5844, 10644, 158, 2816, 4288, 52895, 2271, 50986, 1238, 3949, 3742, 200905, 425, 108858, 27781, 3129, 4904, 256, 7520, 9969, 1340, 70, 2967, 3642, 903 ]
[ 0.1842041015625, 0.03521728515625, 0.109619140625, 0.1767578125, 0.0806884765625, 0.201904296875, 0.1175537109375, 0.1663818359375, 0.0711669921875, 0.1527099609375, 0.09234619140625, 0.146484375, 0.05487060546875, 0.10345458984375, 0.06231689453125, 0.012542724609375, 0.111572265625...
embed
76682527_c0
76682527
fsharp
0
Title: What does #Task&lt;T&gt; indicate in an F# function signature? Problem title: What does #Task&lt;T&gt; indicate in an F# function signature? Tags: f%23 Problem: What does #Task indicate in an F# function signature? In the following sample code: namespace MyNamespace open System.Threading.Tasks module MyModule = ...
What does #Task&lt;T&gt; indicate in an F# function signature? What does #Task&lt;T&gt; indicate in an F# function signature? f%23 What Task MyNamespace System.Threading.Tasks MyModule What does #Task indicate in an F# function signature? In the following sample code: If I hover the handler function the signature is: v...
[ 0.004180908203125, 0.0172119140625, -0.003936767578125, 0.00124359130859375, -0.007720947265625, 0.0023193359375, -0.0172119140625, -0.029541015625, 0.0186767578125, -0.0035400390625, -0.0020904541015625, -0.0086669921875, 0.00091552734375, 0.0001926422119140625, 0.0045166015625, 0.011...
[ 4865, 468, 9874, 1042, 1230, 1277, 618, 5386, 117414, 563, 4904, 32354, 138256, 1238, 3742, 9598, 92, 2646, 163612, 65421, 12353, 39116, 91616, 8782, 14602, 23, 121413, 18151, 739, 814, 35863, 3502, 14783, 309, 217, 38246, 1957, 91084, 2409...
[ 0.04400634765625, 0.1298828125, 0.242919921875, 0.1934814453125, 0.09307861328125, 0.05615234375, 0.1246337890625, 0.12109375, 0.201904296875, 0.14013671875, 0.202880859375, 0.1859130859375, 0.2352294921875, 0.081787109375, 0.10504150390625, 0.1868896484375, 0.0859375, 0.0640869140...
embed
61277923_c0
61277923
fsharp
0
Title: F# use named tuple as function parameter Problem title: F# use named tuple as function parameter Tags: c%23-to-f%23, tuples, f%23 Problem: F# use named tuple as function parameter I have the following type in F#: type CodeNameError(CodeNameCombination: (Code*Name)[]) = member this.CodeNameCombinations = CodeName...
F# use named tuple as function parameter F# use named tuple as function parameter c%23-to-f%23 tuples f%23 CodeNameError CodeNameCombination Name this.CodeNameCombinations F# use named tuple as function parameter I have the following type in F#: Is there a way to turn the (Code*Name)[] into a named tuple array in F#? I...
[ -0.0004787445068359375, 0.0014190673828125, 0.00567626953125, 0.0238037109375, 0.0057373046875, -0.0164794921875, -0.0233154296875, -0.015869140625, 0.0026397705078125, -0.0169677734375, 0.0037078857421875, 0.00494384765625, 0.0220947265625, 0.003265380859375, -0.004974365234375, -0.00...
[ 563, 4904, 4527, 24, 4806, 370, 8705, 237, 32354, 171859, 27495, 188, 420, 3742, 99726, 1238, 28864, 163612, 18468, 10770, 7568, 15757, 903, 114211, 19155, 5256, 70, 25632, 10644, 2685, 10, 3917, 47, 15504, 1639, 1065, 3934, 10298, 53, 23...
[ 0.1396484375, 0.183349609375, 0.040740966796875, 0.156494140625, 0.1737060546875, 0.14013671875, 0.2269287109375, 0.07562255859375, 0.17578125, 0.2073974609375, 0.10223388671875, 0.06207275390625, 0.0765380859375, 0.057220458984375, 0.1629638671875, 0.05126953125, 0.09130859375, 0....
embed
76041120_c0
76041120
fsharp
0
Title: Accessing nested items through reflection Problem title: Accessing nested items through reflection Tags: f%23, reflection Problem: Accessing nested items through reflection Given the following F# code namespace NS type A() = let agent = MailboxProcessor.Start(fun mbx -> let mutable field: int = 0 let f1() = 5 le...
Accessing nested items through reflection Accessing nested items through reflection f%23 reflection Accessing MailboxProcessor.Start mbx.Receive Accessing nested items through reflection Given the following F# code how to reach 'field', 'f1' and 'f2' through reflection starting from 'a' (or typeof<A>)?
[ -0.0069580078125, 0.020263671875, 0.001190185546875, 0.0235595703125, 0.01806640625, 0.00927734375, 0.001800537109375, 0.00104522705078125, 0.00872802734375, -0.0303955078125, 0.0220947265625, 0.042724609375, 0.0137939453125, 0.0213623046875, 0.02685546875, -0.0189208984375, 0.021728...
[ 40266, 8512, 71, 55769, 8305, 44961, 1830, 214, 1238, 3949, 3742, 25919, 11728, 26531, 748, 126597, 39369, 425, 329, 563, 4904, 18151, 3642, 47, 58359, 28394, 420, 418, 304, 72134, 1295, 11, 10644, 4390, 284 ]
[ 0.207763671875, 0.23828125, 0.126953125, 0.1773681640625, 0.1378173828125, 0.281005859375, 0.171142578125, 0.006134033203125, 0.0445556640625, 0.0194244384765625, 0.1136474609375, 0.0733642578125, 0.1258544921875, 0.092529296875, 0.00872802734375, 0.0921630859375, 0.0804443359375, ...
embed
12389308_c0
12389308
fsharp
0
Title: Is it possible to make a field of a record private? or to make a member of record private? Problem title: Is it possible to make a field of a record private? or to make a member of record private? Tags: f%23 Problem: Is it possible to make a field of a record private? or to make a member of record private? I wan...
Is it possible to make a field of a record private? or to make a member of record private? Is it possible to make a field of a record private? or to make a member of record private? f%23 Is it possible to make a field of a record private? or to make a member of record private? I want to stick with record , and don't wa...
[ -0.01422119140625, 0.0084228515625, 0.02734375, 0.01806640625, -0.01416015625, -0.0155029296875, -0.00921630859375, 0.00579833984375, 0.0036163330078125, 0.00732421875, 0.01495361328125, 0.01373291015625, 0.0201416015625, 0.00653076171875, -0.00058746337890625, -0.0201416015625, -0.0...
[ 2071, 7722, 3249, 44457, 111, 17164, 14375, 32786, 442, 707, 47, 3742, 3444, 47593, 678, 4420, 36746, 83, 122776, 52895, 55970, 69941, 64209, 54567, 46876, 48502 ]
[ 0.0179901123046875, 0.1768798828125, 0.130615234375, 0.2470703125, 0.0736083984375, 0.2230224609375, 0.2235107421875, 0.159423828125, 0.02142333984375, 0.00653076171875, 0.0296478271484375, 0.0059814453125, 0.04376220703125, 0.114013671875, 0.0604248046875, 0.028350830078125, 0.15710...
embed
52562072_c0
52562072
fsharp
0
Title: F# precise calculating with decimals? Problem title: F# precise calculating with decimals? Tags: f%23, math Problem: F# precise calculating with decimals? I'm trying to do a precise calculation with floats like let pi = double (22/7) printfn "%f" (cos(2.00*pi*1.00/2.00)) // output: -0.989992 On a calculator I ge...
F# precise calculating with decimals? F# precise calculating with decimals? f%23 math F# precise calculating with decimals? I'm trying to do a precise calculation with floats like On a calculator I get -1, so it can round up and down correctly, however, when I do this in F# I get the result/output: -0.989992 which is c...
[ -0.00103759765625, -0.01165771484375, 0.006378173828125, 0.0042724609375, 0.01043701171875, -0.005340576171875, 0.01171875, -0.0162353515625, 0.00628662109375, 0.000530242919921875, -0.0025634765625, 0.0155029296875, -0.00078582763671875, -0.00107574462890625, 0.0120849609375, -0.00130...
[ 563, 4904, 134995, 74481, 1916, 678, 32380, 67553, 32, 1238, 3949, 3742, 48909, 31577, 1363, 21917, 9821, 1884, 2161, 154993, 2046, 68940, 831, 68807, 1257, 136, 7565, 26785, 49903, 23, 16750, 64, 6056, 7077, 20, 143161, 168524, 12231, 2090...
[ 0.175048828125, 0.2276611328125, 0.2802734375, 0.20703125, 0.06610107421875, 0.0950927734375, 0.2012939453125, 0.1671142578125, 0.005218505859375, 0.11962890625, 0.05841064453125, 0.1611328125, 0.10650634765625, 0.0577392578125, 0.03631591796875, 0.182861328125, 0.0987548828125, 0....
embed
2334437_c0
2334437
fsharp
0
Title: Get Physical Location of Types of an Assembly Problem title: Get Physical Location of Types of an Assembly Tags: visual-studio, c%23, f%23, assemblies Problem: Get Physical Location of Types of an Assembly May seem to be a similar question to GetReferencedAssembly locations , but my question is getting physical ...
Get Physical Location of Types of an Assembly Get Physical Location of Types of an Assembly visual-studio c%23 f%23 assemblies Get Physical Location Types Assembly Get Physical Location of Types of an Assembly May seem to be a similar question to GetReferencedAssembly locations , but my question is getting physical loc...
[ 0.017822265625, 0.0181884765625, -0.0015106201171875, 0.038818359375, -0.0233154296875, -0.01397705078125, 0.016845703125, 0.01129150390625, -0.0218505859375, -0.020751953125, -0.013671875, -0.002532958984375, -0.00014400482177734375, -0.0089111328125, 0.0014190673828125, 0.02856445312...
[ 20779, 165712, 289, 90788, 111, 60457, 7, 151169, 53, 142, 21176, 52629, 3742, 89845, 7121, 69988, 297, 38526, 31913, 9655, 20949, 72761, 52895, 23, 91067, 71, 4171, 2046, 4677, 1295, 915, 48073, 831, 4527, 405, 13003, 137625, 69236, 33938,...
[ 0.148681640625, 0.1859130859375, 0.1202392578125, 0.249267578125, 0.08673095703125, 0.2392578125, 0.046661376953125, 0.2449951171875, 0.06732177734375, 0.00592041015625, 0.1700439453125, 0.1900634765625, 0.070556640625, 0.19482421875, 0.1181640625, 0.1583251953125, 0.0187835693359375...
embed
8874901_c0
8874901
fsharp
0
Title: Is there an equivalent to the F# Seq.windowed in C#? Problem title: Is there an equivalent to the F# Seq.windowed in C#? Tags: linq, c%23, f%23, window-functions Problem: Is there an equivalent to the F# Seq.windowed in C#? I am working on some C# code dealing with problems like moving averages, where I often ne...
Is there an equivalent to the F# Seq.windowed in C#? Is there an equivalent to the F# Seq.windowed in C#? linq c%23 f%23 window-functions Seq.windowed Is there an equivalent to the F# Seq.windowed in C#? I am working on some C# code dealing with problems like moving averages, where I often need to take a List / IEnumer...
[ 0.01324462890625, 0.01019287109375, 0.017578125, -0.002685546875, -0.020751953125, 0.0091552734375, 0.006622314453125, -0.01495361328125, 0.01043701171875, -0.0390625, -0.01495361328125, 0.01251220703125, -0.0064697265625, -0.00958251953125, -0.003265380859375, 0.01220703125, -0.0170...
[ 183234, 563, 4904, 503, 864, 50777, 2600, 71, 23, 313, 47, 96, 44982, 3742, 1238, 76896, 137175, 2685, 142, 20697, 18151, 184017, 44402, 98567, 83080, 27983, 5646, 32036, 2606, 4488, 7839, 148390, 2053, 88996, 6782, 32354, 297, 35971, 944, ...
[ 0.192626953125, 0.09552001953125, 0.203369140625, 0.09356689453125, 0.2052001953125, 0.1512451171875, 0.1510009765625, 0.1370849609375, 0.05572509765625, 0.069091796875, 0.0164031982421875, 0.03857421875, 0.173095703125, 0.0833740234375, 0.0155181884765625, 0.2088623046875, 0.1697998...
embed
12911866_c0
12911866
fsharp
0
Title: why closure doesn&#x27;t work properly on member function? Problem title: why closure doesn&#x27;t work properly on member function? Tags: closures, f%23 Problem: why closure doesn't work properly on member function? If I do it normally, it works as expected (cache the result): let help = let tmp = printfn "oh n...
why closure doesn&#x27;t work properly on member function? why closure doesn&#x27;t work properly on member function? closures f%23 x.help x.a x.b t.b why closure doesn't work properly on member function? If I do it normally, it works as expected (cache the result): However if i make it as a member function, it no long...
[ 0.0179443359375, -0.002838134765625, 0.0247802734375, -0.01373291015625, -0.0037384033203125, -0.0047607421875, -0.0023956298828125, 0.01123046875, 0.01434326171875, -0.021240234375, -0.0216064453125, 0.0223388671875, 0.0147705078125, 0.01513671875, 0.04833984375, -0.015380859375, -0...
[ 15400, 170224, 22027, 3768, 18, 4488, 155965, 98, 32786, 32354, 7, 1238, 3742, 1022, 73866, 11, 275, 6, 54, 3638, 43240, 84751, 408, 1430, 16750, 3249, 237, 442, 110, 51713 ]
[ 0.1363525390625, 0.26025390625, 0.09027099609375, 0.0594482421875, 0.0948486328125, 0.134521484375, 0.148193359375, 0.0732421875, 0.25244140625, 0.183349609375, 0.0806884765625, 0.045257568359375, 0.07427978515625, 0.0201263427734375, 0.218994140625, 0.020355224609375, 0.029693603515...
embed
10012922_c0
10012922
fsharp
0
Title: Pattern for implementing async http handlers in F#? Problem title: Pattern for implementing async http handlers in F#? Tags: asp.net, f%23 Problem: Pattern for implementing async http handlers in F#? Could someone tell me a good pattern to use when coding asynchronous http handlers in F#? I have to implement IHt...
Pattern for implementing async http handlers in F#? Pattern for implementing async http handlers in F#? asp.net f%23 Pattern IHttpAsyncHandler BeginProcessRequest EndProcessRequest Async.StartTask state:obj AsyncCallback asp.net Pattern for implementing async http handlers in F#? Could someone tell me a good pattern to...
[ -0.00921630859375, 0.0098876953125, -0.008544921875, -0.015380859375, -0.02001953125, 0.015869140625, -0.01214599609375, -0.0093994140625, -0.0106201171875, -0.0194091796875, 0.005889892578125, 0.004119873046875, -0.004669189453125, 0.009521484375, 0.0128173828125, 0.0218505859375, -...
[ 9876, 22766, 100, 29479, 10, 12654, 238, 1621, 35863, 7, 23, 563, 4904, 237, 254, 1179, 1238, 3742, 38624, 3062, 135679, 603, 121427, 26531, 75616, 18878, 126597, 9874, 1042, 11341, 3522, 170, 62, 5584, 12620, 4127, 103510, 4527, 552, 623...
[ 0.1485595703125, 0.128662109375, 0.0247039794921875, 0.1549072265625, 0.0643310546875, 0.20556640625, 0.1082763671875, 0.22265625, 0.209716796875, 0.062164306640625, 0.0269622802734375, 0.13916015625, 0.189208984375, 0.008087158203125, 0.0728759765625, 0.09613037109375, 0.05541992187...
embed
73914644_c0
73914644
fsharp
0
Title: F# function multiple return value Problem title: F# function multiple return value Tags: f%23 Problem: F# function multiple return value Curious about the syntax used in this example ( https://learn.microsoft.com/en-us/dotnet/fsharp/get-started/get-started-command-line ) within the file Library.js My question, i...
F# function multiple return value F# function multiple return value f%23 System.Text.Json JsonSerializer.Serialize F# function multiple return value Curious about the syntax used in this example ( https://learn.microsoft.com/en-us/dotnet/fsharp/get-started/get-started-command-line ) within the file Library.js My questi...
[ -0.00640869140625, -0.00038909912109375, -0.0159912109375, 0.0194091796875, -0.007598876953125, -0.0162353515625, -0.0225830078125, -0.00848388671875, -0.006591796875, 0.002471923828125, 0.0206298828125, 0.048095703125, -0.01239013671875, 0.01055908203125, 0.0235595703125, 0.0103759765...
[ 563, 4904, 32354, 48716, 30646, 34292, 1238, 3742, 12353, 174379, 1375, 1681, 821, 51626, 52825, 25435, 119066, 93905, 6002, 86531, 11814, 27781, 138410, 1179, 420, 89280, 254, 3794, 17137, 297, 277, 12018, 2256, 11435, 103835, 28175, 83, 204...
[ 0.1201171875, 0.1898193359375, 0.18359375, 0.24169921875, 0.2064208984375, 0.1572265625, 0.044403076171875, 0.08984375, 0.05206298828125, 0.09417724609375, 0.1424560546875, 0.20947265625, 0.1209716796875, 0.0494384765625, 0.05401611328125, 0.078369140625, 0.02056884765625, 0.001190...
embed
64758524_c0
64758524
fsharp
0
Title: Surprising (to me) type of a simple F# function Problem title: Surprising (to me) type of a simple F# function Tags: f%23, types Problem: Surprising (to me) type of a simple F# function I am writing an F# function as follows to calculate the product of a list of numbers, with an accumulator "r". > let rec proda ...
Surprising (to me) type of a simple F# function Surprising (to me) type of a simple F# function f%23 types Surprising x::xr xs:int r:int xs:a r:a Surprising (to me) type of a simple F# function I am writing an F# function as follows to calculate the product of a list of numbers, with an accumulator "r". To my surprise,...
[ 0.002532958984375, -0.005859375, -0.017822265625, -0.0032196044921875, -0.0101318359375, -0.0101318359375, -0.01080322265625, 0.02685546875, 0.0166015625, -0.00555419921875, 0.02197265625, 0.0034332275390625, -0.01007080078125, -0.013916015625, 0.0191650390625, -0.00946044921875, 0.0...
[ 8018, 22876, 214, 188, 163, 10644, 8781, 563, 4904, 32354, 1238, 3949, 3742, 52895, 1022, 12, 425, 42, 7, 4288, 1690, 11, 32562, 28960, 74481, 12996, 111, 5303, 101935, 678, 183278, 1290, 55640, 6863, 67706, 47, 130250, 83, 44084, 56112, ...
[ 0.0850830078125, 0.1190185546875, 0.0498046875, 0.0799560546875, 0.08624267578125, 0.1845703125, 0.17724609375, 0.134033203125, 0.2103271484375, 0.212890625, 0.1175537109375, 0.03369140625, 0.128173828125, 0.201904296875, 0.08154296875, 0.019683837890625, 0.03192138671875, 0.114501...
embed
65647675_c0
65647675
fsharp
0
Title: F# nameof for record property Problem title: F# nameof for record property Tags: f%23, nameof Problem: F# nameof for record property I'm trying to use the new nameof feature in F# 5.0 preview. It works for values but not for record properties, e.g.: type MyType { Id: int } let name = nameof MyType.Id This result...
F# nameof for record property F# nameof for record property f%23 nameof MyType MyType.Id FS0728 Field F# nameof for record property I'm trying to use the new nameof feature in F# 5.0 preview. It works for values but not for record properties, e.g.: This results in the error FS0728 Field 'Id' is not static I tried doing...
[ -0.00439453125, -0.01275634765625, 0.041748046875, 0.016357421875, -0.020263671875, -0.005767822265625, -0.0011444091796875, 0.006927490234375, 0.001495361328125, -0.00665283203125, 0.00469970703125, 0.0252685546875, -0.01055908203125, -0.01312255859375, 0.004638671875, -0.011596679687...
[ 563, 4904, 9351, 4390, 100, 17164, 57266, 1238, 3742, 2646, 196707, 568, 93774, 8368, 3882, 117657, 31577, 4527, 3525, 60213, 103932, 479, 22751, 43240, 142424, 1284, 959, 183871, 3293, 50339, 23, 18499, 71, 201939, 37842, 30022, 5361, 3917, ...
[ 0.16943359375, 0.2294921875, 0.237060546875, 0.333984375, 0.09478759765625, 0.2100830078125, 0.218017578125, 0.0911865234375, 0.1322021484375, 0.08966064453125, 0.23779296875, 0.1134033203125, 0.1834716796875, 0.105224609375, 0.253662109375, 0.2276611328125, 0.0263519287109375, 0.0...
embed
61718204_c0
61718204
fsharp
0
Title: Using a function in Array.map Problem title: Using a function in Array.map Tags: f%23 Problem: Using a function in Array.map I need a function that will replace a number (numberToBrake) of items in an array with the broken variant of a thing and return the new array of things. The function below seems like it sh...
Using a function in Array.map Using a function in Array.map f%23 Using Array.map BrakeThings BrokenThing HealthyThing Using a function in Array.map I need a function that will replace a number (numberToBrake) of items in an array with the broken variant of a thing and return the new array of things. The function below ...
[ -0.0184326171875, -0.00738525390625, 0.005706787109375, -0.00482177734375, 0.01531982421875, 0.0091552734375, -0.0225830078125, -0.000774383544921875, 0.017333984375, -0.01904296875, 0.0081787109375, -0.0032196044921875, -0.01904296875, 0.014892578125, 0.0140380859375, -0.025390625, ...
[ 345, 32354, 23, 69253, 53, 5, 62346, 6953, 1238, 3949, 3742, 6163, 350, 20800, 5180, 13177, 1098, 214, 19102, 3871, 1221, 91995, 14012, 2606, 1297, 7763, 49960, 111, 55769, 10298, 678, 148431, 20117, 13580, 30646, 3525, 8966, 35064, 37202, ...
[ 0.0870361328125, 0.238525390625, 0.035400390625, 0.1759033203125, 0.1573486328125, 0.02728271484375, 0.2344970703125, 0.041015625, 0.0704345703125, 0.04205322265625, 0.16064453125, 0.1868896484375, 0.1722412109375, 0.1580810546875, 0.1363525390625, 0.1363525390625, 0.1219482421875, ...
embed
6817852_c0
6817852
fsharp
0
Title: Handling Null Values in F# Problem title: Handling Null Values in F# Tags: f%23, interop, c%23, null Problem: Handling Null Values in F# I need to interop with some C# code with F#. Null is a possible value that it is given so I need to check if the value was null. The docs suggest using pattern matching as such...
Handling Null Values in F# Handling Null Values in F# f%23 interop c%23 null Handling Values Handling Null Values in F# I need to interop with some C# code with F#. Null is a possible value that it is given so I need to check if the value was null. The docs suggest using pattern matching as such: The problem I'm having...
[ 0.00164794921875, 0.00005698204040527344, 0.01483154296875, -0.0067138671875, -0.006988525390625, -0.00872802734375, 0.01312255859375, -0.016357421875, -0.007476806640625, 0.0113525390625, 0.00408935546875, 0.025390625, -0.0250244140625, 0.006622314453125, 0.0228271484375, 0.0011825561...
[ 193237, 1429, 1181, 190060, 563, 4904, 1238, 3742, 1940, 2146, 56574, 3871, 678, 18151, 83, 7722, 34292, 34475, 47, 12765, 2174, 509, 42459, 17368, 103510, 14858, 214, 6044, 2967, 19441, 70, 7311, 45646, 23, 313, 237, 54, 183234, 110, 100...
[ 0.2044677734375, 0.197509765625, 0.1839599609375, 0.213134765625, 0.1541748046875, 0.214599609375, 0.043182373046875, 0.0926513671875, 0.1060791015625, 0.173583984375, 0.2469482421875, 0.005401611328125, 0.07012939453125, 0.1361083984375, 0.01129150390625, 0.1593017578125, 0.16784667...
embed
7183903_c0
7183903
fsharp
0
Title: Function Application Operator ($) in F#? Problem title: Function Application Operator ($) in F#? Tags: functional-programming, f%23, .net Problem: Function Application Operator ($) in F#? Let's say I have this code let identifier = spaces_surrounded (many1Satisfy isLetter) I was wondering if it there was any nat...
Function Application Operator ($) in F#? Function Application Operator ($) in F#? functional-programming f%23 .net Application Operator spaces_surrounded many1Satisfy Function Application Operator ($) in F#? Let's say I have this code I was wondering if it there was any native F# function that allowed me to refactor it...
[ 0.0064697265625, 0.0125732421875, 0.01806640625, 0.00958251953125, -0.0164794921875, 0.00799560546875, -0.00970458984375, 0.0081787109375, 0.005615234375, -0.0308837890625, 0.0228271484375, 0.009033203125, -0.00787353515625, -0.00982666015625, -0.00628662109375, 0.00994873046875, 0.0...
[ 28670, 10763, 104921, 150922, 4369, 23, 563, 4904, 32, 123309, 28966, 214, 1238, 3949, 3742, 1179, 32628, 7102, 42, 167457, 5941, 418, 5464, 1814, 18929, 10842, 765, 903, 18151, 149016, 2174, 24, 4935, 32354, 107003, 163, 456, 144810, 47, ...
[ 0.177001953125, 0.1280517578125, 0.25341796875, 0.2783203125, 0.20751953125, 0.0955810546875, 0.166015625, 0.22314453125, 0.048675537109375, 0.2049560546875, 0.09698486328125, 0.00384521484375, 0.1241455078125, 0.076904296875, 0.156494140625, 0.14501953125, 0.21435546875, 0.0808105...
embed
12023349_c0
12023349
fsharp
0
Title: F# query for &quot;doesn&#x27;t contain&quot; Problem title: F# query for &quot;doesn&#x27;t contain&quot; Tags: f%23 Problem: F# query for "doesn't contain" There's a query to search for when an item is contained in a list, but there isn't one for when an item isn't. This query finds customer objects which don'...
F# query for &quot;doesn&#x27;t contain&quot; F# query for &quot;doesn&#x27;t contain&quot; f%23 ContactNum dc.Customers c.ContactNum F# query for "doesn't contain" There's a query to search for when an item is contained in a list, but there isn't one for when an item isn't. This query finds customer objects which don'...
[ 0.00567626953125, 0.021240234375, 0.01318359375, 0.0206298828125, -0.0185546875, 0.012939453125, 0.0096435546875, 0.0228271484375, 0.006256103515625, -0.002288818359375, -0.0234375, 0.018310546875, 0.01513671875, 0.00445556640625, 0.003082275390625, 0.0269775390625, -0.0107421875, ...
[ 563, 4904, 41, 1294, 100, 246, 90, 19, 3768, 18, 70541, 1238, 3742, 27627, 839, 316, 63749, 31648, 233695, 33938, 3229, 35735, 23, 5303, 1284, 56112, 7413, 43373, 36746, 765, 152462, 2606, 30646, 1660, 59463, 13319 ]
[ 0.1129150390625, 0.1907958984375, 0.13671875, 0.125244140625, 0.045989990234375, 0.0938720703125, 0.1015625, 0.076904296875, 0.0411376953125, 0.1392822265625, 0.21875, 0.024993896484375, 0.01116943359375, 0.1717529296875, 0.057342529296875, 0.10791015625, 0.1090087890625, 0.0360107...
embed
64276042_c1
64276042
fsharp
1
System.Math.Ceiling(x) - x <0.0001 -> [int (x + 1.0)] | _ when q < 0 -> [-q] // this is the line where I want to do it, not sure what to do tho | _ -> q :: float2cfrac (1.0 / r) printfn "%A" (float2cfrac (-71.0/23.0)) Edit: Moved code with comment and changed format of the code. Edit: I have now found the solution aft...
System.Math.Ceiling(x) - x <0.0001 -> [int (x + 1.0)] | _ when q < 0 -> [-q] // this is the line where I want to do it, not sure what to do tho | _ -> q :: float2cfrac (1.0 / r) printfn "%A" (float2cfrac (-71.0/23.0)) Edit: Moved code with comment and changed format of the code. Edit: I have now found the solution aft...
[ -0.0205078125, 0.0064697265625, -0.00189971923828125, -0.01385498046875, 0.008544921875, 0.01043701171875, 0.010009765625, -0.005279541015625, 0.0106201171875, 0.004241943359375, -0.026123046875, 0.0126953125, 0.007598876953125, -0.0027618408203125, 0.0032501220703125, 0.00245666503906...
[ 12353, 199450, 49203, 49725, 425, 20, 1022, 4426, 37509, 6746, 33079, 4288, 997, 53855, 101, 3229, 8096, 757, 9, 864, 4666, 13315, 7440, 3444, 54, 442, 959, 9077, 14461, 1984, 21917, 257, 304, 132076, 102107, 248, 1690, 28412, 14783, 3949...
[ 0.128173828125, 0.1617431640625, 0.1531982421875, 0.226806640625, 0.1160888671875, 0.096923828125, 0.1661376953125, 0.1529541015625, 0.161376953125, 0.18359375, 0.09423828125, 0.1912841796875, 0.11669921875, 0.2078857421875, 0.06195068359375, 0.1236572265625, 0.2052001953125, 0.148...
embed
29574218_c0
29574218
fsharp
0
Title: F# value shadowing - is it possible to disable value shadowing within the same scope Problem title: F# value shadowing - is it possible to disable value shadowing within the same scope Tags: f%23, shadowing Problem: F# value shadowing - is it possible to disable value shadowing within the same scope I spoted a b...
F# value shadowing - is it possible to disable value shadowing within the same scope F# value shadowing - is it possible to disable value shadowing within the same scope f%23 shadowing something_else F# value shadowing - is it possible to disable value shadowing within the same scope I spoted a bug in my own code becau...
[ 0.00836181640625, 0.01416015625, 0.01226806640625, 0.01531982421875, 0.00543212890625, -0.0034332275390625, -0.0166015625, 0.006011962890625, 0.0167236328125, -0.020263671875, -0.0223388671875, 0.044921875, 0.002197265625, -0.0003986358642578125, 0.023193359375, 0.00787353515625, 0.0...
[ 563, 4904, 34292, 208429, 214, 83, 7722, 2837, 2886, 28032, 5701, 70820, 1238, 3742, 9844, 5557, 13162, 54608, 10002, 18151, 43658, 64, 134665, 9351, 14534, 763, 360, 313, 27875, 9969, 1340, 3917, 47, 17366 ]
[ 0.13623046875, 0.2064208984375, 0.21484375, 0.229736328125, 0.1209716796875, 0.0369873046875, 0.1173095703125, 0.090576171875, 0.1614990234375, 0.101806640625, 0.0887451171875, 0.1705322265625, 0.068603515625, 0.1104736328125, 0.03460693359375, 0.04095458984375, 0.03857421875, 0.09...
embed
48091256_c0
48091256
fsharp
0
Title: Call F# `printfn` from C# Problem title: Call F# `printfn` from C# Tags: .net, string-formatting, c%23, f%23 Problem: Call F# `printfn` from C# How can I call F# printfn directly from C# code? I see there's a T PrintfModule.PrintFormat<T>(PrintfFormat<T, TextWriter, Unit,Unit> format) For example, I have F# asse...
Call F# `printfn` from C# Call F# `printfn` from C# .net string-formatting c%23 f%23 C# Call PrintfModule.PrintFormat PrintfFormat TextWriter Unit PrintfModule.PrintFormatLine Call F# `printfn` from C# How can I call F# printfn directly from C# code? I see there's a For example, I have F# assembly that defines x : In a...
[ -0.002960205078125, 0.0205078125, 0.0205078125, 0.0184326171875, -0.01177978515625, -0.0013427734375, 0.0233154296875, -0.011474609375, 0.0022735595703125, -0.015869140625, 0.0020904541015625, -0.0120849609375, -0.01544189453125, -0.00811767578125, 0.0205078125, -0.002288818359375, 0...
[ 26265, 563, 4904, 35662, 14783, 1295, 313, 1179, 79315, 51727, 1916, 3742, 1238, 39754, 420, 91616, 8782, 112079, 18, 102973, 24129, 46640, 93232, 11249, 831, 87, 11782, 28412, 105237, 18151, 89845, 38526, 61924, 1022, 3642, 159029, 183234, 2...
[ 0.1455078125, 0.14599609375, 0.234130859375, 0.196533203125, 0.256103515625, 0.1365966796875, 0.07135009765625, 0.116943359375, 0.1317138671875, 0.128662109375, 0.0216522216796875, 0.0252685546875, 0.04840087890625, 0.1522216796875, 0.07861328125, 0.055267333984375, 0.037933349609375...
embed