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
2287308_c0
2287308
fsharp
0
Title: Convert code from Lisp to F# Problem title: Convert code from Lisp to F# Tags: lisp, f%23 Problem: Convert code from Lisp to F# I have the following code in Lisp: (defun Is_List_Even (lista) (cond ((null lista) t) ((null (cadr lista)) nil) (t (Is_List_Even (cddr lista))))) Can someone help me to write in F#? I'm...
Convert code from Lisp to F# Convert code from Lisp to F# lisp f%23 Lisp Convert Is_List_Even Convert code from Lisp to F# I have the following code in Lisp: Can someone help me to write in F#? I'm new to F# and I'm in a hurry. Regards, Voicu.
[ -0.0169677734375, 0.01251220703125, -0.002532958984375, 0.0146484375, -0.0264892578125, 0.0242919921875, 0.000301361083984375, -0.004058837890625, -0.004241943359375, -0.0146484375, 0.0157470703125, -0.0272216796875, -0.00262451171875, 0.0172119140625, 0.00665283203125, 0.010009765625,...
[ 1657, 11549, 18151, 1295, 1261, 7008, 47, 563, 4904, 400, 1238, 3742, 2071, 154663, 1353, 25632, 4171, 22008, 4358, 33022, 23, 3525, 39, 3587, 1294, 180358, 22591, 1010 ]
[ 0.03668212890625, 0.14306640625, 0.201904296875, 0.061553955078125, 0.1572265625, 0.21826171875, 0.099365234375, 0.1490478515625, 0.2227783203125, 0.1158447265625, 0.05084228515625, 0.083740234375, 0.023773193359375, 0.18408203125, 0.07879638671875, 0.057281494140625, 0.0126037597656...
embed
18569656_c0
18569656
fsharp
0
Title: Explanation of Monad laws in F# Problem title: Explanation of Monad laws in F# Tags: monads, f%23 Problem: Explanation of Monad laws in F# Here is Explanation of Monad laws in Haskell. How do explain Monad laws in F#? bind (M, return) is equivalent to M. bind ((return x), f) is equivalent to f x. bind (bind (m, ...
Explanation of Monad laws in F# Explanation of Monad laws in F# monads f%23 Explanation Monad Explanation of Monad laws in F# Here is Explanation of Monad laws in Haskell. How do explain Monad laws in F#? bind (M, return) is equivalent to M. bind ((return x), f) is equivalent to f x. bind (bind (m, f),g) is equivalent ...
[ -0.0093994140625, 0.0184326171875, -0.003631591796875, 0.0191650390625, 0.0216064453125, -0.00112152099609375, 0.02685546875, 0.0106201171875, 0.004669189453125, 0.00958251953125, -0.005767822265625, -0.0235595703125, -0.0074462890625, 0.018798828125, 0.010986328125, -0.002655029296875...
[ 5443, 5868, 60331, 71, 131703, 563, 4904, 2667, 712, 1238, 3742, 23, 11853, 2320, 20625, 142508, 11249, 73342, 68557, 594, 4, 30646, 83, 183234, 47, 276, 65395, 1022, 89817, 39, 177, 16498, 420, 706 ]
[ 0.02203369140625, 0.134033203125, 0.17626953125, 0.16650390625, 0.18212890625, 0.117431640625, 0.19677734375, 0.1142578125, 0.124267578125, 0.1314697265625, 0.06878662109375, 0.044952392578125, 0.012298583984375, 0.0084228515625, 0.1065673828125, 0.217529296875, 0.002960205078125, ...
embed
28011153_c0
28011153
fsharp
0
Title: How to convert a tuple of numbers to float in F#? Problem title: How to convert a tuple of numbers to float in F#? Tags: f%23 Problem: How to convert a tuple of numbers to float in F#? Suppose I have a tuple of numbers: let mynum = (3, 5, 8.9, 45, 127.3) It's mixed int with float . In order to do calculations li...
How to convert a tuple of numbers to float in F#? How to convert a tuple of numbers to float in F#? f%23 How How to convert a tuple of numbers to float in F#? Suppose I have a tuple of numbers: It's mixed int with float . In order to do calculations like average , I have to convert them to float . How to do the convers...
[ -0.0040283203125, -0.013427734375, -0.00653076171875, 0.004669189453125, 0.0003376007080078125, -0.00958251953125, -0.004486083984375, 0.00164031982421875, 0.0167236328125, -0.00341796875, 0.00007915496826171875, 0.00177001953125, -0.00927734375, 0.03271484375, -0.004302978515625, -0.0...
[ 11249, 47, 96760, 370, 8705, 101935, 21917, 257, 23, 563, 4904, 111, 1238, 3949, 3742, 765, 17664, 297, 18, 678, 74481, 83080, 142477 ]
[ 0.0677490234375, 0.0877685546875, 0.15576171875, 0.1396484375, 0.2340087890625, 0.168701171875, 0.2056884765625, 0.1781005859375, 0.0704345703125, 0.1405029296875, 0.202880859375, 0.0076904296875, 0.07330322265625, 0.005401611328125, 0.1171875, 0.0126953125, 0.1318359375, 0.0204772...
embed
33630035_c0
33630035
fsharp
0
Title: Shortest way to initialize a dictionary Problem title: Shortest way to initialize a dictionary Tags: f%23 Problem: Shortest way to initialize a dictionary Is there a terser way to declare and initialize a dictionary in F#? let grid = Map.empty .Add(0, true).Add(1, true).Add(2, true) .Add(3, true).Add(4, false).A...
Shortest way to initialize a dictionary Shortest way to initialize a dictionary f%23 Shortest Map.empty Add Shortest way to initialize a dictionary Is there a terser way to declare and initialize a dictionary in F#?
[ -0.00555419921875, 0.0025482177734375, 0.004425048828125, -0.006072998046875, -0.0164794921875, -0.02685546875, 0.00982666015625, -0.021240234375, 0.004364013671875, 0.00311279296875, 0.03076171875, 0.01007080078125, -0.006591796875, 0.033203125, 0.0201416015625, 0.018310546875, -0.0...
[ 82990, 525, 3917, 61475, 20650, 45, 10763, 6635, 47, 1238, 3949, 3742, 42719, 33548, 939, 29117, 10, 704, 2189, 159978, 136, 23, 563, 4904 ]
[ 0.2174072265625, 0.1580810546875, 0.1300048828125, 0.212158203125, 0.1158447265625, 0.106201171875, 0.1890869140625, 0.123779296875, 0.058319091796875, 0.08624267578125, 0.031829833984375, 0.15185546875, 0.14892578125, 0.1248779296875, 0.056365966796875, 0.07000732421875, 0.003417968...
embed
51079733_c0
51079733
fsharp
0
Title: How to check if value is null or not in F# Problem title: How to check if value is null or not in F# Tags: f%23 Problem: How to check if value is null or not in F# Using this code as an example, how can I check if input is null or not? Similar code is throwing nullreference exception let private Method ( str:str...
How to check if value is null or not in F# How to check if value is null or not in F# f%23 How Method str:string a.Length-1 How to check if value is null or not in F# Using this code as an example, how can I check if input is null or not? Similar code is throwing nullreference exception
[ -0.000514984130859375, 0.01177978515625, 0.01507568359375, 0.0267333984375, 0.003173828125, 0.00052642822265625, 0.0224609375, -0.0186767578125, -0.007293701171875, -0.001953125, 0.00186920166015625, 0.005615234375, -0.0126953125, 0.0130615234375, 0.010986328125, -0.019775390625, 0.0...
[ 11249, 47, 12765, 2174, 34292, 83, 56574, 707, 959, 23, 563, 4904, 1238, 3742, 74644, 7704, 91693, 10, 449, 5759, 18151, 27781, 831, 107730, 104250, 239879, 131527 ]
[ 0.03387451171875, 0.085693359375, 0.1912841796875, 0.1143798828125, 0.219482421875, 0.1053466796875, 0.234130859375, 0.109130859375, 0.1551513671875, 0.06341552734375, 0.1474609375, 0.1871337890625, 0.07257080078125, 0.1201171875, 0.09423828125, 0.0906982421875, 0.148193359375, 0.0...
embed
59495380_c0
59495380
fsharp
0
Title: Where to download Paket.fsx Problem title: Where to download Paket.fsx Tags: paket, f%23, jupyter Problem: Where to download Paket.fsx I'm trying to load a package using F# scripts on Jupyter notebook environment, using Paket package manager. All of the sample scripts on the web pointing to the use of "Paket.fsx...
Where to download Paket.fsx Where to download Paket.fsx paket f%23 jupyter Where Paket.fsx Where to download Paket.fsx I'm trying to load a package using F# scripts on Jupyter notebook environment, using Paket package manager. All of the sample scripts on the web pointing to the use of "Paket.fsx" file. My question is ...
[ 0.017578125, 0.020751953125, -0.00567626953125, -0.000461578369140625, 0.001953125, 0.0184326171875, 0.037109375, 0.00909423828125, 0.000972747802734375, -0.026123046875, 0.0118408203125, -0.033935546875, 0.004486083984375, -0.00909423828125, 0.0072021484375, -0.00408935546875, 0.007...
[ 78662, 47, 7026, 50867, 5, 17447, 425, 13360, 1238, 3742, 1129, 6493, 720, 72367, 98169, 563, 4904, 26499, 3314, 74305, 65998, 31095, 121413, 6275, 4527, 155402, 126, 11435, 7440, 2046, 205956 ]
[ 0.09375, 0.051116943359375, 0.1590576171875, 0.264404296875, 0.05841064453125, 0.1788330078125, 0.19140625, 0.1810302734375, 0.055572509765625, 0.1278076171875, 0.0755615234375, 0.09686279296875, 0.1431884765625, 0.053619384765625, 0.1226806640625, 0.052001953125, 0.09918212890625, ...
embed
10674141_c0
10674141
fsharp
0
Title: Regular Expressions in F# Problem title: Regular Expressions in F# Tags: f%23, regex Problem: Regular Expressions in F# I want to write a regular expression in F# that represents strings which start & end with " and can have any sequence of Unicode characters not including double quote or newline. For example: "...
Regular Expressions in F# Regular Expressions in F# f%23 regex Regular Expressions Regular Expressions in F# I want to write a regular expression in F# that represents strings which start & end with " and can have any sequence of Unicode characters not including double quote or newline. For example: How can I do it?
[ -0.010009765625, 0.01190185546875, -0.002532958984375, 0.0196533203125, -0.0126953125, 0.0208740234375, 0.0103759765625, 0.0306396484375, 0.00933837890625, 0.00390625, -0.00360107421875, 0.00136566162109375, -0.00225830078125, 0.00653076171875, 0.007781982421875, 0.0220947265625, 0.0...
[ 47881, 42, 25129, 17514, 23, 563, 4904, 1238, 3949, 3742, 6835, 3355, 3444, 33022, 20324, 125195, 33636, 79315, 4034, 619, 3564, 678, 44, 831, 765, 2499, 40, 944, 219778, 124850, 959, 26719, 41929, 66747, 3525, 2256, 27781, 54 ]
[ 0.2425537109375, 0.0985107421875, 0.1849365234375, 0.05316162109375, 0.040374755859375, 0.154541015625, 0.2156982421875, 0.08380126953125, 0.062744140625, 0.1370849609375, 0.1138916015625, 0.1182861328125, 0.09466552734375, 0.1187744140625, 0.234130859375, 0.266357421875, 0.160522460...
embed
62974833_c0
62974833
fsharp
0
Title: Reference another F# Jupyter Notebook Problem title: Reference another F# Jupyter Notebook Tags: f%23, jupyter-notebook Problem: Reference another F# Jupyter Notebook Is there a way to reference functions from another F# Jupyter Notebook ? I see number of answers for doing the same in Python Notebooks, but can't...
Reference another F# Jupyter Notebook Reference another F# Jupyter Notebook f%23 jupyter-notebook Reference Jupyter Notebook Reference another F# Jupyter Notebook Is there a way to reference functions from another F# Jupyter Notebook ? I see number of answers for doing the same in Python Notebooks, but can't seem to fi...
[ 0.01318359375, 0.0159912109375, -0.00225830078125, 0.0184326171875, 0.018310546875, -0.0111083984375, 0.005828857421875, 0.0091552734375, -0.00616455078125, -0.02783203125, -0.006988525390625, 0.0009918212890625, -0.01458740234375, 0.03369140625, 0.01348876953125, -0.00714111328125, ...
[ 215996, 15700, 563, 4904, 3314, 6493, 720, 183098, 1238, 3949, 3742, 1129, 48345, 14137, 2071, 2685, 10, 3917, 47, 91067, 32354, 7, 1295, 705, 5701, 145581, 54, 23 ]
[ 0.2469482421875, 0.1328125, 0.1094970703125, 0.173095703125, 0.119873046875, 0.1153564453125, 0.1246337890625, 0.261962890625, 0.0628662109375, 0.003265380859375, 0.11767578125, 0.0888671875, 0.1304931640625, 0.0950927734375, 0.007415771484375, 0.004180908203125, 0.0171661376953125, ...
embed
13665497_c0
13665497
fsharp
0
Title: Example usage of Observable.GroupBy in F# Problem title: Example usage of Observable.GroupBy in F# Tags: system.reactive, f%23 Problem: Example usage of Observable.GroupBy in F# I'm trying to determine how to make use of the group by function in Reactive Extensions. Any chance someone has a simple example to ill...
Example usage of Observable.GroupBy in F# Example usage of Observable.GroupBy in F# system.reactive f%23 Example Observable.GroupBy system.reactive Example usage of Observable.GroupBy in F# I'm trying to determine how to make use of the group by function in Reactive Extensions. Any chance someone has a simple example t...
[ 0.0150146484375, 0.032470703125, 0.00136566162109375, -0.0003643035888671875, -0.01385498046875, 0.01068115234375, 0.00543212890625, 0.0184326171875, 0.00177764892578125, -0.013916015625, -0.00433349609375, -0.0322265625, 0.0003681182861328125, 0.017578125, -0.01373291015625, 0.0246582...
[ 89536, 8705, 127689, 87652, 2661, 5, 205072, 75358, 23, 563, 4904, 5426, 107, 71232, 1238, 3949, 3742, 3249, 4527, 21115, 390, 32354, 853, 224545, 8781, 27781, 58755, 11814 ]
[ 0.128662109375, 0.041839599609375, 0.1263427734375, 0.182861328125, 0.2010498046875, 0.004180908203125, 0.2103271484375, 0.237548828125, 0.033294677734375, 0.135009765625, 0.197998046875, 0.100830078125, 0.05426025390625, 0.190673828125, 0.083984375, 0.008392333984375, 0.099182128906...
embed
29747854_c0
29747854
fsharp
0
Title: For loop in list Problem title: For loop in list Tags: control-flow, f%23 Problem: For loop in list Poeple often use for i in [0 .. 10] do something but afaik that creates a list which is then iterated through, it appears to me it would make more sense to use for i = 0 to 10 do something without creating that un...
For loop in list For loop in list control-flow f%23 For loop in list Poeple often use but afaik that creates a list which is then iterated through, it appears to me it would make more sense to use without creating that unnecessary list but having the same behaviour. Am I missing something? (I guess that's the case)
[ 0.0159912109375, -0.01434326171875, -0.0103759765625, -0.0027008056640625, -0.000392913818359375, -0.004608154296875, 0.0135498046875, 0.01611328125, 0.003509521484375, -0.0181884765625, 0.008056640625, -0.00823974609375, 0.00823974609375, 0.00592041015625, 0.0010223388671875, -0.00704...
[ 1326, 40956, 23, 5303, 6226, 118664, 1238, 3949, 3742, 663, 13, 8705, 27983, 4527, 1284, 261, 11, 783, 450, 28282, 3129, 83, 7068, 17, 720, 27686, 8305, 135179, 163, 2806, 3249, 1286, 10422, 15490, 105233, 51, 86, 26531, 70, 5701, 22483...
[ 0.173095703125, 0.2418212890625, 0.08929443359375, 0.24462890625, 0.205078125, 0.217041015625, 0.10760498046875, 0.1123046875, 0.1844482421875, 0.027191162109375, 0.060791015625, 0.06793212890625, 0.1142578125, 0.144775390625, 0.0970458984375, 0.1619873046875, 0.1121826171875, 0.20...
embed
66610078_c0
66610078
fsharp
0
Title: A function that accepts multiple types Problem title: A function that accepts multiple types Tags: f%23 Problem: A function that accepts multiple types I am fairly new to f#, but I want to know if it is possible to make a function that accepts multiple types of variables. let add x y = x + y let integer = add 1 ...
A function that accepts multiple types A function that accepts multiple types f%23 A function that accepts multiple types I am fairly new to f#, but I want to know if it is possible to make a function that accepts multiple types of variables. Once a function use a type of variable it cannot accept another one.
[ -0.003814697265625, -0.009033203125, -0.007171630859375, 0.02294921875, 0.00347900390625, 0.0107421875, -0.005584716796875, -0.00537109375, 0.00067138671875, -0.03955078125, 0.02587890625, -0.037353515625, 0.007049560546875, 0.00830078125, 0.0130615234375, 0.009033203125, 0.003814697...
[ 62, 32354, 450, 26946, 7, 48716, 52895, 1238, 3949, 3742, 87, 444, 180663, 3525, 47, 4904, 3444, 3714, 2174, 442, 83, 7722, 3249, 77336, 76556, 4527, 10, 10644, 53418, 15700, 1632 ]
[ 0.1292724609375, 0.257080078125, 0.10528564453125, 0.2061767578125, 0.09039306640625, 0.23681640625, 0.268310546875, 0.107666015625, 0.081787109375, 0.151611328125, 0.004241943359375, 0.0146026611328125, 0.05572509765625, 0.0726318359375, 0.041595458984375, 0.175048828125, 0.05999755...
embed
60917630_c0
60917630
fsharp
0
Title: Parse the string into a list of tuples Problem title: Parse the string into a list of tuples Tags: f%23, functional-programming Problem: Parse the string into a list of tuples I am looking for a piece of code in F# that can parse this type of string: "x=1,y=42,A=[1,3,4,8]" into a list of tuples that looks like t...
Parse the string into a list of tuples Parse the string into a list of tuples f%23 functional-programming Parse Parse the string into a list of tuples I am looking for a piece of code in F# that can parse this type of string: "x=1,y=42,A=[1,3,4,8]" into a list of tuples that looks like this: [("x",1);("y",42);("A",1);(...
[ 0.0062255859375, -0.003326416015625, -0.0159912109375, 0.01544189453125, -0.0167236328125, 0.00103759765625, 0.004974365234375, -0.0133056640625, 0.0016021728515625, -0.0030670166015625, 0.0069580078125, -0.007720947265625, -0.0038604736328125, 0.0140380859375, -0.0072021484375, 0.0190...
[ 2392, 184, 79315, 3934, 10, 5303, 111, 370, 99726, 70, 1238, 3949, 3742, 123309, 28966, 16487, 100, 63847, 18151, 563, 4904, 831, 366, 903, 10644, 425, 33000, 53, 1369, 13023, 284, 418, 363, 116574, 33342, 1884, 617, 50490, 129745 ]
[ 0.16357421875, 0.110595703125, 0.2344970703125, 0.1689453125, 0.031707763671875, 0.1708984375, 0.09283447265625, 0.1707763671875, 0.265869140625, 0.001861572265625, 0.07958984375, 0.04052734375, 0.126220703125, 0.1517333984375, 0.11328125, 0.08251953125, 0.018218994140625, 0.036956...
embed
24840948_c0
24840948
fsharp
0
Title: When should I use let, member val and member this.? Problem title: When should I use let, member val and member this.? Tags: f%23 Problem: When should I use let, member val and member this.? F# has many different ways to define variables/members in types. When should I use let , member val and member this. in F#...
When should I use let, member val and member this.? When should I use let, member val and member this.? f%23 When When should I use let, member val and member this.? F# has many different ways to define variables/members in types. When should I use let , member val and member this. in F#, and what is the difference bet...
[ -0.000949859619140625, -0.01251220703125, 0.01129150390625, 0.0093994140625, -0.0019683837890625, 0.002044677734375, 0.0023345947265625, 0.0279541015625, 0.0052490234375, 0.015869140625, -0.00262451171875, -0.037109375, 0.0272216796875, 0.030517578125, 0.01531982421875, -0.0205078125, ...
[ 14847, 5608, 4527, 2633, 4, 32786, 3502, 136, 903, 87, 1238, 3949, 3742, 563, 4904, 5941, 12921, 48322, 61924, 77336, 39, 27417, 23, 52895, 60212, 17721, 201939, 842, 22819, 43032 ]
[ 0.1029052734375, 0.109375, 0.117431640625, 0.2208251953125, 0.04669189453125, 0.267578125, 0.216796875, 0.1177978515625, 0.120849609375, 0.03253173828125, 0.0555419921875, 0.009307861328125, 0.1104736328125, 0.1148681640625, 0.1898193359375, 0.01031494140625, 0.0784912109375, 0.038...
embed
28601572_c0
28601572
fsharp
0
Title: Is it possible to create database structure from F# code Problem title: Is it possible to create database structure from F# code Tags: f%23 Problem: Is it possible to create database structure from F# code I am using SQL Provider to work with Access/SQL Server databases: insert and retrieve data. I am just wonde...
Is it possible to create database structure from F# code Is it possible to create database structure from F# code f%23 F# Is it possible to create database structure from F# code I am using SQL Provider to work with Access/SQL Server databases: insert and retrieve data. I am just wondering if it is possible to create d...
[ 0.0242919921875, 0.0203857421875, -0.0019378662109375, -0.0035858154296875, -0.00738525390625, 0.01092529296875, 0.0004558563232421875, -0.017333984375, 0.003875732421875, -0.031982421875, 0.0059814453125, 0.004486083984375, 0.00677490234375, -0.01080322265625, 0.01324462890625, -0.007...
[ 2071, 442, 7722, 47, 28282, 63399, 45646, 1295, 563, 4904, 18151, 1238, 3949, 3742, 17368, 80866, 123089, 42, 4488, 678, 40266, 158897, 22687, 7, 183540, 136, 3996, 2053, 149016, 22819, 63262, 75, 31304 ]
[ 0.0731201171875, 0.077880859375, 0.169677734375, 0.04669189453125, 0.1436767578125, 0.1951904296875, 0.2362060546875, 0.1114501953125, 0.1640625, 0.22216796875, 0.178466796875, 0.08148193359375, 0.011138916015625, 0.102783203125, 0.039154052734375, 0.117431640625, 0.10491943359375, ...
embed
483900_c0
483900
fsharp
0
Title: Examples of using F# to query Entity Framework Problem title: Examples of using F# to query Entity Framework Tags: .net, entity-framework, f%23 Problem: Examples of using F# to query Entity Framework I'm looking all over Google to find an example or tutorial about using F# to query an Entity data source. Honestl...
Examples of using F# to query Entity Framework Examples of using F# to query Entity Framework .net entity-framework f%23 F# Examples Entity Framework Examples of using F# to query Entity Framework I'm looking all over Google to find an example or tutorial about using F# to query an Entity data source. Honestly I haven'...
[ 0.045654296875, 0.0242919921875, 0.007659912109375, -0.0034332275390625, -0.00151824951171875, 0.0096435546875, 0.000392913818359375, 0.006927490234375, 0.00011205673217773438, -0.04150390625, -0.0064697265625, -0.0169677734375, -0.002685546875, 0.008056640625, 0.007598876953125, 0.019...
[ 89536, 99726, 17368, 563, 4904, 47, 41, 1294, 16511, 2481, 202220, 1179, 77630, 939, 160328, 18244, 1238, 3949, 3742, 1815, 27781, 57143, 2053, 31344, 84434 ]
[ 0.1488037109375, 0.06121826171875, 0.073974609375, 0.1724853515625, 0.250732421875, 0.0328369140625, 0.1170654296875, 0.109375, 0.1337890625, 0.1287841796875, 0.2314453125, 0.10888671875, 0.111572265625, 0.05572509765625, 0.098388671875, 0.044525146484375, 0.0810546875, 0.017654418...
embed
33649986_c0
33649986
fsharp
0
Title: How to update a value with the result from a function Problem title: How to update a value with the result from a function Tags: f%23, logic, replace Problem: How to update a value with the result from a function let rec insert v i l = match i, l with | 0, xs -> v::xs | i, x::xs -> x::insert v (i - 1) xs | i, []...
How to update a value with the result from a function How to update a value with the result from a function f%23 logic replace a How v::xs x::xs x::insert x::remove s-1 r-1 How to update a value with the result from a function The su value looks as follows: The goal is to replace one of the lists in su, with the new li...
[ -0.031005859375, 0.005462646484375, 0.00482177734375, -0.0062255859375, -0.0032501220703125, 0.004913330078125, -0.03857421875, -0.00927734375, 0.023681640625, -0.001861572265625, 0.0208740234375, 0.019775390625, -0.01324462890625, -0.0294189453125, 0.0272216796875, -0.01513671875, 0...
[ 11249, 47, 28350, 34292, 678, 70, 16750, 1295, 32354, 10, 1238, 3949, 3742, 62775, 91995, 81, 425, 1022, 7, 73, 33657, 26973, 272, 91, 5759, 1690, 166, 33342, 237, 28960, 69236, 83, 5303, 3525, 139392, 57, 5, 7228, 221, 2060, 11782, 4...
[ 0.0889892578125, 0.06024169921875, 0.23095703125, 0.222412109375, 0.188720703125, 0.031951904296875, 0.1983642578125, 0.1580810546875, 0.208251953125, 0.030517578125, 0.12548828125, 0.093505859375, 0.1881103515625, 0.1922607421875, 0.1968994140625, 0.1697998046875, 0.05419921875, 0...
embed
15858408_c0
15858408
fsharp
0
Title: F# round up to a specific number of decimal places Problem title: F# round up to a specific number of decimal places Tags: rounding, f%23 Problem: F# round up to a specific number of decimal places for example I can use System.Math.Round((float),2) to round my float to the nearest 2 decimal places, but is there ...
F# round up to a specific number of decimal places F# round up to a specific number of decimal places rounding f%23 System.Math.Round F# round up to a specific number of decimal places for example I can use System.Math.Round((float),2) to round my float to the nearest 2 decimal places, but is there anyway in F# that i ...
[ 0.00494384765625, 0.0037078857421875, 0.00341796875, -0.0186767578125, 0.00250244140625, 0.00213623046875, 0.01373291015625, -0.0023040771484375, 0.020751953125, 0.01171875, -0.0126953125, 0.01165771484375, 0.004058837890625, 0.01708984375, 0.01806640625, 0.00701904296875, -0.0071716...
[ 563, 4904, 68807, 1257, 47, 29458, 14012, 32380, 2749, 44677, 1238, 3949, 3742, 12353, 199450, 12724, 7030, 831, 4527, 52347, 257, 10461, 21917, 43573, 525, 116, 109954, 23 ]
[ 0.146728515625, 0.21533203125, 0.2171630859375, 0.124267578125, 0.0955810546875, 0.1226806640625, 0.07122802734375, 0.1807861328125, 0.1163330078125, 0.1595458984375, 0.09429931640625, 0.040283203125, 0.15625, 0.1112060546875, 0.0867919921875, 0.1201171875, 0.1524658203125, 0.04748...
embed
11288257_c0
11288257
fsharp
0
Title: So is everything an expression in F#? Problem title: So is everything an expression in F#? Tags: f%23, unit-type Problem: So is everything an expression in F#? I am looking at the following F# line for i = 0 to i=10 do Console.WriteLine("Hello") An I am wondering that isn't the above line a statement as opposed ...
So is everything an expression in F#? So is everything an expression in F#? f%23 unit-type Console.WriteLine Hello So is everything an expression in F#? I am looking at the following F# line An I am wondering that isn't the above line a statement as opposed to an expression? Shouldn't everything be an expression in F#?
[ 0.0123291015625, -0.01055908203125, 0.0059814453125, 0.0079345703125, 0.0003108978271484375, -0.0166015625, 0.0166015625, -0.00130462646484375, -0.01177978515625, 0.0028228759765625, -0.0228271484375, -0.0123291015625, 0.003753662109375, 0.000537872314453125, -0.003936767578125, 0.0145...
[ 1061, 83, 26818, 142, 125195, 23, 563, 4904, 1238, 3949, 3742, 25072, 50986, 40777, 18781, 93232, 35378, 25632, 13315, 149016, 56112, 18, 36917, 10, 63805, 233, 144429, 151117, 186 ]
[ 0.06817626953125, 0.060546875, 0.1951904296875, 0.09002685546875, 0.27880859375, 0.091552734375, 0.1341552734375, 0.21826171875, 0.06494140625, 0.003173828125, 0.0892333984375, 0.1279296875, 0.0980224609375, 0.1058349609375, 0.0113525390625, 0.1270751953125, 0.035125732421875, 0.02...
embed
10228894_c0
10228894
fsharp
0
Title: Alternatives to functors in F# Problem title: Alternatives to functors in F# Tags: f%23, functor Problem: Alternatives to functors in F# I would like to write the following: module A = type Token let foo Token = module B = type Token let foo Token = let run (m : module) = m.B |> m.foo basically a function that's...
Alternatives to functors in F# Alternatives to functors in F# f%23 functor Alternatives Token m.B m.foo Alternatives to functors in F# I would like to write the following: basically a function that's generic in the module. Is there a way to do this in F#?
[ 0.00909423828125, 0.0125732421875, 0.01080322265625, 0.007598876953125, 0.01904296875, -0.0177001953125, -0.00909423828125, -0.004608154296875, -0.00115203857421875, -0.043701171875, -0.004058837890625, 0.027099609375, 0.00653076171875, -0.00012302398681640625, 0, -0.01116943359375, ...
[ 103905, 47, 7477, 18770, 7, 563, 4904, 1238, 3949, 3742, 717, 1098, 347, 571, 3584, 31, 23, 2806, 1884, 33022, 25632, 198343, 10, 32354, 450, 189534, 88996, 3917, 54, 903 ]
[ 0.1805419921875, 0.06097412109375, 0.164306640625, 0.2073974609375, 0.052154541015625, 0.1478271484375, 0.2275390625, 0.091064453125, 0.044219970703125, 0.1463623046875, 0.05670166015625, 0.1480712890625, 0.02984619140625, 0.05645751953125, 0.154052734375, 0.1165771484375, 0.12011718...
embed
286427_c0
286427
fsharp
0
Title: Calculating permutations in F# Problem title: Calculating permutations in F# Tags: algorithm, f%23, permutation Problem: Calculating permutations in F# Inspired by this question and answer , how do I create a generic permutations algorithm in F#? Google doesn't give any useful answers to this. EDIT: I provide my...
Calculating permutations in F# Calculating permutations in F# algorithm f%23 permutation Calculating Calculating permutations in F# Inspired by this question and answer , how do I create a generic permutations algorithm in F#? Google doesn't give any useful answers to this. EDIT: I provide my best answer below, but I s...
[ 0.0089111328125, 0.01336669921875, 0.0022735595703125, -0.015380859375, -0.007568359375, -0.00872802734375, -0.0274658203125, -0.0118408203125, 0.006256103515625, -0.03515625, -0.0164794921875, 0.006744384765625, 0.024658203125, 0.0203857421875, -0.0263671875, 0.00153350830078125, -0...
[ 212467, 26518, 117, 14311, 21094, 23, 563, 4904, 234873, 1238, 3949, 3742, 561, 22062, 156241, 390, 9655, 136, 35166, 3642, 54, 87, 28282, 189534, 1815, 18, 8337, 80234, 903, 172864, 22691, 2965, 35064, 1284, 92610, 92858, 11522, 106290, 73...
[ 0.2083740234375, 0.0889892578125, 0.1737060546875, 0.2486572265625, 0.134765625, 0.06512451171875, 0.1563720703125, 0.2403564453125, 0.240234375, 0.1300048828125, 0.096923828125, 0.1973876953125, 0.1998291015625, 0.05218505859375, 0.07342529296875, 0.004791259765625, 0.01579284667968...
embed
8283213_c0
8283213
fsharp
0
Title: F#. Tuple or not Problem title: F#. Tuple or not Tags: f%23, tuples, matching, types Problem: F#. Tuple or not I’ve just started learning F#. I wonder how can I determine whether the argument of a function is a tuple? let tuple = (1, 2) let notTuple = 3 let isTuple t = // returns 'true' if t is a tuple, 'false' ...
F#. Tuple or not F#. Tuple or not f%23 tuples matching types Tuple F#. Tuple or not I’ve just started learning F#. I wonder how can I determine whether the argument of a function is a tuple?
[ 0.007354736328125, 0.01458740234375, 0.0186767578125, 0.0029449462890625, 0.000316619873046875, 0.0022735595703125, -0.0189208984375, -0.00433349609375, 0.018798828125, 0.00909423828125, 0.005401611328125, 0.00848388671875, -0.006683349609375, 0.021728515625, 0.003021240234375, 0.01892...
[ 563, 4904, 1371, 8705, 707, 959, 1238, 3949, 3742, 370, 99726, 14858, 214, 52895, 52080, 32195, 83324, 36766, 10750, 32354, 83, 10 ]
[ 0.144775390625, 0.2056884765625, 0.1685791015625, 0.258056640625, 0.0821533203125, 0.1217041015625, 0.1151123046875, 0.03350830078125, 0.0867919921875, 0.1488037109375, 0.1839599609375, 0.1234130859375, 0.0367431640625, 0.162109375, 0.04962158203125, 0.0234375, 0.0977783203125, 0.0...
embed
42776234_c1
42776234
fsharp
1
This is what I need: "DocumentInfo": { "docId": "77fb9dd0-bfbe-42e0-9d29-d5b1f5f0a9f7", "docType": "Monkey Business", "docName": "mb.doc", "docContent": "why cant it just give me the values?" } Thank you :-) Code signals: json.net, config.Formatters.JsonFormatter.SerializerSettings, JsonSerializerSettings, JsonConvert...
This is what I need: "DocumentInfo": { "docId": "77fb9dd0-bfbe-42e0-9d29-d5b1f5f0a9f7", "docType": "Monkey Business", "docName": "mb.doc", "docContent": "why cant it just give me the values?" } Thank you :-) Code signals: json.net, config.Formatters.JsonFormatter.SerializerSettings, JsonSerializerSettings, JsonConvert...
[ -0.007110595703125, 0.01202392578125, -0.0283203125, -0.018798828125, 0.000370025634765625, -0.01190185546875, 0.00147247314453125, -0.00104522705078125, 0.007476806640625, 0.020751953125, 0.0028228759765625, 0.0130615234375, -0.0286865234375, -0.0174560546875, 0.01507568359375, 0.0094...
[ 3293, 2367, 3871, 239469, 93147, 29713, 71, 14546, 1126, 150598, 372, 124596, 15205, 4235, 196707, 46674, 19770, 14249, 163612, 6492, 5, 44, 11935, 25352, 12, 3038, 45767, 1660, 8337, 163, 70, 142424, 25689, 7289, 28864, 26073, 1647, 1681, ...
[ 0.01141357421875, 0.0330810546875, 0.1429443359375, 0.248046875, 0.281494140625, 0.213623046875, 0.019012451171875, 0.101806640625, 0.0135498046875, 0.0625, 0.053802490234375, 0.0972900390625, 0.03662109375, 0.1285400390625, 0.1583251953125, 0.0833740234375, 0.156005859375, 0.21032...
embed
19179839_c2
19179839
fsharp
2
.FromOADate dtsvec.[i]) -> res.[i] <- res.[i] + d | "Offpeak" when not poindicator (DateTime.FromOADate dtsvec.[i]) -> res.[i] <- res.[i] + d | _ -> failwith "Not recognized tarif" |_ -> Code signals: futures, Creating, Base, Peak, Offpeak, group_fold, Seq.groupBy, Seq.map, key1, key2, key3, Seq.fold, DateTime.FromOADa...
.FromOADate dtsvec.[i]) -> res.[i] <- res.[i] + d | "Offpeak" when not poindicator (DateTime.FromOADate dtsvec.[i]) -> res.[i] <- res.[i] + d | _ -> failwith "Not recognized tarif" |_ -> Code signals: futures, Creating, Base, Peak, Offpeak, group_fold, Seq.groupBy, Seq.map, key1, key2, key3, Seq.fold, DateTime.FromOADa...
[ 0.0157470703125, 0.010009765625, -0.00286865234375, 0.01385498046875, 0.029296875, -0.0103759765625, -0.0274658203125, 0.0380859375, -0.0033111572265625, -0.0022430419921875, -0.03369140625, 0.0252685546875, -0.0185546875, 0.0224609375, -0.0137939453125, -0.017333984375, -0.002914428...
[ 5, 168407, 44593, 86291, 104, 933, 35259, 14, 33079, 3332, 997, 150369, 1081, 344, 3229, 959, 160, 69442, 1290, 70059, 35782, 76228, 122116, 125296, 12433, 28864, 26073, 22690, 56781, 1916, 44978, 162737, 9791, 21115, 42822, 864, 51588, 75358...
[ 0.037353515625, 0.135009765625, 0.1888427734375, 0.195068359375, 0.10150146484375, 0.0762939453125, 0.206787109375, 0.00482177734375, 0.034149169921875, 0.1268310546875, 0.0721435546875, 0.203369140625, 0.1968994140625, 0.1707763671875, 0.06658935546875, 0.1529541015625, 0.1088867187...
embed
31260120_c0
31260120
fsharp
0
Title: C# lambda (=&gt;) syntax in F# Problem title: C# lambda (=&gt;) syntax in F# Tags: syntax, operator-overloading, lambda, f%23, c%23 Problem: C# lambda (=>) syntax in F# Is it possible to define an => operator in F# so that it behaves like C#'s lambda syntax? This would allow one to write x => y instead of fun x ...
C# lambda (=&gt;) syntax in F# C# lambda (=&gt;) syntax in F# syntax operator-overloading lambda f%23 c%23 C# lambda (=>) syntax in F# Is it possible to define an => operator in F# so that it behaves like C#'s lambda syntax? This would allow one to write instead of I'm an F# beginner, and my instinct tells me this isn'...
[ 0.0007476806640625, 0.01239013671875, 0.021240234375, -0.017822265625, 0.002532958984375, -0.005523681640625, 0.01202392578125, 0.00102996826171875, -0.010009765625, -0.0269775390625, -0.00677490234375, 0.00103759765625, -0.0135498046875, -0.01708984375, 0.01043701171875, -0.0085449218...
[ 313, 4904, 21, 6492, 85, 78690, 1230, 5386, 16, 6002, 86531, 23, 563, 39933, 5465, 63033, 214, 1238, 3742, 2740, 2071, 442, 7722, 61924, 142, 44357, 68991, 7, 1884, 2806, 63769, 33022, 64457, 87, 39, 9842, 1679, 4, 759, 218024, 14192, ...
[ 0.03643798828125, 0.2357177734375, 0.072265625, 0.205078125, 0.15380859375, 0.0958251953125, 0.012969970703125, 0.1217041015625, 0.029052734375, 0.133544921875, 0.177001953125, 0.0799560546875, 0.1595458984375, 0.260009765625, 0.0899658203125, 0.1739501953125, 0.0028076171875, 0.07...
embed
1210125_c0
1210125
fsharp
0
Title: Is there any F# IDE that works over Mono? Problem title: Is there any F# IDE that works over Mono? Tags: mono, ide, f%23 Problem: Is there any F# IDE that works over Mono? I am using F# on a Mac and I wonder kbow if there is any F# IDE that works over mono (not a general purpose editor). It seems that there is a...
Is there any F# IDE that works over Mono? Is there any F# IDE that works over Mono? mono ide f%23 IDE Mono Is there any F# IDE that works over Mono? I am using F# on a Mac and I wonder kbow if there is any F# IDE that works over mono (not a general purpose editor). It seems that there is an addon for MonoDelvelop , but...
[ 0.002410888671875, 0.01385498046875, 0.0120849609375, 0.0108642578125, 0.00714111328125, 0.0189208984375, 0.00689697265625, 0.002899169921875, -0.0126953125, -0.01019287109375, 0.0162353515625, -0.01416015625, 0.002960205078125, 0.0191650390625, 0.01202392578125, -0.00799560546875, -...
[ 2685, 2499, 563, 4904, 6, 36497, 450, 43240, 645, 77879, 22460, 5415, 1238, 3949, 3742, 2071, 17368, 98, 4727, 32195, 84201, 4537, 60042, 30391, 1650, 606, 4445, 58598, 2601, 2146, 90638, 199015 ]
[ 0.0225982666015625, 0.083740234375, 0.173583984375, 0.2451171875, 0.0537109375, 0.259521484375, 0.05682373046875, 0.1240234375, 0.1451416015625, 0.245849609375, 0.218994140625, 0.17578125, 0.122314453125, 0.00701904296875, 0.082763671875, 0.001678466796875, 0.03240966796875, 0.0221...
embed
16998882_c0
16998882
fsharp
0
Title: sql type provider, limit to few tables Problem title: sql type provider, limit to few tables Tags: type-providers, f%23 Problem: sql type provider, limit to few tables Is it possible to limit a sql type provider connection to a few tables? I'm dealing with a huge unsound legacy database. I only want the type pro...
sql type provider, limit to few tables sql type provider, limit to few tables type-providers f%23 sql type provider, limit to few tables Is it possible to limit a sql type provider connection to a few tables? I'm dealing with a huge unsound legacy database. I only want the type provider to analyze a tiny subset of the ...
[ 0.0166015625, 0.01116943359375, -0.006744384765625, 0.006317138671875, -0.0245361328125, 0.00885009765625, -0.0145263671875, -0.0079345703125, 0.017333984375, -0.00396728515625, 0.005523681640625, -0.01055908203125, 0.00023365020751953125, -0.0008544921875, 0.000614166259765625, 0.0115...
[ 99247, 10644, 81450, 17475, 47, 10846, 23180, 91, 93136, 14202, 1238, 3742, 2071, 442, 7722, 94878, 184017, 51, 165207, 3257, 63399, 4734, 3444, 7968, 57278, 1614, 3509, 33636, 241463, 28271, 61924, 35978 ]
[ 0.1995849609375, 0.2236328125, 0.246826171875, 0.226806640625, 0.10791015625, 0.2017822265625, 0.224365234375, 0.026092529296875, 0.15234375, 0.003753662109375, 0.002166748046875, 0.0614013671875, 0.003997802734375, 0.02667236328125, 0.1285400390625, 0.174560546875, 0.014785766601562...
embed
3754862_c0
3754862
fsharp
0
Title: Use of `inline` in F# Problem title: Use of `inline` in F# Tags: types, f%23, inline Problem: Use of `inline` in F# The inline keyword in F# seems to me to have a somewhat different purpose than what I'm used to in e.g. C. For example, it seems to affect a function's type (what are "statically resolved type para...
Use of `inline` in F# Use of `inline` in F# types f%23 inline Use Use of `inline` in F# The inline keyword in F# seems to me to have a somewhat different purpose than what I'm used to in e.g. C. For example, it seems to affect a function's type (what are "statically resolved type parameters"? Aren't all F# types resolv...
[ 0.016845703125, -0.01055908203125, 0.0087890625, -0.01226806640625, -0.01055908203125, 0.0017242431640625, -0.00927734375, 0.000044345855712890625, 0.00665283203125, -0.0234375, 0.0242919921875, -0.016357421875, -0.0036773681640625, 0.006103515625, 0.0142822265625, 0.00051116943359375,...
[ 36836, 73, 2256, 23, 563, 4904, 52895, 1238, 3949, 3742, 166117, 37202, 208806, 12921, 60042, 11814, 313, 52490, 32354, 10644, 17346, 103608, 171859, 756, 71, 13254, 71407, 14847, 17368 ]
[ 0.1031494140625, 0.1776123046875, 0.263916015625, 0.1583251953125, 0.1383056640625, 0.2291259765625, 0.1685791015625, 0.0625, 0.009124755859375, 0.09930419921875, 0.1949462890625, 0.0068359375, 0.0153350830078125, 0.06524658203125, 0.14306640625, 0.039764404296875, 0.0203857421875, ...
embed
26956715_c0
26956715
fsharp
0
Title: F# and EF6 async Problem title: F# and EF6 async Tags: f%23, entity-framework Problem: F# and EF6 async I have a project structure where my data access code is in C# and a service project, which depends on the data access, is in F# . The data access project uses entity framework 6.1 In F# I cannot see any of the...
F# and EF6 async F# and EF6 async f%23 entity-framework EF6 F# and EF6 async I have a project structure where my data access code is in C# and a service project, which depends on the data access, is in F# . The data access project uses entity framework 6.1 In F# I cannot see any of the async methods for IQueryable? Do ...
[ 0.008544921875, 0.0164794921875, 0.01397705078125, -0.0252685546875, -0.00860595703125, 0.000652313232421875, 0.002166748046875, 0.0084228515625, -0.000736236572265625, -0.01116943359375, 0.01007080078125, 0.003448486328125, -0.0020904541015625, 0.000553131103515625, 0.0194091796875, -...
[ 563, 4904, 136, 51779, 910, 10, 12654, 238, 1238, 3742, 77630, 939, 160328, 18244, 13452, 45646, 759, 2053, 17203, 18151, 23, 4516, 56566, 4527, 170846, 91532, 53418, 1957, 150624, 87, 41732, 1294, 2886, 15190, 91067, 15700 ]
[ 0.1494140625, 0.2305908203125, 0.1090087890625, 0.195068359375, 0.2076416015625, 0.0606689453125, 0.218017578125, 0.10986328125, 0.0753173828125, 0.094970703125, 0.1171875, 0.0535888671875, 0.0919189453125, 0.0292816162109375, 0.123291015625, 0.1285400390625, 0.0009765625, 0.050018...
embed
6099027_c0
6099027
fsharp
0
Title: Can exception types be generic? Problem title: Can exception types be generic? Tags: f%23, generics, exception Problem: Can exception types be generic? I've tried the following, which don't work. exception MyError<'a> of 'a exception 'a MyError of 'a Do I have to use the long form: type MyError<'a>(value) = inhe...
Can exception types be generic? Can exception types be generic? f%23 generics exception MyError System.Exception Can this.Value Can exception types be generic? I've tried the following, which don't work. Do I have to use the long form:
[ 0.0009613037109375, 0.03515625, -0.00885009765625, -0.024658203125, 0.01483154296875, -0.00170135498046875, -0.000934600830078125, -0.00701904296875, 0.00830078125, -0.004791259765625, -0.0108642578125, -0.00982666015625, 0.007110595703125, -0.0233154296875, 0.0087890625, -0.0120239257...
[ 4171, 131527, 52895, 186, 189534, 1238, 3949, 3742, 2646, 18468, 31611, 12353, 19279, 63928, 903, 5, 856, 50770, 37842, 70, 25632, 18, 4488, 765, 4527, 4989, 3173 ]
[ 0.09423828125, 0.2484130859375, 0.248046875, 0.11083984375, 0.26904296875, 0.056304931640625, 0.05377197265625, 0.128662109375, 0.072509765625, 0.066650390625, 0.08355712890625, 0.10693359375, 0.0831298828125, 0.159912109375, 0.112060546875, 0.01129150390625, 0.0748291015625, 0.127...
embed
12592281_c0
12592281
fsharp
0
Title: How do I test whether a sequence is infinite in F#? Problem title: How do I test whether a sequence is infinite in F#? Tags: f%23 Problem: How do I test whether a sequence is infinite in F#? If I have a sequence that gets generated by a recursive function, like so: let rec genConst t = seq { yield t ; yield! gen...
How do I test whether a sequence is infinite in F#? How do I test whether a sequence is infinite in F#? f%23 How How do I test whether a sequence is infinite in F#? If I have a sequence that gets generated by a recursive function, like so: how can I test whether the length of inf is infinite or not?
[ -0.01263427734375, 0.014892578125, 0.009033203125, 0.00732421875, 0.006866455078125, -0.0272216796875, -0.00311279296875, 0.004638671875, 0.00022029876708984375, -0.0341796875, 0.003021240234375, 0.0240478515625, 0.00390625, 0.01806640625, 0.01190185546875, 0.01092529296875, 0.007751...
[ 11249, 54, 87, 3034, 36766, 40, 944, 3956, 83, 54241, 13, 23, 563, 4904, 10, 1238, 3949, 3742, 139392, 195625, 5844, 32354, 221, 3642, 831, 140909, 111, 34128, 959 ]
[ 0.06817626953125, 0.037689208984375, 0.054718017578125, 0.234375, 0.122802734375, 0.1080322265625, 0.1800537109375, 0.1474609375, 0.05792236328125, 0.18408203125, 0.14501953125, 0.08447265625, 0.1427001953125, 0.2230224609375, 0.00860595703125, 0.06610107421875, 0.0236968994140625, ...
embed
2443268_c0
2443268
fsharp
0
Title: How to convert from System.Int32 to System.UInt16 in F# Problem title: How to convert from System.Int32 to System.UInt16 in F# Tags: .net, f%23 Problem: How to convert from System.Int32 to System.UInt16 in F# Is there a better (shorter?) way than the following? let cpucount = System.UInt16.Parse( reader.GetInt32...
How to convert from System.Int32 to System.UInt16 in F# How to convert from System.Int32 to System.UInt16 in F# .net f%23 System.Int32 How System.UInt16 System.UInt16.Parse reader.GetInt32 ToString How to convert from System.Int32 to System.UInt16 in F# Is there a better (shorter?) way than the following?
[ -0.0115966796875, -0.0223388671875, 0.00189208984375, -0.00179290771484375, 0.00396728515625, -0.0036163330078125, -0.003875732421875, -0.0196533203125, 0.007568359375, -0.00836181640625, 0.007415771484375, -0.003448486328125, 0.00112152099609375, 0.00921630859375, 0.02880859375, -0.01...
[ 11249, 47, 96760, 1295, 12353, 4153, 18, 6460, 33457, 660, 2485, 23, 563, 4904, 5, 1179, 1238, 3742, 28636, 155255, 724, 126, 717, 71713, 214, 11522, 186500, 56, 3917, 25632 ]
[ 0.045562744140625, 0.1094970703125, 0.1773681640625, 0.1002197265625, 0.1854248046875, 0.0814208984375, 0.1488037109375, 0.275390625, 0.048583984375, 0.11865234375, 0.2352294921875, 0.0645751953125, 0.1361083984375, 0.2176513671875, 0.0074462890625, 0.13134765625, 0.038116455078125, ...
embed
7919164_c0
7919164
fsharp
0
Title: why function call returns error? Problem title: why function call returns error? Tags: f%23 Problem: why function call returns error? I am trying out the following code in F# interactive and getting 'error FS0001: the type 'int -> int' does not match the type 'int'. Here is the code I am trying > let rec factori...
why function call returns error? why function call returns error? f%23 why function call returns error? I am trying out the following code in F# interactive and getting 'error FS0001: the type 'int -> int' does not match the type 'int'. Here is the code I am trying This is off of 'F3 for scientist' book example. Thanks...
[ -0.0130615234375, 0.00390625, 0.0111083984375, 0.0033111572265625, 0.00933837890625, -0.01019287109375, 0.00787353515625, -0.01007080078125, -0.0064697265625, -0.035400390625, 0.017333984375, -0.00640869140625, -0.0030975341796875, -0.0115966796875, 0.037109375, -0.004913330078125, 0...
[ 15400, 32354, 11782, 30646, 7, 18499, 1238, 3949, 3742, 31577, 25632, 18151, 563, 4904, 212398, 188800, 93774, 188735, 70, 10644, 4288, 33079, 23, 18, 25, 14602, 959, 14858, 919, 363, 100, 172647, 12877, 27781 ]
[ 0.1536865234375, 0.18896484375, 0.188720703125, 0.197265625, 0.060699462890625, 0.1982421875, 0.111083984375, 0.05804443359375, 0.1702880859375, 0.042816162109375, 0.005584716796875, 0.086669921875, 0.071533203125, 0.1556396484375, 0.1158447265625, 0.1622314453125, 0.1356201171875, ...
embed
59996916_c0
59996916
fsharp
0
Title: Compiler unable to resolve type from shared &#x27;header&#x27; file Problem title: Compiler unable to resolve type from shared &#x27;header&#x27; file Tags: f%23 Problem: Compiler unable to resolve type from shared 'header' file Code signals: shared, Compiler, Bug, Common, SourceEntity, ReleaseEntity, System, Re...
Compiler unable to resolve type from shared &#x27;header&#x27; file Compiler unable to resolve type from shared &#x27;header&#x27; file f%23 shared Compiler Bug Common SourceEntity ReleaseEntity System Release Collections.Generic.Dictionary AddToCache cache.Add entity.id AddRec Notes Source Cache Releases Compiler unab...
[ 0.01202392578125, 0.029052734375, 0.0019378662109375, 0.0040283203125, -0.024658203125, -0.017578125, -0.021728515625, 0.0152587890625, -0.0024566650390625, -0.003448486328125, -0.006561279296875, 0.007537841796875, -0.000881195068359375, 0.01171875, 0.02294921875, 0.01507568359375, ...
[ 15612, 34759, 51, 2886, 103608, 10644, 1295, 99764, 3768, 31251, 56, 11435, 3742, 57279, 151301, 77641, 7768, 18, 152590, 12353, 68220, 135932, 10763, 29117, 7763, 46994, 82365, 77630, 4332, 238, 18622, 2041, 1430, 17447, 360, 42724, 36917, 1...
[ 0.1993408203125, 0.1900634765625, 0.064453125, 0.1463623046875, 0.2227783203125, 0.2415771484375, 0.098876953125, 0.2147216796875, 0.0689697265625, 0.2032470703125, 0.1611328125, 0.1248779296875, 0.04217529296875, 0.1287841796875, 0.1768798828125, 0.1884765625, 0.052947998046875, 0...
embed
40469424_c0
40469424
fsharp
0
Title: Creating Set in F# with elements from 1111 to 6666 Problem title: Creating Set in F# with elements from 1111 to 6666 Tags: sequence, set, f%23 Problem: Creating Set in F# with elements from 1111 to 6666 How do i create a Set in F# with elements from 1111 to 6666 without any values being 0, 7 or higher. E.g. [111...
Creating Set in F# with elements from 1111 to 6666 Creating Set in F# with elements from 1111 to 6666 sequence set f%23 1111 Creating Set Creating Set in F# with elements from 1111 to 6666 How do i create a Set in F# with elements from 1111 to 6666 without any values being 0, 7 or higher. E.g. [1111,1112,1113,1114,1115...
[ 0.00531005859375, 0.01220703125, -0.005401611328125, 0.006256103515625, -0.0031280517578125, -0.0047607421875, -0.00150299072265625, -0.00091552734375, 0.01190185546875, 0.0031890869140625, -0.00555419921875, 0.0291748046875, 0.0038299560546875, 0.012451171875, -0.00171661376953125, 0....
[ 56781, 1916, 19943, 23, 563, 4904, 678, 80854, 1295, 159019, 47, 305, 77622, 40, 944, 3956, 5423, 1238, 3949, 3742, 11249, 54, 17, 28282, 10, 15490, 2499, 142424, 8035, 757, 361, 77546, 1662, 2681, 4, 2592, 1837, 2485, 88438, 76172, 188...
[ 0.1588134765625, 0.0660400390625, 0.275146484375, 0.0960693359375, 0.137451171875, 0.22216796875, 0.0772705078125, 0.1925048828125, 0.073486328125, 0.255615234375, 0.1173095703125, 0.109130859375, 0.288818359375, 0.011199951171875, 0.08056640625, 0.019622802734375, 0.25927734375, 0...
embed
32890086_c0
32890086
fsharp
0
Title: F# sorting issue Problem title: F# sorting issue Tags: f%23, functional-programming Problem: F# sorting issue Whats wrong with this code? Why wont it sort? let rec sort = function | [] -> [] | [x] -> [x] | x1::x2::xs -> if x1 <= x2 then x1 :: sort (x2::xs) else x2 :: sort (x1::xs) Suppost to take sort [3;1;4;1;5...
F# sorting issue F# sorting issue f%23 functional-programming x1::x2::xs x2::xs x1::xs F# sorting issue Whats wrong with this code? Why wont it sort? Suppost to take sort [3;1;4;1;5;9;2;6;5];; and return: val it : int list = [1; 1; 2; 3; 4; 5; 5; 6; 9]
[ -0.0079345703125, 0.007568359375, 0.0205078125, -0.032470703125, -0.007598876953125, -0.007568359375, -0.01031494140625, -0.0106201171875, 0.004302978515625, 0.0157470703125, 0.01177978515625, 0.0228271484375, 0.02001953125, -0.002288818359375, 0.0186767578125, -0.01324462890625, 0.0...
[ 563, 4904, 12096, 31089, 214, 1238, 3742, 123309, 28966, 1022, 82825, 425, 304, 7, 44691, 903, 18151, 44084, 23742, 18, 442, 47004, 4594, 5646, 122101, 74, 418, 617, 758, 1126, 910, 30646, 3502, 23, 5303, 2203, 106, 116, 138, 201, 190, ...
[ 0.1492919921875, 0.1988525390625, 0.263916015625, 0.1187744140625, 0.031097412109375, 0.08740234375, 0.1099853515625, 0.170654296875, 0.09710693359375, 0.068359375, 0.0814208984375, 0.09967041015625, 0.0849609375, 0.050628662109375, 0.1368408203125, 0.0704345703125, 0.1707763671875, ...
embed
78821516_c0
78821516
fsharp
0
Title: Keyword &#x27;return&#x27; in async block Problem title: Keyword &#x27;return&#x27; in async block Tags: f%23 Problem: Keyword 'return' in async block Consider the code let x = async { match 1 with | 1 -> return 1 // | 1 -> 1 | _ -> return! async { return 1 } } Variable x is inferred to be Async<int> , but if th...
Keyword &#x27;return&#x27; in async block Keyword &#x27;return&#x27; in async block f%23 Keyword Async Keyword 'return' in async block Consider the code Variable x is inferred to be Async<int> , but if the first branch is replaced with the commented code, it does not compile at all. Why?
[ -0.016357421875, 0.0157470703125, 0.0164794921875, 0.00152587890625, 0.0038604736328125, -0.006622314453125, 0.017822265625, 0.00250244140625, 0.01409912109375, 0.01104736328125, 0.00408935546875, 0.0198974609375, 0.0037841796875, -0.00179290771484375, 0.0400390625, 0.007354736328125, ...
[ 189755, 3768, 65395, 19, 23, 10, 12654, 238, 46389, 1238, 3742, 62, 137399, 18151, 84572, 2886, 1022, 53498, 2822, 186, 4288, 4, 1284, 2174, 70, 5117, 32845, 206, 83, 91995, 678, 6868, 297, 14602, 959, 9969, 1340, 756, 44084 ]
[ 0.242919921875, 0.0777587890625, 0.219482421875, 0.1063232421875, 0.079345703125, 0.05712890625, 0.2047119140625, 0.12451171875, 0.19580078125, 0.0557861328125, 0.0802001953125, 0.05181884765625, 0.00115966796875, 0.1649169921875, 0.12060546875, 0.0626220703125, 0.1094970703125, 0....
embed
1966191_c0
1966191
fsharp
0
Title: How would this snippet be rewritten using F#? Problem title: How would this snippet be rewritten using F#? Tags: f%23, ruby, .net Problem: How would this snippet be rewritten using F#? I'm learning F#, and I'd like to know how a snippet like this could be written using F# only: 2.times { puts "hello" } If you ca...
How would this snippet be rewritten using F#? How would this snippet be rewritten using F#? f%23 ruby .net F# How How would this snippet be rewritten using F#? I'm learning F#, and I'd like to know how a snippet like this could be written using F# only: If you can explain how/if functions that take blocks are possible ...
[ -0.01202392578125, 0.00506591796875, 0.0196533203125, -0.01373291015625, -0.00579833984375, -0.0025482177734375, -0.000675201416015625, -0.000789642333984375, -0.004241943359375, -0.052734375, 0.007232666015625, 0.006103515625, -0.00860595703125, 0.0115966796875, -0.006378173828125, 0....
[ 11249, 2806, 903, 91, 93, 58134, 186, 456, 5429, 75639, 17368, 563, 4904, 1238, 3949, 3742, 21922, 53, 5, 1179, 52080, 1884, 3714, 3642, 5809, 59121, 4734, 73342, 32354, 5646, 46389, 621, 7722, 23, 6782 ]
[ 0.09381103515625, 0.09912109375, 0.0997314453125, 0.0543212890625, 0.166015625, 0.203125, 0.044921875, 0.155517578125, 0.1719970703125, 0.130615234375, 0.1124267578125, 0.1571044921875, 0.208251953125, 0.138671875, 0.1016845703125, 0.1982421875, 0.176513671875, 0.1654052734375, 0...
embed
29616909_c0
29616909
fsharp
0
Title: F#: Is there an idiomatic way to replace for loops seq{} expressions? Problem title: F#: Is there an idiomatic way to replace for loops seq{} expressions? Tags: f%23 Problem: F#: Is there an idiomatic way to replace for loops seq{} expressions? Is there a more idiomatic way to express this pattern in F#: seq { f...
F#: Is there an idiomatic way to replace for loops seq{} expressions? F#: Is there an idiomatic way to replace for loops seq{} expressions? f%23 item1 list1 item2 list2 F#: Is there an idiomatic way to replace for loops seq{} expressions? Is there a more idiomatic way to express this pattern in F#: Thanks!
[ 0.016357421875, -0.0107421875, -0.00396728515625, 0.01324462890625, 0.0162353515625, 0.003387451171875, -0.00860595703125, 0.01104736328125, -0.000782012939453125, -0.01220703125, 0.0201416015625, 0.033447265625, 0.00726318359375, -0.01031494140625, 0.002593994140625, 0.001091003417968...
[ 563, 4904, 2071, 2685, 142, 49666, 9523, 3917, 47, 91995, 100, 40956, 40, 864, 24854, 125195, 7, 1238, 3949, 3742, 35735, 418, 5303, 304, 1286, 36510, 903, 103510 ]
[ 0.1202392578125, 0.170654296875, 0.01141357421875, 0.034912109375, 0.04364013671875, 0.21240234375, 0.1612548828125, 0.0809326171875, 0.04083251953125, 0.1766357421875, 0.1199951171875, 0.2255859375, 0.1182861328125, 0.181884765625, 0.111083984375, 0.2330322265625, 0.03466796875, 0...
embed
2459472_c0
2459472
fsharp
0
Title: Executing F# scripts Problem title: Executing F# scripts Tags: .net, f%23 Problem: Executing F# scripts I'm trying to practice my F# by writing small console scripts in F# in place of my usual method of writing shell scripts/batch files. I currently run them using "fsi script.fsx [args]". Is there a way I can as...
Executing F# scripts Executing F# scripts .net f%23 Executing Executing F# scripts I'm trying to practice my F# by writing small console scripts in F# in place of my usual method of writing shell scripts/batch files. I currently run them using "fsi script.fsx [args]". Is there a way I can associate these fsx files with...
[ 0.01239013671875, 0.0024871826171875, -0.00127410888671875, 0.01397705078125, 0.006439208984375, -0.00714111328125, 0.01177978515625, -0.007720947265625, 0.011962890625, -0.0159912109375, 0.01287841796875, 0.028076171875, -0.00156402587890625, 0.027099609375, 0.00689697265625, 0.006958...
[ 211603, 214, 563, 4904, 26499, 1179, 1238, 3949, 3742, 7, 31577, 41361, 32562, 19336, 130250, 23, 3687, 115723, 55300, 6, 128019, 2848, 206, 102158, 82424, 11675, 2856, 17368, 420, 172, 5, 17447, 425, 61477, 2071, 3917, 831, 30699, 67, 67...
[ 0.202392578125, 0.046173095703125, 0.1749267578125, 0.2490234375, 0.251708984375, 0.1627197265625, 0.121826171875, 0.06109619140625, 0.158447265625, 0.0667724609375, 0.0706787109375, 0.1427001953125, 0.08990478515625, 0.0855712890625, 0.1771240234375, 0.00482177734375, 0.058624267578...
embed
19463862_c0
19463862
fsharp
0
Title: F# Newbie: Why does this function return array? Problem title: F# Newbie: Why does this function return array? Tags: f%23, arrays Problem: F# Newbie: Why does this function return array? From what I've read, a function in F# returns the value which is the last line in that function. So how does the following fun...
F# Newbie: Why does this function return array? F# Newbie: Why does this function return array? f%23 arrays Newbie Why F# Newbie: Why does this function return array? From what I've read, a function in F# returns the value which is the last line in that function. So how does the following function return an array?
[ -0.00811767578125, 0.00982666015625, -0.0019683837890625, 0.0032806396484375, -0.0213623046875, -0.005401611328125, -0.016845703125, -0.0052490234375, -0.003326416015625, 0.036865234375, 0.0086669921875, 0.017822265625, -0.0264892578125, -0.00433349609375, 0.0125732421875, -0.010498046...
[ 563, 4904, 2356, 9014, 12, 44084, 14602, 903, 32354, 30646, 10298, 53, 1238, 3949, 3742, 4778, 272, 12301, 23, 7, 34292, 3129, 83, 4568, 13315, 450, 5, 3642, 25632, 142 ]
[ 0.1409912109375, 0.2169189453125, 0.0987548828125, 0.1529541015625, 0.0139923095703125, 0.1959228515625, 0.1087646484375, 0.10546875, 0.2288818359375, 0.217529296875, 0.2100830078125, 0.211181640625, 0.1431884765625, 0.060333251953125, 0.178955078125, 0.1578369140625, 0.0177459716796...
embed
7368172_c0
7368172
fsharp
0
Title: Looking for function &#x27;a -&gt; &#x27;b -&gt; &#x27;a * &#x27;b Problem title: Looking for function &#x27;a -&gt; &#x27;b -&gt; &#x27;a * &#x27;b Tags: f%23 Problem: Looking for function 'a -> 'b -> 'a * 'b Is there a built-in "make pair" function or operator? I know this is trivial, but it would ease functio...
Looking for function &#x27;a -&gt; &#x27;b -&gt; &#x27;a * &#x27;b Looking for function &#x27;a -&gt; &#x27;b -&gt; &#x27;a * &#x27;b f%23 Looking Looking for function 'a -> 'b -> 'a * 'b Is there a built-in "make pair" function or operator? I know this is trivial, but it would ease function composition in some cases. ...
[ -0.006744384765625, 0.01153564453125, -0.0081787109375, 0.000591278076171875, 0.0035552978515625, 0.029541015625, -0.0166015625, -0.0054931640625, 0.00927734375, -0.0079345703125, 0.0024871826171875, -0.025390625, -0.0023345947265625, -0.008544921875, -0.00494384765625, -0.0244140625, ...
[ 157268, 100, 32354, 3768, 11, 20, 1230, 5386, 275, 661, 1238, 3949, 3742, 242, 33079, 2071, 2685, 10, 88303, 9, 73, 55898, 80836, 58, 707, 39933, 686, 2806, 28, 6991, 166577, 23, 42459, 9572, 1663, 133 ]
[ 0.086669921875, 0.1104736328125, 0.2281494140625, 0.136474609375, 0.1124267578125, 0.083984375, 0.012176513671875, 0.161865234375, 0.168701171875, 0.15185546875, 0.10302734375, 0.0184478759765625, 0.101806640625, 0.019927978515625, 0.1787109375, 0.006805419921875, 0.043060302734375, ...
embed
63017247_c0
63017247
fsharp
0
Title: Remove fields from JSON with JSON.NET in F# Problem title: Remove fields from JSON with JSON.NET in F# Tags: json, json.net, f%23 Problem: Remove fields from JSON with JSON.NET in F# I have a record type MyType = { Name : string Description : string OtherField : string } I'd like to remove some of the fields bef...
Remove fields from JSON with JSON.NET in F# Remove fields from JSON with JSON.NET in F# json json.net f%23 JSON Remove JSON.NET MyType Name Description OtherField Remove fields from JSON with JSON.NET in F# I have a record I'd like to remove some of the fields before I serialize to JSON. How can I do this?
[ -0.0198974609375, 0.0142822265625, -0.0086669921875, 0.006622314453125, -0.0272216796875, -0.01708984375, -0.00506591796875, 0.0252685546875, 0.0022125244140625, 0.01361083984375, 0.00726318359375, 0.031982421875, 0.00616455078125, -0.003997802734375, 0.00567626953125, 0.00325012207031...
[ 181139, 44457, 7, 1295, 821, 58627, 678, 17777, 23, 563, 4904, 1647, 1681, 1179, 1238, 3742, 2646, 196707, 15757, 70643, 64511, 6159, 19388, 17164, 1884, 47, 87388, 3060, 8108, 35686, 20650, 831, 54, 903 ]
[ 0.1575927734375, 0.2529296875, 0.0261077880859375, 0.1158447265625, 0.1529541015625, 0.2200927734375, 0.0777587890625, 0.1929931640625, 0.022918701171875, 0.121826171875, 0.187744140625, 0.0745849609375, 0.14990234375, 0.1282958984375, 0.054351806640625, 0.0848388671875, 0.0736694335...
embed
18972286_c0
18972286
fsharp
0
Title: Are Type providers always read-only? Problem title: Are Type providers always read-only? Tags: f%23, type-providers Problem: Are Type providers always read-only? I have looked through a number of Type Provider samples and videos and have always seen them to be read-only. My questions: Are Type providers always r...
Are Type providers always read-only? Are Type providers always read-only? f%23 type-providers Type Are Type providers always read-only? I have looked through a number of Type Provider samples and videos and have always seen them to be read-only. My questions: Are Type providers always read-only or can they also provide...
[ 0.0024871826171875, 0.0235595703125, -0.007659912109375, -0.0027008056640625, -0.0133056640625, 0.0125732421875, 0.00102996826171875, -0.01422119140625, 0.006988525390625, 0.0162353515625, 0.0024871826171875, 0.00109100341796875, 0.0155029296875, 0.00860595703125, 0.005828857421875, 0....
[ 15901, 60457, 81450, 7, 11343, 12301, 191, 538, 1238, 3742, 10644, 93136, 14202, 123089, 42, 121413, 21930, 51592, 831, 22691, 33022, 17203, 27781, 101904, 223 ]
[ 0.0489501953125, 0.2724609375, 0.25732421875, 0.10247802734375, 0.119384765625, 0.2200927734375, 0.1143798828125, 0.06268310546875, 0.002655029296875, 0.01318359375, 0.227783203125, 0.186767578125, 0.07958984375, 0.1956787109375, 0.10540771484375, 0.09234619140625, 0.107666015625, ...
embed
17047129_c0
17047129
fsharp
0
Title: Converting string to UTF8Type in FluentCassandra Problem title: Converting string to UTF8Type in FluentCassandra Tags: f%23, fluentcassandra Problem: Converting string to UTF8Type in FluentCassandra I am working with FluentCassandra in F# and attempting to convert a string to a UTF8Type in order to use the Execu...
Converting string to UTF8Type in FluentCassandra Converting string to UTF8Type in FluentCassandra f%23 fluentcassandra Converting UTF8Type FluentCassandra Converting string to UTF8Type in FluentCassandra I am working with FluentCassandra in F# and attempting to convert a string to a UTF8Type in order to use the Execute...
[ -0.0029449462890625, 0.00994873046875, 0.00115203857421875, 0.01068115234375, -0.02587890625, -0.0084228515625, 0.00109100341796875, -0.0233154296875, -0.005828857421875, 0.006591796875, -0.00732421875, 0.00049591064453125, 0.00933837890625, 0.00177001953125, -0.023193359375, 0.0103149...
[ 1657, 814, 1916, 79315, 47, 345, 30992, 1019, 196707, 36157, 2517, 11124, 14519, 1238, 3949, 3742, 155283, 9381, 52821, 20697, 563, 4904, 81887, 96760, 10, 211603, 59881, 41732, 1294, 55300, 65771 ]
[ 0.022430419921875, 0.115234375, 0.028228759765625, 0.2005615234375, 0.07464599609375, 0.04931640625, 0.1868896484375, 0.221923828125, 0.2176513671875, 0.1578369140625, 0.1114501953125, 0.04766845703125, 0.1605224609375, 0.0487060546875, 0.0126953125, 0.060455322265625, 0.174560546875...
embed
59640635_c2
59640635
fsharp
2
2, mouseData:uint32, uint32, _dx, _dy, _mouseData, _dwFlags, _time, _dwExtraInfo, KEYBDINPUT, uint16, dwExtraInfo:int, _wVk, _wScan, HARDWAREINPUT, _uMsg, _wParamL, _wParamH, LayoutKind.Explicit, LPINPUT, FieldOffset, NativeMethods, DllImport, user32.dll, InputModes.INPUT_KEYBOARD, input.ki, Dwords.KEYEVENTF_KEYDOWN, N...
2, mouseData:uint32, uint32, _dx, _dy, _mouseData, _dwFlags, _time, _dwExtraInfo, KEYBDINPUT, uint16, dwExtraInfo:int, _wVk, _wScan, HARDWAREINPUT, _uMsg, _wParamL, _wParamH, LayoutKind.Explicit, LPINPUT, FieldOffset, NativeMethods, DllImport, user32.dll, InputModes.INPUT_KEYBOARD, input.ki, Dwords.KEYEVENTF_KEYDOWN, N...
[ -0.0189208984375, 0.0162353515625, 0.004119873046875, -0.01263427734375, -0.003204345703125, 0.007293701171875, 0.0208740234375, -0.01312255859375, 0.001922607421875, -0.0162353515625, 0.0167236328125, -0.00946044921875, 0.0093994140625, 0.005584716796875, -0.017822265625, -0.005798339...
[ 116, 4, 114669, 137989, 12, 34, 4288, 6460, 75, 101, 425, 1459, 432, 4032, 38164, 919, 3668, 6032, 19279, 1517, 93147, 12182, 89104, 60614, 124599, 2485, 87364, 434, 856, 92, 4398, 65641, 397, 60873, 109268, 177, 55292, 39, 841, 211032, ...
[ 0.175048828125, 0.0926513671875, 0.265380859375, 0.2802734375, 0.1322021484375, 0.0870361328125, 0.1741943359375, 0.24267578125, 0.0738525390625, 0.03826904296875, 0.1517333984375, 0.1201171875, 0.133056640625, 0.1883544921875, 0.1373291015625, 0.04248046875, 0.23486328125, 0.17626...
embed
43232977_c0
43232977
fsharp
0
Title: F# Convert &#x27;a discriminated union to string Problem title: F# Convert &#x27;a discriminated union to string Tags: discriminated-union, f%23-interactive, f%23 Problem: F# Convert 'a discriminated union to string I'm trying to convert a discriminated union to string but I don't understand why this code is not...
F# Convert &#x27;a discriminated union to string F# Convert &#x27;a discriminated union to string discriminated-union f%23-interactive f%23 System.Exception Convert Stopped Operation Successive F# Convert 'a discriminated union to string I'm trying to convert a discriminated union to string but I don't understand why t...
[ -0.0166015625, 0.0223388671875, 0.0072021484375, 0.023193359375, -0.0185546875, 0.00872802734375, -0.01068115234375, 0.00982666015625, 0.0250244140625, 0.01611328125, 0.01446533203125, -0.0076904296875, 0.01202392578125, -0.00799560546875, -0.001800537109375, -0.018798828125, 0.02404...
[ 563, 4904, 1657, 11549, 3768, 11, 55970, 3674, 69941, 47, 79315, 6, 87046, 1238, 27495, 10433, 71232, 3742, 12353, 63928, 42284, 20051, 102203, 144053, 31577, 96760, 28219, 15400, 18151, 959, 20697, 89280, 254, 212398, 140992 ]
[ 0.0970458984375, 0.173095703125, 0.019500732421875, 0.1502685546875, 0.07232666015625, 0.056976318359375, 0.2447509765625, 0.1260986328125, 0.2406005859375, 0.097900390625, 0.27001953125, 0.00836181640625, 0.219970703125, 0.0938720703125, 0.0740966796875, 0.08544921875, 0.08532714843...
embed
11366388_c0
11366388
fsharp
0
Title: Load F# Source File Problem title: Load F# Source File Tags: f%23 Problem: Load F# Source File How can I load another F# source file ( *.fs ) into a project? The #load "path/to/file" preprocessor directive only works if the file you're working from is an F# script file or F# interactive. I think it may have to d...
Load F# Source File Load F# Source File f%23 Load Source File Load F# Source File How can I load another F# source file ( *.fs ) into a project? The #load "path/to/file" preprocessor directive only works if the file you're working from is an F# script file or F# interactive. I think it may have to do with a makefile, a...
[ 0.000232696533203125, -0.002044677734375, 0.0025634765625, 0.01324462890625, -0.0024566650390625, 0.003631591796875, -0.000690460205078125, 0.0142822265625, 0.00860595703125, -0.03857421875, 0.001953125, -0.00897216796875, -0.0196533203125, 0.00665283203125, 0.0048828125, 0.00720214843...
[ 2091, 712, 563, 4904, 77641, 42724, 1238, 3949, 3742, 11249, 831, 87, 72367, 15700, 31344, 11435, 661, 5, 17447, 3934, 10, 13452, 468, 63033, 128405, 64, 188, 29822, 479, 63923, 748, 8951, 5844, 4734, 43240, 70, 20697, 1295, 26499, 212398...
[ 0.15087890625, 0.096923828125, 0.1739501953125, 0.251708984375, 0.23974609375, 0.1875, 0.1004638671875, 0.056671142578125, 0.1361083984375, 0.01373291015625, 0.056640625, 0.006256103515625, 0.223876953125, 0.154052734375, 0.232177734375, 0.194580078125, 0.0291290283203125, 0.041900...
embed
32116489_c0
32116489
fsharp
0
Title: Why these assignments produce different results? Problem title: Why these assignments produce different results? Tags: f%23 Problem: Why these assignments produce different results? Why let ab a b = a 5 + b will produce val ab : a:(int -> int) -> b:int -> int and let ab2 a b = a 5 +b will produce val ab2 : a:(in...
Why these assignments produce different results? Why these assignments produce different results? f%23 Why b:int ab2 Why these assignments produce different results? Why will produce and will produce Why this one space between '+' and 'b' makes this difference?
[ 0.0155029296875, -0.015625, 0.004638671875, 0.0120849609375, -0.007568359375, 0.018310546875, -0.0036773681640625, 0.00182342529296875, 0.027099609375, 0.0272216796875, 0.0034942626953125, -0.00592041015625, 0.0166015625, -0.011962890625, -0.0037078857421875, -0.015869140625, 0.01281...
[ 44084, 6097, 95486, 9035, 27489, 12921, 50339, 1238, 3949, 3742, 876, 12, 4288, 1563, 304, 1221, 136, 903, 1632, 32628, 17721, 1328, 275, 30482, 60212 ]
[ 0.165283203125, 0.09454345703125, 0.228515625, 0.125244140625, 0.2125244140625, 0.2073974609375, 0.174072265625, 0.0748291015625, 0.0684814453125, 0.1510009765625, 0.15673828125, 0.050750732421875, 0.1649169921875, 0.1527099609375, 0.1513671875, 0.1064453125, 0.048858642578125, 0.0...
embed
20116791_c0
20116791
fsharp
0
Title: Clone a class instance, changing just a few of the properties Problem title: Clone a class instance, changing just a few of the properties Tags: clone, f%23 Problem: Clone a class instance, changing just a few of the properties I was wondering if in F# there is some sugar for cloning a class instance changing ju...
Clone a class instance, changing just a few of the properties Clone a class instance, changing just a few of the properties clone f%23 Clone Clone a class instance, changing just a few of the properties I was wondering if in F# there is some sugar for cloning a class instance changing just one or a few of the propertie...
[ -0.015380859375, 0.010498046875, 0.00885009765625, 0.00830078125, -0.000652313232421875, -0.00946044921875, -0.01287841796875, -0.02294921875, 0.0203857421875, 0.040283203125, -0.00958251953125, 0.020751953125, 0.004974365234375, -0.0081787109375, -0.0164794921875, 0.0020904541015625, ...
[ 51053, 86, 10, 18507, 110527, 4, 151134, 1660, 10846, 111, 183871, 20450, 1238, 3949, 3742, 87, 149016, 2174, 23, 563, 4904, 2685, 83, 3060, 101087, 100, 592, 1632, 707, 3714, 442, 7722, 678, 115923 ]
[ 0.2344970703125, 0.1624755859375, 0.07073974609375, 0.21826171875, 0.240234375, 0.0303497314453125, 0.2130126953125, 0.08831787109375, 0.148193359375, 0.068603515625, 0.193359375, 0.2200927734375, 0.12158203125, 0.0919189453125, 0.1865234375, 0.0009765625, 0.0677490234375, 0.015533...
embed
23465440_c0
23465440
fsharp
0
Title: Can a record have a nullable field? Problem title: Can a record have a nullable field? Tags: f%23 Problem: Can a record have a nullable field? Is it legal for a record to have a nullable field such as: type MyRec = { startDate : System.Nullable<DateTime>; } This example does build in my project, but is this good...
Can a record have a nullable field? Can a record have a nullable field? f%23 Can MyRec System.Nullable DateTime Can a record have a nullable field? Is it legal for a record to have a nullable field such as: This example does build in my project, but is this good practice if it is legal, and what problems if any does th...
[ -0.0005340576171875, -0.0019073486328125, 0.034423828125, 0.031982421875, -0.006256103515625, 0.0003108978271484375, 0.00958251953125, -0.0003757476806640625, -0.0009002685546875, 0.0191650390625, 0.001983642578125, 0.009521484375, 0.0004482269287109375, 0.0159912109375, -0.009765625, ...
[ 4171, 17164, 765, 9229, 2661, 44457, 10, 3742, 2646, 4332, 238, 12353, 839, 20446, 25512, 70059, 2071, 442, 8437, 27781, 45367, 13452, 83, 4127, 41361, 44402, 65508 ]
[ 0.0704345703125, 0.203369140625, 0.07403564453125, 0.2249755859375, 0.236328125, 0.234375, 0.029937744140625, 0.041595458984375, 0.063720703125, 0.1175537109375, 0.1341552734375, 0.10443115234375, 0.0828857421875, 0.2056884765625, 0.040283203125, 0.1212158203125, 0.01177978515625, ...
embed
25308443_c0
25308443
fsharp
0
Title: binning-bucketing numerical values in .net Problem title: binning-bucketing numerical values in .net Tags: .net, bucket, c%23, f%23, histogram Problem: binning-bucketing numerical values in .net Is there a .net framework function to bin-bucket numerical values, for example for the sake of preparing data for an h...
binning-bucketing numerical values in .net binning-bucketing numerical values in .net .net bucket c%23 f%23 histogram binning-bucketing numerical values in .net Is there a .net framework function to bin-bucket numerical values, for example for the sake of preparing data for an histogram chart? I find it odd I might hav...
[ -0.0234375, 0.00909423828125, -0.005157470703125, -0.01361083984375, 0.00007867813110351562, 0.0032958984375, -0.0084228515625, -0.0196533203125, 0.0048828125, 0.007659912109375, -0.0196533203125, -0.004119873046875, -0.00982666015625, 0.00014019012451171875, 0.01495361328125, -0.00854...
[ 2394, 592, 978, 27853, 214, 54744, 6827, 142424, 23, 5, 1179, 373, 3742, 1238, 1919, 18, 83814, 2685, 10, 170846, 32354, 47, 9, 27781, 72018, 58172, 2053, 100, 116287, 7413, 70270, 13648, 18151, 1632, 1257, 35978, 231602, 7108, 166117 ]
[ 0.2445068359375, 0.094482421875, 0.12353515625, 0.2425537109375, 0.0770263671875, 0.16162109375, 0.1029052734375, 0.1961669921875, 0.01202392578125, 0.03857421875, 0.207275390625, 0.1064453125, 0.09027099609375, 0.016510009765625, 0.10296630859375, 0.034912109375, 0.172607421875, 0...
embed
48242460_c0
48242460
fsharp
0
Title: This expression was expected to have type &#x27;double&#x27; but here has type &#x27;unit&#x27; Problem title: This expression was expected to have type &#x27;double&#x27; but here has type &#x27;unit&#x27; Tags: f%23 Problem: This expression was expected to have type 'double' but here has type 'unit' let initia...
This expression was expected to have type &#x27;double&#x27; but here has type &#x27;unit&#x27; This expression was expected to have type &#x27;double&#x27; but here has type &#x27;unit&#x27; f%23 slen-1 This expression was expected to have type 'double' but here has type 'unit' Ive an array of integers, and want to do...
[ 0.004638671875, 0.0101318359375, 0.00897216796875, 0.00701904296875, -0.017333984375, -0.038818359375, -0.0005645751953125, 0.0274658203125, 0.0157470703125, 0.00135040283203125, 0.01220703125, 0.0245361328125, 0.0032501220703125, -0.0283203125, 0.0218505859375, 0.0098876953125, 0.00...
[ 3293, 125195, 509, 84751, 765, 10644, 6, 3768, 21555, 2661, 1284, 3688, 1556, 309, 217, 74, 1238, 3949, 3742, 91, 1977, 5759, 272, 10298, 53, 111, 892, 26255, 4, 3444, 54, 70, 25632, 41018, 37842, 35064, 738, 18499, 161521, 4393, 18151 ...
[ 0.0882568359375, 0.265625, 0.08563232421875, 0.202880859375, 0.04205322265625, 0.2335205078125, 0.0355224609375, 0.14453125, 0.1051025390625, 0.1260986328125, 0.143798828125, 0.139892578125, 0.0953369140625, 0.1846923828125, 0.1549072265625, 0.04095458984375, 0.121826171875, 0.0621...
embed
20099112_c0
20099112
fsharp
0
Title: Is there an F# equivalent to the TPL Parallel.Invoke? Problem title: Is there an F# equivalent to the TPL Parallel.Invoke? Tags: parallel-extensions, f%23, task-parallel-library Problem: Is there an F# equivalent to the TPL Parallel.Invoke? Is there an F# equivalent to the TPL Parallel.Invoke? So far, all i have...
Is there an F# equivalent to the TPL Parallel.Invoke? Is there an F# equivalent to the TPL Parallel.Invoke? parallel-extensions f%23 task-parallel-library TPL Parallel.Invoke Is there an F# equivalent to the TPL Parallel.Invoke? Is there an F# equivalent to the TPL Parallel.Invoke? So far, all i have come across is tas...
[ -0.0113525390625, 0.01434326171875, -0.00160980224609375, 0.01031494140625, -0.0164794921875, -0.017578125, 0.0208740234375, -0.0220947265625, -0.01025390625, -0.02587890625, 0.002288818359375, 0.0224609375, 0.00121307373046875, 0.0179443359375, 0.007049560546875, 0.021240234375, 0.0...
[ 2685, 563, 4904, 183234, 47, 384, 21130, 211485, 4153, 23253, 13, 2071, 142, 95103, 3355, 128872, 1238, 3742, 66211, 6276, 1229, 141, 150, 2844, 5, 2060, 36880, 31461, 53, 143726, 6226, 44402, 9468 ]
[ 0.0296630859375, 0.1220703125, 0.20654296875, 0.1739501953125, 0.038604736328125, 0.07086181640625, 0.223388671875, 0.2427978515625, 0.07708740234375, 0.1826171875, 0.123779296875, 0.0175018310546875, 0.039886474609375, 0.17919921875, 0.026947021484375, 0.1346435546875, 0.05706787109...
embed
10469767_c0
10469767
fsharp
0
Title: How to define and use % as a prefix operator? Problem title: How to define and use % as a prefix operator? Tags: f%23 Problem: How to define and use % as a prefix operator? type T() = static member (~%)(t : T) = t let t = T() let t' = %t // FAILS The error message says t was expected to be of type Quotation.Expr...
How to define and use % as a prefix operator? How to define and use % as a prefix operator? f%23 How FAILS Quotation.Expr How to define and use % as a prefix operator? The error message says t was expected to be of type Quotation.Expr<'a> . % is a supposedly valid prefix operator , but is it possible to actually use it...
[ 0.00014972686767578125, 0.01324462890625, 0.0322265625, 0.00933837890625, 0.0020904541015625, -0.019287109375, 0.0076904296875, 0.013916015625, 0.00016117095947265625, -0.029541015625, 0.000431060791015625, -0.005828857421875, 0.0164794921875, -0.021240234375, 0.00494384765625, 0.02416...
[ 11249, 61924, 136, 4527, 1745, 237, 10, 183114, 39933, 47, 1238, 3949, 3742, 15491, 16444, 294, 43851, 22062, 19279, 10287, 18499, 26008, 808, 509, 84751, 111, 10644, 16093, 25, 11, 83, 134598, 35604, 7722, 20653, 442 ]
[ 0.054779052734375, 0.19384765625, 0.0738525390625, 0.1590576171875, 0.281494140625, 0.0985107421875, 0.0726318359375, 0.2464599609375, 0.251953125, 0.02545166015625, 0.073974609375, 0.13671875, 0.135498046875, 0.09454345703125, 0.0965576171875, 0.03253173828125, 0.14306640625, 0.11...
embed
58549871_c0
58549871
fsharp
0
Title: Convert 2D array to list of lists Problem title: Convert 2D array to list of lists Tags: f%23, multidimensional-array Problem: Convert 2D array to list of lists Is there a way to take a 2D array and get a list of lists. It seems like a simple operation, but I can't find a way to do it. This code obviously doesn'...
Convert 2D array to list of lists Convert 2D array to list of lists f%23 multidimensional-array Convert Array2D.create List.ofArray Convert 2D array to list of lists Is there a way to take a 2D array and get a list of lists. It seems like a simple operation, but I can't find a way to do it. This code obviously doesn't ...
[ -0.0004119873046875, -0.0004482269287109375, -0.00958251953125, 0.00421142578125, -0.01336669921875, 0.024169921875, -0.0179443359375, -0.0047607421875, -0.000591278076171875, 0.0068359375, 0.006591796875, 0.0155029296875, -0.0050048828125, 0.01055908203125, -0.0118408203125, -0.000476...
[ 1657, 11549, 116, 397, 10298, 53, 47, 5303, 111, 7, 3742, 6024, 157955, 19305, 69253, 304, 7612, 32036, 4390, 7614, 7092, 2685, 10, 3917, 5646, 136, 2046, 37202, 8781, 41018, 3293, 18151, 171259, 22027, 18, 4488 ]
[ 0.030609130859375, 0.1287841796875, 0.1295166015625, 0.12060546875, 0.1939697265625, 0.1312255859375, 0.0679931640625, 0.2431640625, 0.1259765625, 0.03851318359375, 0.0552978515625, 0.010162353515625, 0.06927490234375, 0.1160888671875, 0.1463623046875, 0.05816650390625, 0.02479553222...
embed
35521517_c0
35521517
fsharp
0
Title: How to force the reading of Console.In? Problem title: How to force the reading of Console.In? Tags: f%23 Problem: How to force the reading of Console.In? I have a very simple code let R= [for i in (Console.In.ReadLine()).Split[|' '|]-> int i] printfn "%A" R printfn "%A" R I would like that every time I call R, ...
How to force the reading of Console.In? How to force the reading of Console.In? f%23 How Console.In Console.In.ReadLine Split How to force the reading of Console.In? I have a very simple code I would like that every time I call R, the function reads the console, but it does not. How can I manage it ?
[ -0.016845703125, -0.008544921875, 0.007659912109375, 0.0196533203125, -0.008056640625, -0.0002956390380859375, 0.0162353515625, -0.00019359588623046875, 0.001983642578125, -0.034912109375, 0.00830078125, 0.0205078125, -0.009521484375, -0.005462646484375, 0.0130615234375, -0.00058364868...
[ 11249, 47, 37772, 16454, 1657, 40777, 4153, 70, 111, 5, 1238, 3742, 31345, 93232, 46474, 8781, 18151, 1884, 11907, 1733, 11782, 627, 32354, 12301, 7, 130250, 1284, 14602, 959, 111240 ]
[ 0.075439453125, 0.0732421875, 0.1976318359375, 0.216064453125, 0.10577392578125, 0.2462158203125, 0.20654296875, 0.0355224609375, 0.0312042236328125, 0.0278778076171875, 0.03717041015625, 0.07574462890625, 0.1534423828125, 0.152099609375, 0.1737060546875, 0.04766845703125, 0.08764648...
embed
4123613_c0
4123613
fsharp
0
Title: Formatting an integer as octal Problem title: Formatting an integer as octal Tags: c%23, f%23, number-formatting, vb.net, .net Problem: Formatting an integer as octal I'm looking for the format specifier for String.Format() (or if there is a NumberFormatInfo class that will do it) to format a integer as octal in...
Formatting an integer as octal Formatting an integer as octal c%23 f%23 number-formatting vb.net .net Formatting String.Format vb.net Formatting an integer as octal I'm looking for the format specifier for String.Format() (or if there is a NumberFormatInfo class that will do it) to format a integer as octal in .NET, as...
[ -0.0126953125, 0.01190185546875, 0.0233154296875, 0.0032196044921875, -0.004058837890625, 0.017822265625, 0.00714111328125, 0.00830078125, -0.005279541015625, 0.032470703125, -0.0087890625, -0.0284423828125, -0.00836181640625, 0.0223388671875, 0.0052490234375, -0.004638671875, -0.007...
[ 60972, 1916, 892, 1505, 237, 154447, 141, 3949, 3742, 1238, 14012, 51727, 86482, 1179, 23351, 214, 102973, 16487, 100, 70, 9384, 58735, 56, 5, 257, 132, 16, 2174, 103332, 93147, 18507, 1221, 47, 23, 17777, 2389, 12, 425, 442, 764 ]
[ 0.219970703125, 0.04840087890625, 0.1416015625, 0.13232421875, 0.12158203125, 0.263427734375, 0.20556640625, 0.0108642578125, 0.1312255859375, 0.0478515625, 0.1083984375, 0.157470703125, 0.1715087890625, 0.1353759765625, 0.1483154296875, 0.0877685546875, 0.188720703125, 0.067199707...
embed
46762564_c0
46762564
fsharp
0
Title: Is there a function in F# for parsing a string to an int? Problem title: Is there a function in F# for parsing a string to an int? Tags: f%23, string, casting Problem: Is there a function in F# for parsing a string to an int? It seems like there's a function for this in practically every language but I can't fin...
Is there a function in F# for parsing a string to an int? Is there a function in F# for parsing a string to an int? f%23 string casting Is there a function in F# for parsing a string to an int? It seems like there's a function for this in practically every language but I can't find one in String or Core.String , and al...
[ -0.0157470703125, 0.00138092041015625, 0.0133056640625, 0.0220947265625, -0.00775146484375, 0.0286865234375, -0.00019931793212890625, -0.0283203125, -0.00286865234375, -0.017822265625, 0.00640869140625, -0.01171875, -0.024169921875, 0.0169677734375, 0.00927734375, -0.003387451171875, ...
[ 2071, 2685, 10, 32354, 23, 563, 4904, 100, 366, 6953, 79315, 47, 18, 142, 1238, 3949, 3742, 176050, 37202, 903, 138155, 11907, 46876, 831, 7413, 1632, 23351, 214, 31365, 71713, 26458, 60899, 1295 ]
[ 0.003204345703125, 0.040679931640625, 0.0654296875, 0.2451171875, 0.1295166015625, 0.157958984375, 0.22314453125, 0.0555419921875, 0.1593017578125, 0.103271484375, 0.264892578125, 0.1512451171875, 0.1878662109375, 0.0233917236328125, 0.0936279296875, 0.00201416015625, 0.122802734375,...
embed
25390172_c0
25390172
fsharp
0
Title: Sorting list of tuples f# Problem title: Sorting list of tuples f# Tags: sorting, f%23, list, tuples Problem: Sorting list of tuples f# this should be really quick, I have a list of tuples like [("8585", 1);("9232",1);etc] where the second item corresponds to the number of ocurrences the item in "" makes. I was ...
Sorting list of tuples f# Sorting list of tuples f# sorting f%23 list tuples Sorting Sorting list of tuples f# this should be really quick, I have a list of tuples like [("8585", 1);("9232",1);etc] where the second item corresponds to the number of ocurrences the item in "" makes. I was wondering how could i arrange my...
[ 0.00494384765625, 0.01123046875, 0.0111083984375, -0.0026702880859375, -0.0029754638671875, -0.02099609375, -0.018310546875, -0.00131988525390625, 0.01416015625, 0.006256103515625, -0.003326416015625, 0.01214599609375, -0.00116729736328125, 0.0299072265625, 0.00982666015625, -0.0095214...
[ 53666, 214, 5303, 111, 370, 99726, 1238, 4904, 12096, 3949, 3742, 903, 5608, 6183, 63773, 87, 765, 1884, 174923, 758, 106, 12231, 6460, 418, 17932, 35735, 42518, 14012, 120155, 3956, 23, 30482, 149016, 3642, 5809, 17, 137356, 759, 1295, 1...
[ 0.207275390625, 0.0771484375, 0.1796875, 0.05023193359375, 0.16748046875, 0.211181640625, 0.1304931640625, 0.1876220703125, 0.2003173828125, 0.0687255859375, 0.1829833984375, 0.033538818359375, 0.031768798828125, 0.03045654296875, 0.1431884765625, 0.01171875, 0.00927734375, 0.00726...
embed
3977664_c0
3977664
fsharp
0
Title: Is there a way to write this in F#? Problem title: Is there a way to write this in F#? Tags: f%23 Problem: Is there a way to write this in F#? let is_sum_greater_than_10 list = list |> Seq.filter (filter) |> Seq.sum |> (10 >) This does not compile. Lookng at the last line "|> (10 >)" is there a way to write this...
Is there a way to write this in F#? Is there a way to write this in F#? f%23 is_sum_greater_than_10 Seq.filter Seq.sum Is there a way to write this in F#? This does not compile. Lookng at the last line "|> (10 >)" is there a way to write this such that the left is pipelined to the right for binary operators? Thanks
[ 0.002471923828125, 0.0145263671875, -0.01312255859375, 0.01513671875, -0.01458740234375, -0.006011962890625, 0.007476806640625, -0.004180908203125, -0.0023040771484375, -0.001312255859375, 0.00836181640625, 0.025634765625, -0.005767822265625, 0.00848388671875, 0.006744384765625, -0.006...
[ 2685, 10, 3917, 47, 33022, 903, 23, 563, 4904, 1238, 3742, 83, 11832, 7134, 46429, 21732, 963, 503, 864, 120337, 3293, 14602, 959, 9969, 1340, 60818, 4568, 13315, 58745, 2740, 15094, 977, 6044, 25737, 137158, 2256, 71, 7108, 2394, 6635, ...
[ 0.030517578125, 0.037109375, 0.116943359375, 0.051177978515625, 0.167236328125, 0.114990234375, 0.096923828125, 0.128662109375, 0.193359375, 0.107666015625, 0.16650390625, 0.072265625, 0.220947265625, 0.08740234375, 0.091796875, 0.10577392578125, 0.2000732421875, 0.064697265625, ...
embed
19918148_c2
19918148
fsharp
2
Catalog, DATABASE1, Integrated, Security, MultipleActiveResultSets, db2, SQL_08, DATABASE2, db3, SQL_10, DATABASE3, Microsoft.FSharp.Data.TypeProviders.DesignTime.DataProviders, tmp7AA1.cs, CS0437, System, AppData, Local, Temp, Windows, Microsoft.NET, Framework, v4.0.30319, System.Configuration.dll, Using, Location, C...
Catalog, DATABASE1, Integrated, Security, MultipleActiveResultSets, db2, SQL_08, DATABASE2, db3, SQL_10, DATABASE3, Microsoft.FSharp.Data.TypeProviders.DesignTime.DataProviders, tmp7AA1.cs, CS0437, System, AppData, Local, Temp, Windows, Microsoft.NET, Framework, v4.0.30319, System.Configuration.dll, Using, Location, C...
[ 0.020751953125, 0.034912109375, -0.01263427734375, 0.0184326171875, 0.0081787109375, 0.0008697509765625, -0.0281982421875, -0.006072998046875, 0.0030059814453125, -0.01019287109375, -0.0164794921875, 0.0172119140625, -0.007354736328125, -0.002593994140625, -0.00665283203125, -0.0067138...
[ 150917, 4, 87845, 49068, 9127, 418, 91969, 3674, 48748, 19335, 8705, 164414, 4332, 7, 7136, 294, 7831, 40041, 304, 80866, 8318, 363, 963, 6, 7244, 5, 36381, 3467, 254, 137989, 196707, 177997, 14, 14202, 128640, 70059, 808, 2676, 966, 1546...
[ 0.2763671875, 0.0819091796875, 0.07318115234375, 0.1697998046875, 0.110595703125, 0.1072998046875, 0.170166015625, 0.0809326171875, 0.1663818359375, 0.042144775390625, 0.0496826171875, 0.126708984375, 0.02081298828125, 0.04754638671875, 0.1051025390625, 0.0919189453125, 0.07897949218...
embed
46876946_c0
46876946
fsharp
0
Title: F# sum two sequences by element Problem title: F# sum two sequences by element Tags: f%23 Problem: F# sum two sequences by element I am looking for a way to sum two sequences by element in F#. For example, if I have these two sequences: let first = seq [ 183.24; 170.15;174.17] let second = seq [25.524;24.069;24....
F# sum two sequences by element F# sum two sequences by element f%23 F# sum two sequences by element I am looking for a way to sum two sequences by element in F#. For example, if I have these two sequences: I want to get the following result: What would be the simplest or the best way to achieve this?
[ 0.004730224609375, 0.0111083984375, -0.0125732421875, 0.023681640625, 0.00830078125, 0.00909423828125, -0.005126953125, 0.03271484375, 0.0155029296875, -0.037353515625, -0.00173187255859375, 0.01806640625, -0.0032806396484375, 0.007659912109375, 0.0033111572265625, -0.004119873046875, ...
[ 563, 4904, 10554, 6626, 40, 26513, 5170, 390, 12830, 1238, 3949, 3742, 16487, 100, 3917, 47, 23, 27781, 765, 6097, 3444, 2046, 25632, 16750, 30362, 18, 2965, 69307, 903 ]
[ 0.12451171875, 0.209716796875, 0.2237548828125, 0.1453857421875, 0.079345703125, 0.1898193359375, 0.08056640625, 0.1204833984375, 0.2125244140625, 0.0667724609375, 0.051727294921875, 0.1317138671875, 0.062255859375, 0.0001220703125, 0.063720703125, 0.0479736328125, 0.032470703125, ...
embed
55738957_c0
55738957
fsharp
0
Title: This expression was expected to have type bool but here has type unit error Problem title: This expression was expected to have type bool but here has type unit error Tags: f%23 Problem: This expression was expected to have type bool but here has type unit error getting an error when I try to run this line of co...
This expression was expected to have type bool but here has type unit error This expression was expected to have type bool but here has type unit error f%23 This expression was expected to have type bool but here has type unit error getting an error when I try to run this line of code and I can't figure out why
[ -0.009033203125, -0.0262451171875, 0.0177001953125, 0.00101470947265625, -0.004058837890625, -0.0245361328125, -0.0089111328125, -0.0076904296875, -0.00360107421875, 0.036865234375, -0.01068115234375, 0.0174560546875, 0.0177001953125, 0.0023193359375, -0.032470703125, 0.002975463867187...
[ 3293, 125195, 509, 84751, 765, 10644, 142484, 1284, 3688, 1556, 25072, 18499, 47, 1238, 3949, 3742, 20949, 9790, 11675, 903, 13315, 18151, 26366, 1810, 15400 ]
[ 0.056243896484375, 0.2208251953125, 0.0963134765625, 0.181640625, 0.041046142578125, 0.2255859375, 0.1529541015625, 0.103271484375, 0.128173828125, 0.070556640625, 0.2333984375, 0.1998291015625, 0.00445556640625, 0.1278076171875, 0.1207275390625, 0.2025146484375, 0.02386474609375, ...
embed
3989339_c1
3989339
fsharp
1
623ae-aef6-4a06-a185-05f59be47d67&displaylang=en Do I need to compile FSharp.Core.dll with mono also? Code signals: Compiling, Mono, FS0219, CLI, Documents, FSharp-2.0.0.0, FSharp.Core.dll, Consider, fsc.exe, o:FSKit.dll, debug:full, define:DEBUG, define:TRACE, platform:x86, mscorlib.dll, System.Core.dll, System.dll, t...
623ae-aef6-4a06-a185-05f59be47d67&displaylang=en Do I need to compile FSharp.Core.dll with mono also? Code signals: Compiling, Mono, FS0219, CLI, Documents, FSharp-2.0.0.0, FSharp.Core.dll, Consider, fsc.exe, o:FSKit.dll, debug:full, define:DEBUG, define:TRACE, platform:x86, mscorlib.dll, System.Core.dll, System.dll, t...
[ -0.0264892578125, 0.020263671875, -0.00872802734375, -0.006134033203125, -0.00799560546875, -0.00634765625, 0.00183868408203125, 0.0037078857421875, -0.01324462890625, 0.025146484375, 0.026123046875, -0.00872802734375, -0.021728515625, 0.0093994140625, 0.01055908203125, 0.0035552978515...
[ 305, 3742, 4240, 173674, 9016, 146111, 87741, 12975, 13330, 18197, 3066, 984, 87, 3871, 9969, 1340, 93774, 3467, 254, 50886, 13, 71, 1181, 678, 22460, 2843, 28864, 26073, 15612, 49725, 77879, 9550, 2947, 10927, 43101, 73011, 99929, 5, 13739...
[ 0.01788330078125, 0.08966064453125, 0.00799560546875, 0.018096923828125, 0.0484619140625, 0.1063232421875, 0.055023193359375, 0.03961181640625, 0.0159759521484375, 0.06536865234375, 0.014617919921875, 0.0188446044921875, 0.01116943359375, 0.105224609375, 0.169677734375, 0.1243896484375...
embed
47739108_c0
47739108
fsharp
0
Title: Reference FSharp.Data within online repls Problem title: Reference FSharp.Data within online repls Tags: f%23-data, f%23 Problem: Reference FSharp.Data within online repls I wonder if and how I could make use of packages like FSharp.Data at online REPLs such as repl.it . The usual #r or #load are not sufficient,...
Reference FSharp.Data within online repls Reference FSharp.Data within online repls f%23-data f%23 Reference FSharp.Data Reference FSharp.Data within online repls I wonder if and how I could make use of packages like FSharp.Data at online REPLs such as repl.it . The usual #r or #load are not sufficient, maybe I'm lacki...
[ 0.0189208984375, 0.0400390625, -0.007171630859375, 0.011474609375, 0.00299072265625, 0.0008544921875, 0.022705078125, 0.004791259765625, -0.005035400390625, -0.042236328125, -0.007476806640625, -0.020263671875, 0.0022735595703125, 0.0164794921875, 0.019775390625, 0.0098876953125, 0.0...
[ 215996, 93774, 3467, 254, 5, 137989, 28032, 1118, 10958, 8080, 1238, 167218, 27495, 10135, 3742, 32195, 2174, 3642, 5809, 3249, 4527, 98169, 1884, 99, 9069, 21130, 456, 2424, 217, 115723, 468, 42, 707, 63033, 959, 129980, 51359, 65998, 4488...
[ 0.22021484375, 0.13037109375, 0.23095703125, 0.247314453125, 0.074462890625, 0.223876953125, 0.13037109375, 0.196044921875, 0.1788330078125, 0.1656494140625, 0.0849609375, 0.02734375, 0.08819580078125, 0.16552734375, 0.1181640625, 0.059051513671875, 0.030029296875, 0.01736450195312...
embed
526930_c0
526930
fsharp
0
Title: F# naming convention Problem title: F# naming convention Tags: .net, f%23, naming-conventions Problem: F# naming convention Is there an "official" naming / casing convention for F#? I'm always in doubt of using C# style or not: Class.MyFunctionName or Module.my_function_name In F# you're meant to mix BCL classes...
F# naming convention F# naming convention .net f%23 naming-conventions Class.MyFunctionName Module.my_function_name F# naming convention Is there an "official" naming / casing convention for F#? I'm always in doubt of using C# style or not: In F# you're meant to mix BCL classes and F# library ones: they have different ...
[ 0.003570556640625, 0.00102996826171875, 0.004058837890625, 0.00732421875, 0.013916015625, 0.006103515625, 0.00099945068359375, -0.00982666015625, -0.004425048828125, 0.00946044921875, 0.0076904296875, 0.0030975341796875, 0.0019989013671875, 0.00775146484375, 0.01080322265625, -0.013793...
[ 563, 4904, 147453, 101805, 5, 1179, 1238, 3742, 2271, 57241, 35014, 31852, 97249, 10763, 163612, 63014, 1176, 137175, 11627, 2071, 2685, 142, 161818, 58, 248, 4611, 214, 100, 11343, 92814, 17368, 313, 20623, 360, 131148, 17664, 335, 37486, ...
[ 0.2003173828125, 0.24755859375, 0.2359619140625, 0.217529296875, 0.017181396484375, 0.135009765625, 0.1138916015625, 0.089111328125, 0.0224456787109375, 0.1260986328125, 0.1641845703125, 0.0782470703125, 0.108642578125, 0.037445068359375, 0.1068115234375, 0.098388671875, 0.0836181640...
embed
69328327_c0
69328327
fsharp
0
Title: How to create dotNet 6 self installing service? Problem title: How to create dotNet 6 self installing service? Tags: f%23, .net Problem: How to create dotNet 6 self installing service? This used to be relatively easy using System.Configuration.Install module, which is unavailable since .Net 5 and isn't in 6.0 ei...
How to create dotNet 6 self installing service? How to create dotNet 6 self installing service? f%23 .net How How to create dotNet 6 self installing service? This used to be relatively easy using System.Configuration.Install module, which is unavailable since .Net 5 and isn't in 6.0 either. The point is not using WinAP...
[ 0.0014190673828125, 0.01025390625, -0.000759124755859375, -0.01416015625, -0.026123046875, 0.0009002685546875, 0.00933837890625, -0.0274658203125, -0.0015869140625, -0.02734375, 0.00075531005859375, 0.0010833740234375, -0.004486083984375, 0.006439208984375, 0.01104736328125, 0.00192260...
[ 11249, 47, 28282, 20633, 24447, 305, 15970, 20600, 214, 4516, 1238, 3949, 3742, 1179, 11814, 35845, 23468, 12353, 59994, 4153, 92621, 88996, 220, 330, 16792, 190, 2289, 2389, 6275, 959, 17686, 74220, 136, 5570, 61112, 160017, 208124, 46876, ...
[ 0.0709228515625, 0.032623291015625, 0.1739501953125, 0.1636962890625, 0.23876953125, 0.2216796875, 0.1954345703125, 0.1854248046875, 0.0892333984375, 0.197998046875, 0.03857421875, 0.020660400390625, 0.10467529296875, 0.1566162109375, 0.0374755859375, 0.01336669921875, 0.099487304687...
embed
38586209_c0
38586209
fsharp
0
Title: F# type provider Problem title: F# type provider Tags: f%23, type-providers Problem: F# type provider My project handles data that is stored in a key value based NoSQL database.The value part is stored as byte stream.I want a type provider to read my data according to the schema of the byte stream.The schema of ...
F# type provider F# type provider f%23 type-providers F# type provider My project handles data that is stored in a key value based NoSQL database.The value part is stored as byte stream.I want a type provider to read my data according to the schema of the byte stream.The schema of the data is represented as json schema...
[ 0.00958251953125, 0.00714111328125, -0.0024566650390625, -0.01324462890625, -0.017822265625, 0.000823974609375, -0.00238037109375, 0.0087890625, -0.00482177734375, -0.0308837890625, 0.0167236328125, 0.0164794921875, -0.00286865234375, -0.0069580078125, 0.0113525390625, -0.0010452270507...
[ 563, 4904, 10644, 81450, 1238, 3949, 3742, 93136, 14202, 2646, 13452, 34831, 2053, 4343, 22799, 34292, 35509, 438, 158897, 63399, 2831, 83, 71, 390, 75973, 3444, 10, 12301, 59499, 61903, 67, 33636, 1647, 1681, 4171, 4527, 821, 903, 70, 29...
[ 0.1507568359375, 0.1995849609375, 0.2177734375, 0.2413330078125, 0.101318359375, 0.0177154541015625, 0.12060546875, 0.181396484375, 0.06536865234375, 0.000457763671875, 0.127197265625, 0.057708740234375, 0.10174560546875, 0.0673828125, 0.0948486328125, 0.145263671875, 0.0416870117187...
embed
60313172_c0
60313172
fsharp
0
Title: Find mean of list in F# Problem title: Find mean of list in F# Tags: f%23 Problem: Find mean of list in F# I'm trying to find the average of a list Here's what I have so far let rec avg aList = match aList with | head::tail -> head+avg(tail) | [] -> 0 This obtains the sum. I've tried head+avg(tail)/aList.Length,...
Find mean of list in F# Find mean of list in F# f%23 Find head::tail Find mean of list in F# I'm trying to find the average of a list Here's what I have so far This obtains the sum. I've tried head+avg(tail)/aList.Length, but it gives me an incorrect result as I don't know exactly what that's doing Any help would be ap...
[ -0.006744384765625, 0.006866455078125, 0.01361083984375, 0.022216796875, -0.0167236328125, 0.0155029296875, 0.0107421875, 0.027099609375, 0.0186767578125, -0.027587890625, 0.024169921875, -0.01251220703125, 0.0087890625, 0.015625, 0.01165771484375, 0.0033721923828125, 0.026611328125,...
[ 26040, 29459, 111, 5303, 23, 563, 4904, 1238, 3949, 3742, 10336, 46741, 31577, 7413, 83080, 2060, 113054, 10554, 37842, 1328, 3818, 177, 11, 154663, 449, 214552, 16750, 3714, 4358, 77947 ]
[ 0.0950927734375, 0.192138671875, 0.12353515625, 0.2130126953125, 0.0634765625, 0.1337890625, 0.18701171875, 0.09173583984375, 0.0270843505859375, 0.1265869140625, 0.1396484375, 0.216064453125, 0.047607421875, 0.0716552734375, 0.22314453125, 0.0638427734375, 0.064453125, 0.1640625, ...
embed
39328342_c0
39328342
fsharp
0
Title: How to run F# interactive (fsi.exe) in dotnet core? Is it supported yet? Problem title: How to run F# interactive (fsi.exe) in dotnet core? Is it supported yet? Tags: linux, f%23, f%23-interactive, .net-core, .net Problem: How to run F# interactive (fsi.exe) in dotnet core? Is it supported yet? I cannot run find...
How to run F# interactive (fsi.exe) in dotnet core? Is it supported yet? How to run F# interactive (fsi.exe) in dotnet core? Is it supported yet? linux f%23 f%23-interactive .net-core .net How fsi.exe How to run F# interactive (fsi.exe) in dotnet core? Is it supported yet? I cannot run find/run fsi.exe either in window...
[ -0.01495361328125, 0.0028228759765625, 0.01214599609375, 0.0184326171875, -0.0081787109375, -0.00007534027099609375, 0.0162353515625, 0.00897216796875, -0.0157470703125, -0.0025482177734375, 0.01263427734375, 0.017333984375, 0.0019683837890625, 0.00579833984375, 0.03369140625, -0.00204...
[ 11249, 47, 11675, 563, 4904, 212398, 420, 172, 5, 46480, 16, 23, 20633, 1179, 56458, 2071, 8060, 297, 14373, 442, 11508, 6077, 1238, 3742, 27495, 10433, 71232, 30854, 53418, 7413, 64, 16428, 40101, 54825, 707, 98, 1650, 83, 110, 136913, ...
[ 0.0791015625, 0.06805419921875, 0.15966796875, 0.1497802734375, 0.2060546875, 0.2279052734375, 0.134033203125, 0.22119140625, 0.0268707275390625, 0.2139892578125, 0.0196533203125, 0.091064453125, 0.120361328125, 0.1585693359375, 0.1842041015625, 0.0227813720703125, 0.170654296875, ...
embed
43801138_c0
43801138
fsharp
0
Title: F# Square Root on Int Problem title: F# Square Root on Int Tags: floating-point, f%23, types, int, sqrt Problem: F# Square Root on Int I'm building a program in F# in which i need to do the Square Root of a Integer value. I've searched and found none function which allows to doing that without the use of a cast ...
F# Square Root on Int F# Square Root on Int floating-point f%23 types int sqrt Square Root F# Square Root on Int I'm building a program in F# in which i need to do the Square Root of a Integer value. I've searched and found none function which allows to doing that without the use of a cast int -> float . Is there a fun...
[ -0.00531005859375, 0.00439453125, 0.0184326171875, 0.00201416015625, 0.000820159912109375, 0.001617431640625, -0.0062255859375, -0.021240234375, -0.007354736328125, -0.01226806640625, 0.0126953125, 0.006317138671875, -0.01239013671875, 0.01239013671875, 0.00811767578125, -0.02868652343...
[ 563, 4904, 68305, 150948, 98, 360, 18, 21917, 26518, 38496, 1238, 3949, 3742, 52895, 23, 864, 3198, 87, 33976, 1528, 3871, 54, 70, 111, 44401, 34292, 33938, 351, 32354, 114864, 20594, 15490, 4527, 37702, 257, 3249, 108047, 74855, 892, 150...
[ 0.1326904296875, 0.2113037109375, 0.18603515625, 0.29052734375, 0.1087646484375, 0.1319580078125, 0.1488037109375, 0.1708984375, 0.0296478271484375, 0.09625244140625, 0.0860595703125, 0.04779052734375, 0.142333984375, 0.1591796875, 0.09967041015625, 0.1280517578125, 0.1256103515625, ...
embed
21551227_c0
21551227
fsharp
0
Title: F# compilation without msbuild Problem title: F# compilation without msbuild Tags: msbuild, f%23, .net Problem: F# compilation without msbuild how do I simulate, from the command line, compiling an F# file with fsc.exe: without resorting to msbuild explicitly setting the framework version to another one of my ch...
F# compilation without msbuild F# compilation without msbuild msbuild f%23 .net F# compilation without msbuild how do I simulate, from the command line, compiling an F# file with fsc.exe: without resorting to msbuild explicitly setting the framework version to another one of my choosing (for example .Net 3.5) ? So far ...
[ -0.0184326171875, 0.0213623046875, -0.00087738037109375, -0.01519775390625, -0.0177001953125, 0.00154876708984375, -0.0024566650390625, -0.00408935546875, -0.0020751953125, -0.01470947265625, 0.00004100799560546875, -0.002288818359375, -0.00012111663818359375, 0.0010986328125, 0.01373291...
[ 563, 4904, 98352, 15490, 68163, 177149, 1238, 3742, 1179, 3642, 40226, 67, 75101, 13315, 9969, 49725, 11435, 678, 10382, 46480, 70634, 53550, 70, 170846, 11389, 218873, 24447, 38704, 3871, 3249, 13452, 756, 84458, 35829, 106117 ]
[ 0.137451171875, 0.2100830078125, 0.19677734375, 0.1241455078125, 0.1107177734375, 0.252685546875, 0.1143798828125, 0.1158447265625, 0.12548828125, 0.0076904296875, 0.227783203125, 0.06298828125, 0.1226806640625, 0.0631103515625, 0.1693115234375, 0.082763671875, 0.1348876953125, 0.0...
embed
35147514_c0
35147514
fsharp
0
Title: Does F# has a function to tell if a list contains a specific value? Problem title: Does F# has a function to tell if a list contains a specific value? Tags: contain, f%23 Problem: Does F# has a function to tell if a list contains a specific value? Haskell has "elem" predicate to tell like: Prelude> 5 `elem` [2,4...
Does F# has a function to tell if a list contains a specific value? Does F# has a function to tell if a list contains a specific value? contain f%23 Does Prelude Does F# has a function to tell if a list contains a specific value? Haskell has "elem" predicate to tell like: In F#, how to conveniently tell whether a value...
[ -0.005584716796875, 0.0031890869140625, 0.009765625, -0.0025482177734375, -0.0113525390625, 0.005126953125, 0.01116943359375, -0.000850677490234375, -0.0223388671875, -0.0157470703125, 0.00469970703125, 0.0240478515625, -0.01318359375, 0.005096435546875, 0.00787353515625, -0.0078735351...
[ 101790, 563, 4904, 32354, 14192, 2174, 5303, 70541, 7, 29458, 34292, 1556, 10, 47, 1238, 3949, 3742, 1914, 822, 112, 20625, 142508, 27889, 1653, 2063, 67, 142267, 36766, 83, 23, 10298, 40, 864, 22288, 10763, 6635 ]
[ 0.0180816650390625, 0.1614990234375, 0.239013671875, 0.205322265625, 0.17529296875, 0.109375, 0.2174072265625, 0.1849365234375, 0.04376220703125, 0.1866455078125, 0.2069091796875, 0.03607177734375, 0.017547607421875, 0.02899169921875, 0.06817626953125, 0.052978515625, 0.0848388671875...
embed
4270206_c0
4270206
fsharp
0
Title: How to use one module from another Problem title: How to use one module from another Tags: f%23, module Problem: How to use one module from another I have two F# modules, say a module called A in A.fs and B in B.fs. However, when I use module A from module B, F# does not see it. I've tried all combinations of op...
How to use one module from another How to use one module from another f%23 module another How MyNamespace.A How to use one module from another I have two F# modules, say a module called A in A.fs and B in B.fs. However, when I use module A from module B, F# does not see it. I've tried all combinations of open directive...
[ -0.006103515625, -0.00823974609375, -0.003143310546875, 0.0322265625, 0.0052490234375, 0.006195068359375, 0.0034027099609375, -0.0142822265625, 0.00665283203125, -0.04345703125, 0.003814697265625, 0.00982666015625, 0.01263427734375, 0.0140380859375, 0.0152587890625, -0.033203125, 0.0...
[ 11249, 47, 4527, 1632, 88996, 1295, 15700, 1238, 3949, 3742, 2646, 163612, 65421, 284, 6626, 563, 4904, 62, 23, 17447, 136, 335, 14602, 959, 1957, 442, 37842, 162515, 9803, 8951, 60877, 33720, 112397, 20594, 44691 ]
[ 0.086181640625, 0.05682373046875, 0.2010498046875, 0.1376953125, 0.263427734375, 0.185546875, 0.127197265625, 0.06671142578125, 0.023223876953125, 0.1429443359375, 0.1243896484375, 0.1517333984375, 0.2249755859375, 0.08837890625, 0.097412109375, 0.0899658203125, 0.1767578125, 0.084...
embed
28977332_c0
28977332
fsharp
0
Title: How to check function definition in FSI (F# Interactive)? Problem title: How to check function definition in FSI (F# Interactive)? Tags: f%23, f%23-interactive Problem: How to check function definition in FSI (F# Interactive)? In Clojure , I can use (doc my-function) ; to check function documentation, and (sourc...
How to check function definition in FSI (F# Interactive)? How to check function definition in FSI (F# Interactive)? f%23 f%23-interactive How FSI Interactive Clojure How to check function definition in FSI (F# Interactive)? In Clojure , I can use Is there any similar method in F# Interactive?
[ -0.0022430419921875, 0, 0.01116943359375, 0.0225830078125, -0.004638671875, 0.00616455078125, 0.00628662109375, -0.0036468505859375, -0.0003108978271484375, 0.001373291015625, 0.0223388671875, -0.0125732421875, -0.00762939453125, -0.0150146484375, 0.031494140625, 0.0057373046875, 0.0...
[ 11249, 12765, 32354, 80934, 563, 9902, 919, 4904, 5337, 71232, 47, 23, 1238, 3742, 27495, 10433, 51053, 461, 107, 360, 831, 4527, 21373, 55300 ]
[ 0.03204345703125, 0.2034912109375, 0.19873046875, 0.2144775390625, 0.103271484375, 0.209228515625, 0.061492919921875, 0.149658203125, 0.12255859375, 0.13720703125, 0.0285491943359375, 0.047393798828125, 0.048431396484375, 0.03515625, 0.026611328125, 0.1075439453125, 0.1011962890625, ...
embed
55108076_c0
55108076
fsharp
0
Title: Is there a reference for fsi.commands? Problem title: Is there a reference for fsi.commands? Tags: fsi, f%23, command Problem: Is there a reference for fsi.commands? I'm trying to quiet down the F# Interactive terminal in VS Code. In my search I ran into commands such as fsi.ShowDeclarationVariables <- false, bu...
Is there a reference for fsi.commands? Is there a reference for fsi.commands? fsi f%23 command fsi.commands Is there a reference for fsi.commands? I'm trying to quiet down the F# Interactive terminal in VS Code. In my search I ran into commands such as fsi.ShowDeclarationVariables <- false, but I haven't found document...
[ -0.00007104873657226562, 0.0196533203125, 0.0177001953125, 0.0211181640625, 0.00457763671875, 0.00106048583984375, 0.0174560546875, 0.00408935546875, 0.02001953125, 0.0277099609375, -0.0012664794921875, 0.004302978515625, 0.0026397705078125, 0.0218505859375, 0.01324462890625, -0.019775...
[ 91067, 1238, 172, 5, 277, 12018, 7, 10, 100, 3949, 3742, 75101, 2685, 47, 92136, 7565, 563, 4904, 5337, 71232, 33949, 44160, 28864, 33938, 168660, 120152, 320, 81827, 14, 19736, 4426, 98320, 209806, 19882 ]
[ 0.177001953125, 0.136962890625, 0.21630859375, 0.060546875, 0.1243896484375, 0.1846923828125, 0.0272979736328125, 0.01007080078125, 0.0153656005859375, 0.070556640625, 0.1676025390625, 0.2158203125, 0.00335693359375, 0.027923583984375, 0.1478271484375, 0.08966064453125, 0.10028076171...
embed
2478079_c0
2478079
fsharp
0
Title: Shadowing and Nested function Problem title: Shadowing and Nested function Tags: shadowing, f%23 Problem: Shadowing and Nested function I want to understand how the mechanism of Shadowing and Nested function work. For example: let func y = let dup y = y + y let z = dup y let dup y = let dup z = let y = y * z y l...
Shadowing and Nested function Shadowing and Nested function shadowing f%23 Shadowing Nested Shadowing and Nested function I want to understand how the mechanism of Shadowing and Nested function work. For example: Can someone explain what happen here?
[ -0.015869140625, 0.030517578125, 0.005828857421875, 0.0235595703125, 0.0263671875, 0.006591796875, 0.006744384765625, 0.0025634765625, 0.01324462890625, -0.0050048828125, -0.0255126953125, -0.01214599609375, -0.005462646484375, 0.0201416015625, 0.032470703125, 0.01025390625, 0.013488...
[ 132706, 214, 136, 28701, 71, 32354, 208429, 1238, 3949, 3742, 87, 3444, 47, 28219, 3642, 70, 191619, 111, 4488, 1326, 27781, 4171, 22008, 73342, 2367, 53383, 3688 ]
[ 0.224609375, 0.1622314453125, 0.1451416015625, 0.21875, 0.1641845703125, 0.1834716796875, 0.2088623046875, 0.07415771484375, 0.09814453125, 0.1470947265625, 0.0261077880859375, 0.088623046875, 0.0287322998046875, 0.1353759765625, 0.08465576171875, 0.036895751953125, 0.216796875, 0....
embed
7604774_c0
7604774
fsharp
0
Title: Type Provider for Entity Framework Problem title: Type Provider for Entity Framework Tags: f%23-3.0, entity-framework, f%23, type-providers Problem: Type Provider for Entity Framework Would it be possible to create a type provider in F# 3.0 for Entity Framework, so that I can get neat IntelliSense like with the ...
Type Provider for Entity Framework Type Provider for Entity Framework f%23-3.0 entity-framework f%23 type-providers Type Provider Entity Framework Type Provider for Entity Framework Would it be possible to create a type provider in F# 3.0 for Entity Framework, so that I can get neat IntelliSense like with the SqlDataCo...
[ 0.0311279296875, 0.0162353515625, -0.01226806640625, -0.0035400390625, -0.0306396484375, 0.00616455078125, 0.0032501220703125, 0.0172119140625, -0.003448486328125, -0.045166015625, -0.006500244140625, 0.00732421875, -0.005340576171875, -0.002105712890625, 0.006866455078125, 0.022216796...
[ 60457, 123089, 42, 100, 16511, 2481, 202220, 1238, 27495, 132265, 77630, 160328, 3742, 10644, 93136, 14202, 154559, 186, 7722, 28282, 10, 81450, 23, 563, 4904, 17596, 831, 2046, 22021, 24018, 150, 294, 21161, 1884, 678, 99247, 137989, 235603,...
[ 0.259765625, 0.2119140625, 0.10205078125, 0.06622314453125, 0.129638671875, 0.1263427734375, 0.218017578125, 0.047698974609375, 0.0210113525390625, 0.1480712890625, 0.0921630859375, 0.0728759765625, 0.013916015625, 0.25634765625, 0.18408203125, 0.0640869140625, 0.005645751953125, 0...
embed
12777989_c0
12777989
fsharp
0
Title: F# Subfolder Error Problem title: F# Subfolder Error Tags: visual-studio-2010, f%23 Problem: F# Subfolder Error If I add two subfolders with the same name in an F# project I get this error: The folder strucure is: <ItemGroup> <Compile Include="Test\File1.fs" /> <Compile Include="SubFolder\Test\File2.fs" /> </Ite...
F# Subfolder Error F# Subfolder Error visual-studio-2010 f%23 Subfolder Error ItemGroup Compile Include Test File1.fs File2.fs visual-studio-2010 F# Subfolder Error If I add two subfolders with the same name in an F# project I get this error: The folder strucure is: Does anyone know a work around?
[ 0.00107574462890625, 0.01226806640625, -0.00701904296875, 0.0002307891845703125, 0.00153350830078125, 0.01470947265625, -0.0230712890625, 0.00177764892578125, -0.00982666015625, -0.00543212890625, 0.0078125, -0.000568389892578125, 0.02294921875, 0.00982666015625, 0.01251220703125, 0.00...
[ 563, 4904, 8273, 42822, 56, 212059, 21176, 52629, 73552, 1238, 3742, 78426, 205072, 15612, 1340, 822, 8647, 42724, 17447, 5442, 15190, 6626, 1614, 1314, 678, 5701, 9351, 13452, 903, 18499, 581, 78303, 29686, 57436, 83, 35672, 3714, 4488, 10...
[ 0.1297607421875, 0.2215576171875, 0.243408203125, 0.1900634765625, 0.06817626953125, 0.1624755859375, 0.1358642578125, 0.14501953125, 0.1385498046875, 0.049072265625, 0.0968017578125, 0.1025390625, 0.133544921875, 0.060577392578125, 0.072265625, 0.03985595703125, 0.1279296875, 0.07...
embed
26871212_c0
26871212
fsharp
0
Title: constraining type in Seq.scan Problem title: constraining type in Seq.scan Tags: f%23 Problem: constraining type in Seq.scan I am not sure why this happens //fine, type of xs is Set<int> let e = Seq.scan (fun xs x -> Set.add x xs) Set.empty [1..2] //bad, type of xs is Set<obj>, no type check no good let e = Seq....
constraining type in Seq.scan constraining type in Seq.scan f%23 Seq.scan Set Set.add Set.empty xs:Set constraining type in Seq.scan I am not sure why this happens Must be my eyes but what gives ?
[ 0.010009765625, 0.014404296875, 0.020263671875, 0.017333984375, -0.000530242919921875, -0.00119781494140625, -0.015625, 0.01300048828125, 0.004302978515625, -0.01190185546875, 0.002471923828125, 0.0257568359375, -0.0000743865966796875, 0.00110626220703125, 0.004150390625, 0.01190185546...
[ 158, 7, 118862, 10644, 503, 864, 4398, 23, 1238, 3742, 19943, 4028, 33548, 939, 1022, 294, 126, 9077, 15400, 903, 96276, 74275, 186, 759, 46223, 76199 ]
[ 0.1513671875, 0.119384765625, 0.2529296875, 0.1903076171875, 0.0833740234375, 0.1759033203125, 0.1593017578125, 0.040924072265625, 0.0277099609375, 0.104248046875, 0.1673583984375, 0.0897216796875, 0.1361083984375, 0.053314208984375, 0.0986328125, 0.0504150390625, 0.1109619140625, ...
embed
56098822_c0
56098822
fsharp
0
Title: null with cast vs Unchecked.defaultof? Problem title: null with cast vs Unchecked.defaultof? Tags: f%23 Problem: null with cast vs Unchecked.defaultof? I have come across two ways to create a properly typed null value in F#: // null with cast let mutable x = null :> MyReferenceType // Unchecked.defaultof let mut...
null with cast vs Unchecked.defaultof? null with cast vs Unchecked.defaultof? f%23 Unchecked.defaultof MyReferenceType null with cast vs Unchecked.defaultof? I have come across two ways to create a properly typed null value in F#: Is there any reason to favour one over the other?
[ 0.01513671875, 0.013427734375, 0.0274658203125, 0.00921630859375, -0.0089111328125, -0.01904296875, 0.006195068359375, -0.0189208984375, 0.0032196044921875, 0.01434326171875, -0.006256103515625, -0.016357421875, 0.008544921875, 0.04443359375, 0.00921630859375, -0.0186767578125, -0.00...
[ 56574, 678, 37702, 20209, 992, 78292, 214810, 4390, 32, 297, 1238, 3742, 2646, 4332, 69988, 196707, 36880, 6626, 48322, 28282, 155965, 10644, 71, 34292, 563, 4904, 31635, 141775, 645 ]
[ 0.258544921875, 0.1199951171875, 0.1671142578125, 0.122802734375, 0.1302490234375, 0.1854248046875, 0.225830078125, 0.2381591796875, 0.0126953125, 0.08892822265625, 0.0692138671875, 0.0814208984375, 0.1123046875, 0.037322998046875, 0.19384765625, 0.21533203125, 0.022918701171875, 0...
embed
34881336_c2
34881336
fsharp
2
reversegraph1, DFSgraph2, directgraph2, AddtoGraph, G:DFSgraphcore, G.ContainsKey, G.Add, G.Remove, Array.append, Array.iter, directgraphcore.Keys, reversegraphcore.ContainsKey, reversegraph1.Add, directgraphcore.Clear, reversegraphcore.Clear, reversegraph1.Keys, Console.ReadKey, num_nodes, Seq.length, DFSLoop1, G:DFS...
reversegraph1, DFSgraph2, directgraph2, AddtoGraph, G:DFSgraphcore, G.ContainsKey, G.Add, G.Remove, Array.append, Array.iter, directgraphcore.Keys, reversegraphcore.ContainsKey, reversegraph1.Add, directgraphcore.Clear, reversegraphcore.Clear, reversegraph1.Keys, Console.ReadKey, num_nodes, Seq.length, DFSLoop1, G:DFS...
[ -0.0036773681640625, 0.0186767578125, 0.003997802734375, 0.02587890625, 0.00897216796875, -0.016845703125, -0.0291748046875, -0.00238037109375, 0.01171875, 0.01300048828125, 0.00531005859375, 0.0301513671875, -0.006134033203125, 0.015869140625, 0.02392578125, 0.01275634765625, 0.0003...
[ 39531, 184, 41382, 418, 4, 391, 36381, 304, 8951, 29117, 188, 37878, 11727, 527, 12, 38997, 294, 30854, 11935, 25500, 162429, 4028, 432, 272, 69253, 53, 3611, 16840, 5, 133, 1657, 40777, 31345, 13269, 157, 503, 864, 23986, 98411, 30508, ...
[ 0.2335205078125, 0.12646484375, 0.25732421875, 0.0787353515625, 0.051544189453125, 0.062255859375, 0.1741943359375, 0.1099853515625, 0.1409912109375, 0.136474609375, 0.149169921875, 0.1922607421875, 0.1683349609375, 0.09326171875, 0.070068359375, 0.1201171875, 0.08502197265625, 0.2...
embed
6234055_c0
6234055
fsharp
0
Title: Is there a more compact syntax for TryFind? Problem title: Is there a more compact syntax for TryFind? Tags: c%23, coding-style, f%23 Problem: Is there a more compact syntax for TryFind? I am using a using Microsoft.FSharp.Core.Collections.FSharpMap and very often have to write: var oo = world.Entity.TryFind(t);...
Is there a more compact syntax for TryFind? Is there a more compact syntax for TryFind? c%23 coding-style f%23 TryFind world.Entity.TryFind oo.Value Is there a more compact syntax for TryFind? I am using a using Microsoft.FSharp.Core.Collections.FSharpMap and very often have to write: And similar. Any suggestions for a...
[ -0.010009765625, 0.018798828125, 0.01153564453125, -0.0037078857421875, -0.02001953125, -0.0303955078125, 0.01397705078125, -0.015380859375, 0.003662109375, -0.0194091796875, 0.00811767578125, 0.034423828125, -0.01251220703125, -0.00994873046875, 0.0142822265625, 0.01483154296875, -0...
[ 1286, 94928, 6002, 86531, 100, 40858, 204582, 2685, 10, 3742, 552, 6238, 40946, 1238, 8999, 18, 2481, 618, 1294, 806, 856, 50770, 17368, 7244, 36381, 3467, 254, 50886, 78457, 8996, 166179, 4552, 27983, 33022, 3493, 21373, 157666, 11522, 206...
[ 0.111572265625, 0.24072265625, 0.1201171875, 0.225830078125, 0.04901123046875, 0.2374267578125, 0.295166015625, 0.02154541015625, 0.01837158203125, 0.05279541015625, 0.1163330078125, 0.052001953125, 0.17822265625, 0.043243408203125, 0.061981201171875, 0.01202392578125, 0.024291992187...
embed
62818744_c0
62818744
fsharp
0
Title: where is sprintfn gone, in F#? Problem title: where is sprintfn gone, in F#? Tags: f%23 Problem: where is sprintfn gone, in F#? There are a few pages that mention sprintfn in F#. One of them is a classic: https://fsharpforfunandprofit.com/posts/fsharp-in-60-seconds/ But also here, in an answer by Tomas: Is the "...
where is sprintfn gone, in F#? where is sprintfn gone, in F#? f%23 where is sprintfn gone, in F#? There are a few pages that mention sprintfn in F#. One of them is a classic: https://fsharpforfunandprofit.com/posts/fsharp-in-60-seconds/ But also here, in an answer by Tomas: Is the "expression problem" solvable in F#? H...
[ -0.002685546875, 0.0089111328125, 0.0281982421875, 0.02685546875, -0.02294921875, 0.016845703125, 0.01556396484375, -0.01177978515625, -0.003173828125, -0.005950927734375, 0.0108642578125, 0.007080078125, 0.002471923828125, -0.03759765625, 0.02490234375, 0.00003838539123535156, -0.00...
[ 7440, 83, 145320, 14783, 74955, 23, 563, 4904, 1238, 3742, 37967, 41392, 54704, 420, 89280, 254, 2472, 16498, 39348, 73, 60488, 191633, 92858, 204629, 2967, 132944, 2886, 4527, 33342, 959, 61924, 184750, 1295, 46876 ]
[ 0.1021728515625, 0.06787109375, 0.21630859375, 0.2421875, 0.1583251953125, 0.03778076171875, 0.1304931640625, 0.2027587890625, 0.09515380859375, 0.0570068359375, 0.00146484375, 0.045166015625, 0.1126708984375, 0.037109375, 0.12060546875, 0.130859375, 0.006591796875, 0.0516357421875...
embed
2979859_c0
2979859
fsharp
0
Title: In Visual Studio 2010 pressing Alt + Enter should open F# Interactive? Problem title: In Visual Studio 2010 pressing Alt + Enter should open F# Interactive? Tags: f%23-interactive, f%23 Problem: In Visual Studio 2010 pressing Alt + Enter should open F# Interactive? In Visual Studio 2010 pressing Alt + Enter shou...
In Visual Studio 2010 pressing Alt + Enter should open F# Interactive? In Visual Studio 2010 pressing Alt + Enter should open F# Interactive? f%23-interactive f%23 Visual Studio Alt Enter Interactive In Visual Studio 2010 pressing Alt + Enter should open F# Interactive? In Visual Studio 2010 pressing Alt + Enter should...
[ 0.00457763671875, -0.0000362396240234375, 0.016845703125, -0.00994873046875, 0.0011749267578125, 0.0120849609375, -0.003173828125, 0.001953125, -0.012451171875, 0.010986328125, 0.01055908203125, 0.00927734375, -0.00946044921875, 0.0206298828125, 0.014404296875, -0.0194091796875, 0.02...
[ 360, 73372, 22968, 1532, 24234, 10544, 997, 60816, 5608, 9803, 563, 4904, 5337, 71232, 1238, 27495, 10433, 3742, 36849, 18151, 1284, 33720, 96276 ]
[ 0.044769287109375, 0.181396484375, 0.1934814453125, 0.198486328125, 0.07733154296875, 0.1673583984375, 0.12353515625, 0.211181640625, 0.045257568359375, 0.15625, 0.138671875, 0.197265625, 0.1387939453125, 0.2054443359375, 0.0947265625, 0.037322998046875, 0.1256103515625, 0.07800292...
embed
16774205_c0
16774205
fsharp
0
Title: Convert array of tuples into 2d array Problem title: Convert array of tuples into 2d array Tags: f%23 Problem: Convert array of tuples into 2d array I just wonder is there a better approach to convert an array of tuples into a two-dimensional array? let list = [|("a", "1"); ("b", "2"); ("c", "3")|];; let arr = A...
Convert array of tuples into 2d array Convert array of tuples into 2d array f%23 Convert Array2D.init Array.length Convert array of tuples into 2d array I just wonder is there a better approach to convert an array of tuples into a two-dimensional array?
[ 0.0023193359375, 0.0016021728515625, 0.000629425048828125, 0.0216064453125, -0.00299072265625, -0.0027618408203125, -0.001190185546875, 0.0081787109375, 0.0159912109375, 0.01312255859375, 0.014404296875, 0.01708984375, 0.0027313232421875, 0.0341796875, -0.010986328125, -0.0010681152343...
[ 1657, 11549, 10298, 53, 111, 370, 99726, 3934, 116, 71, 1238, 3742, 69253, 304, 397, 217, 23986, 32195, 11522, 51515, 96760, 10, 6626, 157955 ]
[ 0.042877197265625, 0.1253662109375, 0.1904296875, 0.135498046875, 0.08837890625, 0.1630859375, 0.255615234375, 0.1025390625, 0.1478271484375, 0.1282958984375, 0.0154876708984375, 0.045379638671875, 0.1533203125, 0.097412109375, 0.115234375, 0.0262451171875, 0.030059814453125, 0.063...
embed
46038832_c0
46038832
fsharp
0
Title: F# filter out only first occurrence from list Problem title: F# filter out only first occurrence from list Tags: f%23, filter, fold Problem: F# filter out only first occurrence from list I have a list and I want to remove an element matching some criteria but remove only one element. let items = [1;2;3] let pred...
F# filter out only first occurrence from list F# filter out only first occurrence from list f%23 filter fold list List.fold F# filter out only first occurrence from list I have a list and I want to remove an element matching some criteria but remove only one element. How to achieve method returning list with [1;3]?
[ 0.009033203125, 0.01080322265625, -0.0029144287109375, -0.0030517578125, 0.00048065185546875, 0.0142822265625, 0.0145263671875, 0.0211181640625, 0.0108642578125, -0.0245361328125, 0.01177978515625, 0.0145263671875, -0.0020599365234375, 0.01708984375, 0.001739501953125, 0.0147705078125,...
[ 563, 4904, 46312, 1810, 4734, 5117, 74918, 42, 1295, 5303, 1238, 3949, 3742, 42822, 32036, 6620, 765, 3444, 87388, 12830, 14858, 55738, 1632, 69307, 55300, 30646, 678, 68252, 74, 96386 ]
[ 0.1214599609375, 0.2164306640625, 0.2412109375, 0.11865234375, 0.11474609375, 0.140380859375, 0.1436767578125, 0.11474609375, 0.1165771484375, 0.205810546875, 0.09259033203125, 0.032470703125, 0.14404296875, 0.189697265625, 0.1927490234375, 0.024658203125, 0.0144500732421875, 0.062...
embed
46235392_c1
46235392
fsharp
1
usr/local/mono/bin:/usr/local/bin I have no trouble running F# in the terminal, so I know it's properly installed. Any suggestions how I fix this? Code signals: Having, Mono, Sierra, Library, Frameworks, Mono.framework, Versions, Current, JIT, d15-3, da80840, Thu, Jul, EDT, Copyright, Novell, Inc, Xamarin, Contributors...
usr/local/mono/bin:/usr/local/bin I have no trouble running F# in the terminal, so I know it's properly installed. Any suggestions how I fix this? Code signals: Having, Mono, Sierra, Library, Frameworks, Mono.framework, Versions, Current, JIT, d15-3, da80840, Thu, Jul, EDT, Copyright, Novell, Inc, Xamarin, Contributors...
[ 0.007293701171875, 0.01336669921875, -0.0035858154296875, 0.0264892578125, -0.0031585693359375, 0.020751953125, 0.004302978515625, -0.00286865234375, -0.01611328125, -0.00872802734375, -0.006622314453125, -0.01806640625, 0.00408935546875, 0.0223388671875, 0.035400390625, -0.01892089843...
[ 1821, 42, 98908, 64176, 7568, 223, 87, 765, 110, 63134, 51042, 563, 4904, 23, 33949, 3714, 155965, 20600, 297, 157666, 30022, 903, 28864, 26073, 7, 171855, 77879, 130454, 103835, 202220, 160328, 18244, 40647, 114063, 821, 6371, 104, 1837, 8...
[ 0.07177734375, 0.07623291015625, 0.1365966796875, 0.25244140625, 0.2015380859375, 0.05999755859375, 0.013336181640625, 0.030303955078125, 0.0670166015625, 0.13134765625, 0.1566162109375, 0.15478515625, 0.216064453125, 0.08447265625, 0.2239990234375, 0.030120849609375, 0.0615539550781...
embed
142878_c0
142878
fsharp
0
Title: Which language is better for general purpose programming, F# or Haskell? Problem title: Which language is better for general purpose programming, F# or Haskell? Tags: f%23, haskell, .net Problem: Which language is better for general purpose programming, F# or Haskell? I'm currently learning Haskell, Which langua...
Which language is better for general purpose programming, F# or Haskell? Which language is better for general purpose programming, F# or Haskell? f%23 haskell .net Which Haskell Which language is better for general purpose programming, F# or Haskell? I'm currently learning Haskell, Which language (F# or Haskell) do you...
[ -0.009765625, 0.00098419189453125, 0.0093994140625, 0.004180908203125, 0.00112152099609375, -0.00555419921875, -0.019775390625, -0.01904296875, 0.002716064453125, -0.0113525390625, 0.005767822265625, -0.028564453125, 0.0152587890625, 0.01165771484375, -0.0108642578125, -0.0026550292968...
[ 130078, 46876, 11522, 100, 4537, 60042, 56037, 563, 4904, 707, 20625, 142508, 83, 449, 1238, 3742, 1556, 1179, 82424, 52080, 919, 12601, 86685, 5351, 37515, 56 ]
[ 0.053466796875, 0.1932373046875, 0.1468505859375, 0.08892822265625, 0.128173828125, 0.14404296875, 0.1292724609375, 0.143310546875, 0.1956787109375, 0.0662841796875, 0.17041015625, 0.275634765625, 0.040924072265625, 0.0218353271484375, 0.0728759765625, 0.0797119140625, 0.137329101562...
embed
20556811_c0
20556811
fsharp
0
Title: Filter and convert `list option` to `list`? Problem title: Filter and convert `list option` to `list`? Tags: f%23 Problem: Filter and convert `list option` to `list`? I have the following code which will return a seq of DownloadLink for these Urls that can be parsed. type DownloadLink = { Url: string; Period: Da...
Filter and convert `list option` to `list`? Filter and convert `list option` to `list`? f%23 Filter DownloadLink Url Period DateTime Seq.map n.Attributes Value Helper.ParseRegex Cannot Error None Type Expecting Filter and convert `list option` to `list`? I have the following code which will return a seq of DownloadLink...
[ -0.0093994140625, 0.00335693359375, -0.004058837890625, 0.0087890625, -0.00439453125, 0.0013427734375, -0.001190185546875, 0.01165771484375, 0.00005459785461425781, 0.0091552734375, -0.0361328125, -0.005126953125, 0.015380859375, 0.02099609375, -0.0184326171875, 0.0157470703125, 0.03...
[ 128896, 136, 96760, 6562, 35829, 47, 1238, 3949, 3742, 4857, 64287, 4143, 141, 92329, 25512, 70059, 864, 62346, 191145, 190060, 39527, 56, 28636, 54601, 3355, 10869, 212059, 438, 86, 60457, 60075, 24762, 1135, 25632, 18151, 30646, 40, 111, ...
[ 0.2474365234375, 0.030914306640625, 0.1689453125, 0.2496337890625, 0.252685546875, 0.08526611328125, 0.040069580078125, 0.0173187255859375, 0.1400146484375, 0.161376953125, 0.1953125, 0.10064697265625, 0.0301513671875, 0.1390380859375, 0.0198516845703125, 0.088134765625, 0.130859375,...
embed
2937217_c0
2937217
fsharp
0
Title: Change the format of the output results in F# interactive Problem title: Change the format of the output results in F# interactive Tags: f%23, f%23-interactive Problem: Change the format of the output results in F# interactive Can I change the format of the output result which is returned when I call the variabl...
Change the format of the output results in F# interactive Change the format of the output results in F# interactive f%23 f%23-interactive Change ToString Change the format of the output results in F# interactive Can I change the format of the output result which is returned when I call the variable name in FSI windows?...
[ -0.004608154296875, -0.0019378662109375, 0.0198974609375, 0.0341796875, 0.0087890625, -0.011474609375, 0.01556396484375, 0.0196533203125, 0.00836181640625, 0.037841796875, -0.000659942626953125, -0.01348876953125, -0.007415771484375, -0.01019287109375, 0.035888671875, -0.00018405914306...
[ 87377, 70, 9384, 111, 140992, 50339, 23, 563, 4904, 212398, 1238, 3742, 27495, 10433, 71232, 717, 71713, 214, 4171, 87, 15549, 16750, 176377, 3229, 11782, 77336, 9351, 9902, 54825, 645, 19040, 297, 132, 32354, 36746, 959, 52490 ]
[ 0.1832275390625, 0.06256103515625, 0.2130126953125, 0.03955078125, 0.2021484375, 0.184326171875, 0.034698486328125, 0.1353759765625, 0.2122802734375, 0.1932373046875, 0.06463623046875, 0.05255126953125, 0.043701171875, 0.090576171875, 0.05865478515625, 0.170166015625, 0.15234375, 0...
embed
65532910_c0
65532910
fsharp
0
Title: F# Or-Tools Sat Solver Problem title: F# Or-Tools Sat Solver Tags: or-tools, f%23 Problem: F# Or-Tools Sat Solver I am experimenting with F# and want to do some constraint programming where I use Or-Tools. I have previously used the package together with Python, but I can’t get it to work with F#. I follow the C...
F# Or-Tools Sat Solver F# Or-Tools Sat Solver or-tools f%23 Or-Tools Sat Solver F# Or-Tools Sat Solver I am experimenting with F# and want to do some constraint programming where I use Or-Tools. I have previously used the package together with Python, but I can’t get it to work with F#. I follow the C# example: https:/...
[ 0.006134033203125, 0.00909423828125, 0.005950927734375, -0.01055908203125, -0.0133056640625, -0.0133056640625, 0.00098419189453125, -0.0084228515625, -0.02978515625, -0.0260009765625, -0.0047607421875, -0.018798828125, 0.0033416748046875, 0.021728515625, 0.007293701171875, -0.012145996...
[ 563, 4904, 3347, 9, 186490, 20745, 6678, 814, 707, 89110, 1238, 3742, 28007, 3444, 158, 2816, 4288, 56037, 4527, 7, 198395, 11814, 98169, 25842, 678, 145581, 831, 18, 442, 4488, 28960, 313, 27781, 229815, 59875, 100433, 121422, 86918, 758, ...
[ 0.1444091796875, 0.199951171875, 0.2216796875, 0.03875732421875, 0.2447509765625, 0.189453125, 0.1678466796875, 0.1326904296875, 0.2108154296875, 0.2130126953125, 0.06097412109375, 0.05389404296875, 0.125732421875, 0.025726318359375, 0.1099853515625, 0.18603515625, 0.1405029296875, ...
embed
66851184_c0
66851184
fsharp
0
Title: If Dictionary/Array/Map Exists Problem title: If Dictionary/Array/Map Exists Tags: f%23, asp.net Problem: If Dictionary/Array/Map Exists so looking at a way in F# to check if a variable exists and if it does, if it's a dictionary. The use case is a templating system, so there will be something like {{dictionaryN...
If Dictionary/Array/Map Exists If Dictionary/Array/Map Exists f%23 asp.net Dictionary Array Map Exists asp.net If Dictionary/Array/Map Exists so looking at a way in F# to check if a variable exists and if it does, if it's a dictionary. The use case is a templating system, so there will be something like {{dictionaryNam...
[ -0.0010833740234375, 0.00335693359375, 0.0021514892578125, 0.0017852783203125, -0.0167236328125, 0.01611328125, -0.0140380859375, 0.0107421875, -0.001739501953125, -0.0033721923828125, 0.022705078125, 0.004913330078125, 0.0164794921875, -0.0022430419921875, 0.045166015625, -0.003585815...
[ 4263, 147638, 64, 7614, 7092, 166179, 5443, 64370, 1238, 3949, 3742, 237, 254, 1179, 69253, 53, 42719, 16487, 10, 3917, 563, 4904, 12765, 2174, 77336, 32316, 442, 14602, 45, 10763, 6635, 4527, 7225, 127446, 26518, 5426, 1884, 428, 163612, ...
[ 0.17041015625, 0.2451171875, 0.0679931640625, 0.09564208984375, 0.2139892578125, 0.23388671875, 0.19873046875, 0.161376953125, 0.050537109375, 0.0213623046875, 0.0982666015625, 0.04827880859375, 0.111083984375, 0.135009765625, 0.12841796875, 0.07421875, 0.2392578125, 0.025054931640...
embed
2904889_c0
2904889
fsharp
0
Title: F# mutual recursion between modules Problem title: F# mutual recursion between modules Tags: f%23, recursion Problem: F# mutual recursion between modules For recursion in F#, existing documentation is clear about how to do it in the special case where it's just one function calling itself, or a group of physical...
F# mutual recursion between modules F# mutual recursion between modules f%23 recursion F# mutual recursion between modules For recursion in F#, existing documentation is clear about how to do it in the special case where it's just one function calling itself, or a group of physically adjacent functions calling each oth...
[ -0.002593994140625, -0.009521484375, 0.004241943359375, 0.0233154296875, 0.00118255615234375, 0.0164794921875, -0.0009307861328125, -0.01202392578125, 0.01385498046875, -0.002227783203125, 0.002777099609375, 0.00982666015625, 0.0040283203125, 0.0089111328125, 0.038818359375, -0.0117187...
[ 563, 4904, 199849, 195625, 1830, 17721, 88996, 1238, 3949, 3742, 23, 144573, 209806, 34735, 3642, 47, 54, 442, 5361, 7225, 1632, 32354, 159029, 68034, 21115, 72761, 123594, 16797, 12638, 3789, 4537, 12921, 3871, 11782 ]
[ 0.13623046875, 0.2208251953125, 0.199462890625, 0.2432861328125, 0.1595458984375, 0.15283203125, 0.214599609375, 0.08966064453125, 0.06768798828125, 0.1424560546875, 0.0171661376953125, 0.057281494140625, 0.1513671875, 0.10223388671875, 0.07269287109375, 0.05108642578125, 0.086181640...
embed
11081509_c0
11081509
fsharp
0
Title: Console input giving spurious values Problem title: Console input giving spurious values Tags: f%23-interactive, f%23 Problem: Console input giving spurious values After trying this simple console input with 5, the result is shown as 53 printfn "Enter no. of blocks: " let nBlock = System.Console.Read() printfn "...
Console input giving spurious values Console input giving spurious values f%23-interactive f%23 Console Enter System.Console.Read Console input giving spurious values After trying this simple console input with 5, the result is shown as 53 Tried it on the interactive, still getting wrong results. Any solutions please?
[ -0.003936767578125, 0.0157470703125, 0.016845703125, -0.0029449462890625, -0.004730224609375, 0.0174560546875, 0.0269775390625, -0.006256103515625, 0.0029449462890625, -0.01171875, -0.00347900390625, 0.005950927734375, -0.004150390625, -0.00020599365234375, 0.0196533203125, 0.010864257...
[ 1657, 40777, 107730, 68772, 65833, 93905, 142424, 1238, 167218, 27495, 10433, 71232, 3742, 60816, 12353, 11935, 31345, 31577, 903, 8781, 130250, 678, 190, 70, 16750, 127887, 237, 8934, 4699, 442, 212398, 7464, 20949, 44691, 50339, 51347, 22936 ...
[ 0.0655517578125, 0.1976318359375, 0.21044921875, 0.080810546875, 0.1942138671875, 0.224853515625, 0.1634521484375, 0.09051513671875, 0.0406494140625, 0.110595703125, 0.1312255859375, 0.1148681640625, 0.1646728515625, 0.135498046875, 0.10052490234375, 0.034637451171875, 0.150756835937...
embed
50907288_c0
50907288
fsharp
0
Title: How to call a static method on a generic constrained type Problem title: How to call a static method on a generic constrained type Tags: f%23 Problem: How to call a static method on a generic constrained type given this example: type Base() = static member Function() = "" type Derived() = inherit Base() let get<...
How to call a static method on a generic constrained type How to call a static method on a generic constrained type f%23 How Base Derived How to call a static method on a generic constrained type given this example: is there a way to call Function from get ?
[ 0.0081787109375, -0.00616455078125, 0.0225830078125, -0.0135498046875, 0.0005950927734375, -0.0223388671875, -0.00335693359375, 0.0014801025390625, -0.00439453125, -0.0341796875, -0.01806640625, -0.0179443359375, -0.0177001953125, 0.0216064453125, 0.005523681640625, -0.0272216796875, ...
[ 11249, 47, 11782, 201939, 55300, 98, 189534, 158, 9297, 122009, 10644, 10, 1238, 3949, 3742, 44978, 1310, 6, 27781, 3917, 28670, 10763, 1295, 2046 ]
[ 0.04705810546875, 0.0638427734375, 0.2099609375, 0.283203125, 0.22216796875, 0.10430908203125, 0.1934814453125, 0.057830810546875, 0.1341552734375, 0.06195068359375, 0.136962890625, 0.051605224609375, 0.04296875, 0.00970458984375, 0.0916748046875, 0.1602783203125, 0.0628662109375, ...
embed
21593457_c0
21593457
fsharp
0
Title: Unexpected keyword &#x27;type&#x27; in implementation file Problem title: Unexpected keyword &#x27;type&#x27; in implementation file Tags: f%23 Problem: Unexpected keyword 'type' in implementation file in VS 2008, F# 2.0, when compile a ML script have error Unexpected keyword 'type' in implementation file #inden...
Unexpected keyword &#x27;type&#x27; in implementation file Unexpected keyword &#x27;type&#x27; in implementation file f%23 Unexpected Unexpected keyword 'type' in implementation file in VS 2008, F# 2.0, when compile a ML script have error Unexpected keyword 'type' in implementation file original
[ 0.0135498046875, 0.0098876953125, -0.01171875, 0.004425048828125, -0.00958251953125, 0.01153564453125, -0.01068115234375, 0.01116943359375, -0.005340576171875, -0.01446533203125, -0.00194549560546875, 0.00775146484375, 0.0020294189453125, -0.00830078125, 0.017822265625, 0.0111694335937...
[ 992, 83613, 13, 89829, 166117, 3768, 50986, 23, 208124, 11435, 1238, 3742, 44160, 43304, 563, 4904, 16655, 9969, 1340, 39456, 26499, 765, 18499, 7311 ]
[ 0.06463623046875, 0.09844970703125, 0.0924072265625, 0.07672119140625, 0.2548828125, 0.07666015625, 0.25634765625, 0.036407470703125, 0.1995849609375, 0.1593017578125, 0.00677490234375, 0.053619384765625, 0.1715087890625, 0.2061767578125, 0.0712890625, 0.147216796875, 0.16357421875, ...
embed
22457739_c0
22457739
fsharp
0
Title: string vs String - single case discriminated union Problem title: string vs String - single case discriminated union Tags: f%23, string, .net Problem: string vs String - single case discriminated union If string is an alias of String in the .net framework why does this happen and how should I interpret it: type ...
string vs String - single case discriminated union string vs String - single case discriminated union f%23 string .net JustAString JustAStringAgain string vs String - single case discriminated union If string is an alias of String in the .net framework why does this happen and how should I interpret it:
[ 0.004119873046875, 0.01708984375, -0.0101318359375, 0.017333984375, 0.00109100341796875, 0.01019287109375, 0.004241943359375, 0.0206298828125, 0.0302734375, 0.037353515625, 0.0026092529296875, -0.01434326171875, -0.00077056884765625, 0.0166015625, -0.0033416748046875, 0.0040283203125, ...
[ 79315, 20209, 23351, 214, 11001, 7225, 55970, 3674, 69941, 1238, 3949, 3742, 1179, 9563, 9713, 2852, 208, 73, 4263, 83, 142, 55109, 111, 23, 6, 5, 170846, 15400, 14602, 903, 53383, 5608, 29481, 442 ]
[ 0.29150390625, 0.200927734375, 0.2325439453125, 0.1876220703125, 0.1396484375, 0.1353759765625, 0.180908203125, 0.029632568359375, 0.1776123046875, 0.0589599609375, 0.05450439453125, 0.13720703125, 0.183349609375, 0.1380615234375, 0.012451171875, 0.1966552734375, 0.0738525390625, 0...
embed
66948472_c0
66948472
fsharp
0
Title: Thoth.Json get result Problem title: Thoth.Json get result Tags: f%23 Problem: Thoth.Json get result Should be nice simple one. I parse some JSON with Thoth.Json.Net let children = Decode.Auto.fromString<floorplan_table>(parentTable.mergedchildren) Which returns a Result Result<floorplan_table, string> How do I ...
Thoth.Json get result Thoth.Json get result f%23 Thoth.Json Decode.Auto.fromString floorplan_table parentTable.mergedchildren Result Thoth.Json get result Should be nice simple one. I parse some JSON with Thoth.Json.Net Which returns a Result How do I actually access the floorplan_table and it's key/values?
[ -0.00830078125, 0.0262451171875, -0.01055908203125, -0.0029449462890625, -0.001953125, -0.00159454345703125, 0.0211181640625, -0.00124359130859375, 0.028076171875, -0.0091552734375, 0.013671875, 0.01434326171875, -0.0289306640625, 0.0076904296875, -0.00165557861328125, 0.00167846679687...
[ 32238, 927, 1375, 1681, 2046, 16750, 1238, 3949, 3742, 262, 40899, 38115, 161063, 71713, 74912, 5868, 22819, 49129, 618, 2886, 1991, 17704, 237052, 126684, 151117, 26267, 8781, 366, 184, 821, 58627, 5, 24447, 30646, 11249, 54, 20653, 17203, ...
[ 0.1751708984375, 0.2191162109375, 0.11865234375, 0.19921875, 0.088623046875, 0.1739501953125, 0.051666259765625, 0.03387451171875, 0.10662841796875, 0.1192626953125, 0.14794921875, 0.126220703125, 0.0770263671875, 0.0312042236328125, 0.1593017578125, 0.2281494140625, 0.202880859375, ...
embed
37034919_c0
37034919
fsharp
0
Title: How to do Seq.unzip Problem title: How to do Seq.unzip Tags: f%23 Problem: How to do Seq.unzip I have a foo: seq<int*int> I want to split the tupled items and then store the results to two variables, each a seq<int> I was wondering if there was a prettier way to do this, e.g. let item1, item2 = foo |> ????? My c...
How to do Seq.unzip How to do Seq.unzip f%23 How Seq.unzip item1 item2 Seq.map How to do Seq.unzip I have a foo: seq<int*int> I want to split the tupled items and then store the results to two variables, each a seq<int> I was wondering if there was a prettier way to do this, e.g. My current solution:
[ 0.0238037109375, 0.01190185546875, -0.003021240234375, 0.0283203125, -0.003265380859375, 0.0020751953125, -0.013671875, 0.007415771484375, 0.0068359375, -0.01611328125, -0.004180908203125, 0.03125, 0.00213623046875, 0.05078125, -0.004547119140625, 0.0069580078125, -0.004241943359375,...
[ 11249, 47, 54, 503, 864, 5, 309, 50836, 1238, 3949, 3742, 35735, 418, 304, 62346, 765, 5775, 31, 40, 4288, 1639, 3444, 65450, 370, 8705, 71, 55769, 4343, 50339, 6626, 77336, 12638, 149016, 4589, 31182, 3917, 903, 43581, 29806 ]
[ 0.092041015625, 0.0897216796875, 0.1212158203125, 0.1446533203125, 0.2373046875, 0.050048828125, 0.14453125, 0.2418212890625, 0.095947265625, 0.072998046875, 0.1878662109375, 0.16064453125, 0.057098388671875, 0.0860595703125, 0.172119140625, 0.042724609375, 0.119140625, 0.135253906...
embed