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
48834222_c0
48834222
fsharp
0
Title: Transform list&lt;byte[], int&gt; to list&lt;byte[]&gt; Problem title: Transform list&lt;byte[], int&gt; to list&lt;byte[]&gt; Tags: f%23 Problem: Transform list to list I have an list<tuple<byte[], int>> . How can I discard the int and end up with a list of byte[] ? The intellisense info looks like this. Task.R...
Transform list&lt;byte[], int&gt; to list&lt;byte[]&gt; Transform list&lt;byte[], int&gt; to list&lt;byte[]&gt; f%23 Transform Task.Result Transform list to list I have an list<tuple<byte[], int>> . How can I discard the int and end up with a list of byte[] ? The intellisense info looks like this.
[ 0.01007080078125, 0.01470947265625, 0.01397705078125, 0.023681640625, 0.0004329681396484375, -0.00347900390625, -0.0230712890625, -0.0032196044921875, 0.01318359375, 0.034912109375, 0.0166015625, 0.01104736328125, -0.0234375, 0.033203125, -0.0245361328125, 0.0029296875, 0.01916503906...
[ 11062, 5037, 5303, 1277, 61028, 23, 18, 5386, 47, 1238, 3742, 9598, 92, 4332, 7, 7136, 87, 765, 458, 8705, 11249, 831, 17116, 5861, 136, 3564, 1257, 678, 111, 390, 67, 892, 27077, 184, 3004, 33342, 1884, 903 ]
[ 0.1190185546875, 0.2349853515625, 0.25537109375, 0.0154571533203125, 0.1917724609375, 0.130126953125, 0.1591796875, 0.0672607421875, 0.135498046875, 0.037872314453125, 0.1234130859375, 0.153076171875, 0.0645751953125, 0.000946044921875, 0.0582275390625, 0.0853271484375, 0.01208496093...
embed
33481220_c0
33481220
fsharp
0
Title: Memory leak in F# async recursive call Problem title: Memory leak in F# async recursive call Tags: memory-leaks, tail-recursion, f%23, asynchronous Problem: Memory leak in F# async recursive call Code signals: Memory, startRead1, Async.Sleep, System.GC.Collect, System.GC.GetTotalMemory, EntryPoint, Async.RunSync...
Memory leak in F# async recursive call Memory leak in F# async recursive call memory-leaks tail-recursion f%23 asynchronous Memory startRead1 Async.Sleep System.GC.Collect System.GC.GetTotalMemory EntryPoint Async.RunSynchronously startRead2 startRead3 System.Threading.Thread.Sleep Memory leak in F# async recursive cal...
[ 0.00262451171875, 0.0189208984375, -0.00118255615234375, 0.00750732421875, 0.0004367828369140625, 0.00182342529296875, 0.00799560546875, 0.002532958984375, 0.0185546875, -0.03125, 0.00994873046875, 0.0196533203125, 0.006805419921875, 0.0164794921875, 0.0693359375, -0.00701904296875, ...
[ 172681, 95, 344, 23, 563, 4904, 10, 12654, 238, 195625, 5844, 11782, 98323, 133, 24251, 46741, 107, 48650, 1238, 3949, 3742, 101966, 4034, 31345, 418, 4517, 12353, 69657, 8996, 5, 169473, 6696, 4514, 15123, 147534, 163321, 217835, 127, 1900...
[ 0.2027587890625, 0.191650390625, 0.188232421875, 0.053070068359375, 0.138427734375, 0.2132568359375, 0.034576416015625, 0.1844482421875, 0.018096923828125, 0.203125, 0.094482421875, 0.1654052734375, 0.202392578125, 0.18115234375, 0.166015625, 0.2216796875, 0.031768798828125, 0.1571...
embed
28742273_c0
28742273
fsharp
0
Title: Declaring a generic variable in a type in F# Problem title: Declaring a generic variable in a type in F# Tags: f%23, .net Problem: Declaring a generic variable in a type in F# How do I declare that I want something of type 'a which I have no value for yet. type MyType<'a> = let mutable something:'a = ?? let setS...
Declaring a generic variable in a type in F# Declaring a generic variable in a type in F# f%23 .net Declaring MyType Declaring a generic variable in a type in F# How do I declare that I want something of type 'a which I have no value for yet.
[ 0.0093994140625, 0.006072998046875, -0.006195068359375, -0.00634765625, 0.004608154296875, -0.00018405914306640625, 0.01336669921875, -0.00433349609375, 0.03955078125, 0.0126953125, 0.00323486328125, 0.0027923583984375, -0.0091552734375, -0.00823974609375, 0.00084686279296875, -0.01672...
[ 25755, 320, 189534, 77336, 10644, 23, 563, 4904, 214, 1238, 3949, 3742, 1179, 2646, 196707, 54, 159978, 450, 87, 3444, 9844, 111, 242, 11, 3129, 765, 110, 34292, 100, 14373 ]
[ 0.146484375, 0.175537109375, 0.223388671875, 0.2376708984375, 0.2095947265625, 0.0592041015625, 0.130859375, 0.2078857421875, 0.0205230712890625, 0.05914306640625, 0.00054931640625, 0.10015869140625, 0.1141357421875, 0.1636962890625, 0.26318359375, 0.000030517578125, 0.2337646484375,...
embed
21791177_c0
21791177
fsharp
0
Title: F# build 32-bit executable from command line Problem title: F# build 32-bit executable from command line Tags: f%23 Problem: F# build 32-bit executable from command line I need to run an F# program from another 32-bit executable. I don't have any access to source code of this one. How do I build 32-bit F# execut...
F# build 32-bit executable from command line F# build 32-bit executable from command line f%23 command F# build 32-bit executable from command line I need to run an F# program from another 32-bit executable. I don't have any access to source code of this one. How do I build 32-bit F# executable file under 64-bit OS fro...
[ -0.0218505859375, -0.0027923583984375, -0.002044677734375, -0.0002422332763671875, 0.0029449462890625, 0.0218505859375, 0.005767822265625, -0.004669189453125, 0.005889892578125, -0.0247802734375, -0.002593994140625, 0.004180908203125, 0.0179443359375, 0.0050048828125, -0.0026092529296875...
[ 563, 4904, 45367, 2789, 3137, 71924, 2886, 1295, 75101, 13315, 1238, 3949, 3742, 87, 3871, 11675, 1528, 15700, 9, 2301, 18, 2499, 17203, 31344, 18151, 11249, 54, 11435, 1379, 7911, 11787 ]
[ 0.166748046875, 0.229736328125, 0.20703125, 0.257080078125, 0.1981201171875, 0.1624755859375, 0.1529541015625, 0.131591796875, 0.2027587890625, 0.14697265625, 0.11376953125, 0.077392578125, 0.189453125, 0.006591796875, 0.1021728515625, 0.10400390625, 0.1121826171875, 0.0595703125, ...
embed
283169_c0
283169
fsharp
0
Title: How do I do a car and cadr against a list? Problem title: How do I do a car and cadr against a list? Tags: list, functional-programming, f%23 Problem: How do I do a car and cadr against a list? Suppose I have some code: let listB = [ 1; 2; 3 ] Using Lisp notation, how do I do a car and cadr against this list? I ...
How do I do a car and cadr against a list? How do I do a car and cadr against a list? list functional-programming f%23 How How do I do a car and cadr against a list? Suppose I have some code: Using Lisp notation, how do I do a car and cadr against this list? I know cons is :: . Or in Scheme, first and rest ?
[ 0.00506591796875, 0.01251220703125, 0.009033203125, 0.026611328125, -0.0054931640625, 0.013671875, 0.000888824462890625, 0.0185546875, 0.000027418136596679688, -0.040771484375, -0.01092529296875, -0.0034942626953125, -0.0191650390625, 0.0107421875, -0.0205078125, -0.01275634765625, -...
[ 11249, 54, 87, 10, 2258, 136, 19630, 42, 26548, 5303, 32, 123309, 28966, 3742, 18151, 1261, 7008, 110, 22062, 3642, 3714, 158, 7, 83, 1984, 34702, 282, 5117, 10588 ]
[ 0.08416748046875, 0.08056640625, 0.05584716796875, 0.031219482421875, 0.1961669921875, 0.14013671875, 0.1319580078125, 0.17822265625, 0.2020263671875, 0.21142578125, 0.00396728515625, 0.095703125, 0.0811767578125, 0.04296875, 0.1002197265625, 0.0601806640625, 0.140869140625, 0.0631...
embed
7529496_c0
7529496
fsharp
0
Title: Quotation real usages Problem title: Quotation real usages Tags: quotations, nemerle, c%23, f%23 Problem: Quotation real usages I faced with the 'quotation' term and I'm trying to figure out some real-life examples of usage of it. Ability of having AST for each code expression sounds awesome, but how to use it i...
Quotation real usages Quotation real usages quotations nemerle c%23 f%23 Quotation Quotation real usages I faced with the 'quotation' term and I'm trying to figure out some real-life examples of usage of it. Ability of having AST for each code expression sounds awesome, but how to use it in real life? Does anyone know ...
[ 0.003662109375, 0.029296875, 0.002532958984375, -0.00732421875, -0.00189971923828125, 0.01397705078125, 0.00567626953125, 0.0260009765625, 0.01507568359375, -0.03857421875, -0.0118408203125, -0.0157470703125, -0.00102996826171875, 0.0159912109375, 0.00640869140625, 0.01422119140625, ...
[ 43851, 22062, 2773, 127689, 7, 81732, 5256, 682, 56, 133, 501, 3949, 3742, 1238, 2577, 678, 41502, 2320, 13579, 31577, 26366, 1810, 24804, 27781, 442, 83259, 19441, 6, 48963, 100, 12638, 18151, 125195, 102678, 79929, 1284, 3642, 47, 4527, ...
[ 0.20703125, 0.1781005859375, 0.2203369140625, 0.197998046875, 0.0538330078125, 0.2049560546875, 0.076904296875, 0.138427734375, 0.167724609375, 0.2059326171875, 0.0364990234375, 0.0703125, 0.1146240234375, 0.0648193359375, 0.04266357421875, 0.00347900390625, 0.1951904296875, 0.1494...
embed
11071526_c0
11071526
fsharp
0
Title: parallel mutable assignment in F# Problem title: parallel mutable assignment in F# Tags: f%23 Problem: parallel mutable assignment in F# I want to swap both references, is there a nice way make such a construct work ? let mutable sarlast = ref (Array.copy ar) let mutable sarcurr = ref (Array.copy ar) ... some co...
parallel mutable assignment in F# parallel mutable assignment in F# f%23 Array.copy parallel mutable assignment in F# I want to swap both references, is there a nice way make such a construct work ?
[ -0.000072479248046875, 0.0184326171875, -0.018798828125, -0.005340576171875, -0.0079345703125, -0.0184326171875, -0.00946044921875, 0.007415771484375, 0.0185546875, 0.01348876953125, 0.021240234375, 0.036865234375, 0.0103759765625, 0.0037689208984375, 0.01611328125, -0.01458740234375, ...
[ 95103, 842, 22819, 95486, 563, 4904, 674, 23, 1238, 3949, 3742, 69253, 53, 137366, 3444, 47, 202317, 15044, 91067, 7, 26267, 3917, 3249, 6044, 64549, 4488 ]
[ 0.251220703125, 0.1517333984375, 0.1949462890625, 0.219970703125, 0.149169921875, 0.213623046875, 0.03070068359375, 0.0050048828125, 0.09368896484375, 0.0391845703125, 0.1552734375, 0.1036376953125, 0.072265625, 0.198486328125, 0.060791015625, 0.04156494140625, 0.2568359375, 0.1541...
embed
70129296_c1
70129296
fsharp
1
var pair = (a, b) => select => select(a, b) var first = p => p((a, b) => a) var second = p => p((a, b) => b) var p1 = pair(2, pair(4, 5)) second(p1) And I can use second(p1) 's value pair(4, 5) . var p2 = second(p1) first(p2) second(p2) But it's not work in F#, because of F# is statically typed, I guess. Code signals:...
var pair = (a, b) => select => select(a, b) var first = p => p((a, b) => a) var second = p => p((a, b) => b) var p1 = pair(2, pair(4, 5)) second(p1) And I can use second(p1) 's value pair(4, 5) . var p2 = second(p1) first(p2) second(p2) But it's not work in F#, because of F# is statically typed, I guess. Code signals:...
[ -0.006134033203125, 0.01251220703125, 0.003387451171875, 0.016357421875, 0.0101318359375, 0.006805419921875, -0.0380859375, -0.00836181640625, -0.00958251953125, -0.034912109375, 0.0052490234375, 0.0240478515625, -0.0017547607421875, -0.0081787109375, 0.0069580078125, -0.00387573242187...
[ 285, 80836, 2203, 11, 876, 36849, 5117, 915, 17932, 418, 54753, 105801, 21162, 254, 17727, 831, 4527, 7, 34292, 304, 10461, 442, 959, 4488, 23, 563, 4904, 83, 13254, 10644, 71, 57767, 28864, 26073, 13538, 56, 18468, 31611, 93774, 7049, ...
[ 0.2216796875, 0.2489013671875, 0.0157470703125, 0.0163421630859375, 0.1015625, 0.181640625, 0.084228515625, 0.07940673828125, 0.1993408203125, 0.06085205078125, 0.011749267578125, 0.07769775390625, 0.1392822265625, 0.069580078125, 0.1395263671875, 0.04742431640625, 0.1307373046875, ...
embed
33997313_c0
33997313
fsharp
0
Title: How can I perform mutation tests on an F# codebase? Problem title: How can I perform mutation tests on an F# codebase? Tags: mstest, mutation-testing, nunit, unit-testing, f%23 Problem: How can I perform mutation tests on an F# codebase? What options are available for me to execute mutation tests on an F# codeba...
How can I perform mutation tests on an F# codebase? How can I perform mutation tests on an F# codebase? mstest mutation-testing nunit unit-testing f%23 How How can I perform mutation tests on an F# codebase? What options are available for me to execute mutation tests on an F# codebase? For example, are there any framew...
[ -0.006500244140625, 0.0004673004150390625, 0.011962890625, -0.0118408203125, 0.0035247802734375, -0.01470947265625, -0.00118255615234375, -0.0152587890625, -0.00537109375, -0.00970458984375, 0.01220703125, 0.007293701171875, 0.000934600830078125, 0.009033203125, 0.001556396484375, 0.00...
[ 11249, 831, 51339, 199334, 109921, 98, 563, 4904, 18151, 37382, 87, 142, 347, 80686, 6954, 214, 4124, 217, 25072, 1238, 3949, 3742, 50717, 19882, 163, 71924, 13, 170846 ]
[ 0.073486328125, 0.07373046875, 0.1552734375, 0.251953125, 0.23876953125, 0.0712890625, 0.125732421875, 0.2327880859375, 0.106201171875, 0.1834716796875, 0.01495361328125, 0.010986328125, 0.019317626953125, 0.217041015625, 0.190673828125, 0.033050537109375, 0.056732177734375, 0.0889...
embed
43245752_c0
43245752
fsharp
0
Title: 3D visualization with F# Problem title: 3D visualization with F# Tags: visualization, 3d, f%23 Problem: 3D visualization with F# I would like to display a few 3D meshes and text annotations using F# and be able to pan, tilt and zoom. It has to work on Windows. Linux compatibility and open source is preferred. Hi...
3D visualization with F# 3D visualization with F# visualization 3d f%23 3D visualization with F# I would like to display a few 3D meshes and text annotations using F# and be able to pan, tilt and zoom. It has to work on Windows. Linux compatibility and open source is preferred. High level approach is better than raw Op...
[ -0.0004444122314453125, 0.005340576171875, 0.0086669921875, 0.0015106201171875, 0.00897216796875, -0.0186767578125, -0.0079345703125, -0.00186920166015625, -0.0036163330078125, -0.0027313232421875, 0.0228271484375, -0.0084228515625, 0.0067138671875, -0.015380859375, -0.00115966796875, ...
[ 138, 397, 21176, 47691, 678, 563, 4904, 71, 1238, 3742, 2806, 1884, 44116, 10846, 163, 114942, 136, 7986, 8668, 22062, 17368, 19048, 2652, 139, 111245, 1556, 4488, 98, 3773, 29908, 112793, 9803, 31344, 12601, 2822, 17366, 51515, 11522, 4964...
[ 0.1405029296875, 0.095458984375, 0.166015625, 0.0799560546875, 0.042083740234375, 0.1417236328125, 0.2222900390625, 0.065673828125, 0.05584716796875, 0.12548828125, 0.01055908203125, 0.06048583984375, 0.128173828125, 0.02032470703125, 0.07977294921875, 0.0999755859375, 0.003479003906...
embed
4566858_c0
4566858
fsharp
0
Title: F# PowerPack Target Runtime Problem title: F# PowerPack Target Runtime Tags: f%23, assembly-binding-redirect Problem: F# PowerPack Target Runtime The pre-built binaries for the F# PowerPack are compiled against the .NET 2.0 runtime. If I have a .NET 4.0 project, is there any advantage to compiling the PowerPack ...
F# PowerPack Target Runtime F# PowerPack Target Runtime f%23 assembly-binding-redirect PowerPack Target Runtime F# PowerPack Target Runtime The pre-built binaries for the F# PowerPack are compiled against the .NET 2.0 runtime. If I have a .NET 4.0 project, is there any advantage to compiling the PowerPack source for th...
[ 0.010009765625, -0.0174560546875, -0.00112152099609375, 0.0029449462890625, -0.022216796875, 0.032470703125, -0.0184326171875, -0.007110595703125, 0.0087890625, 0.0172119140625, 0.00128936767578125, -0.0081787109375, 0.0089111328125, 0.0164794921875, 0.0038909912109375, 0.0034637451171...
[ 563, 4904, 17170, 205956, 160017, 28398, 6032, 1238, 3949, 3742, 89845, 38526, 128239, 107, 80581, 479, 978, 24908, 23035, 10484, 375, 5974, 26548, 5, 17777, 16655, 11675, 6, 40401, 13452, 2499, 92940, 9969, 49725, 31344, 100, 201 ]
[ 0.1241455078125, 0.217041015625, 0.1624755859375, 0.25048828125, 0.2509765625, 0.1077880859375, 0.12255859375, 0.0904541015625, 0.027374267578125, 0.1199951171875, 0.1151123046875, 0.0280914306640625, 0.189208984375, 0.06463623046875, 0.17138671875, 0.0816650390625, 0.060516357421875...
embed
26672033_c0
26672033
fsharp
0
Title: does a tee function exist somewhere in F# library? Problem title: does a tee function exist somewhere in F# library? Tags: f%23 Problem: does a tee function exist somewhere in F# library? ...or in FSharpx? let tee sideEffect = fun x -> do sideEffect x x The usage could be something like f >> tee (printfn "F retu...
does a tee function exist somewhere in F# library? does a tee function exist somewhere in F# library? f%23 does a tee function exist somewhere in F# library? ...or in FSharpx? The usage could be something like Or is there another simple way to do this? thanks!
[ 0.003448486328125, -0.007659912109375, 0.0167236328125, -0.01068115234375, 0.0098876953125, -0.0034332275390625, 0.003631591796875, 0.01055908203125, -0.015380859375, -0.018798828125, 0.01251220703125, 0.033203125, 0.0130615234375, -0.00787353515625, 0.0166015625, -0.00469970703125, ...
[ 14602, 10, 32686, 32354, 32316, 174653, 23, 563, 4904, 35773, 1294, 32, 1238, 3949, 3742, 93774, 3467, 88684, 127689, 5809, 8781, 54, 903 ]
[ 0.07818603515625, 0.107421875, 0.320068359375, 0.2379150390625, 0.171630859375, 0.1068115234375, 0.09686279296875, 0.1207275390625, 0.1986083984375, 0.143798828125, 0.061981201171875, 0.009002685546875, 0.1287841796875, 0.0635986328125, 0.181884765625, 0.022674560546875, 0.0946655273...
embed
54378645_c0
54378645
fsharp
0
Title: read unknown number of lines and calculate summation of each line in f# Problem title: read unknown number of lines and calculate summation of each line in f# Tags: f%23 Problem: read unknown number of lines and calculate summation of each line in f# Say I have n (4 in this case) inputs given 5 2 3 2 1 8 9 0 How...
read unknown number of lines and calculate summation of each line in f# read unknown number of lines and calculate summation of each line in f# f%23 read unknown number of lines and calculate summation of each line in f# Say I have n (4 in this case) inputs given How do I read all inputs and store summation of each lin...
[ -0.0032501220703125, -0.0189208984375, -0.006317138671875, 0.01165771484375, -0.0098876953125, 0.00070953369140625, 0.0238037109375, 0.0185546875, 0.002838134765625, -0.02001953125, -0.01300048828125, -0.0264892578125, 0.007659912109375, 0.0126953125, 0.01409912109375, -0.0070495605468...
[ 12301, 51, 69723, 14012, 124519, 74481, 29334, 1363, 111, 12638, 13315, 1238, 4904, 136, 3949, 3742, 67, 765, 653, 9451, 107730, 7, 34475, 11249, 54, 87, 756, 4343, 23, 5303, 64, 19305, 53 ]
[ 0.2264404296875, 0.03924560546875, 0.1693115234375, 0.04376220703125, 0.1737060546875, 0.18310546875, 0.2266845703125, 0.129150390625, 0.053863525390625, 0.119140625, 0.1654052734375, 0.08807373046875, 0.1278076171875, 0.045989990234375, 0.0145721435546875, 0.1181640625, 0.0007629394...
embed
25274336_c0
25274336
fsharp
0
Title: F# equivalent to Haskell&#x27;s $ Problem title: F# equivalent to Haskell&#x27;s $ Tags: f%23 Problem: F# equivalent to Haskell's $ What is the F# equivalent to Haskell's $? The operator that does the parenthesis automagically. Google didnt help :( Something that allows me to write printfn "%d" $ Seq.sum nums In...
F# equivalent to Haskell&#x27;s $ F# equivalent to Haskell&#x27;s $ f%23 Haskell Seq.sum F# equivalent to Haskell's $ What is the F# equivalent to Haskell's $? The operator that does the parenthesis automagically. Google didnt help :( Something that allows me to write Instead of this
[ 0.00775146484375, 0.00616455078125, 0.0380859375, 0.020263671875, -0.0103759765625, 0.014892578125, 0.0052490234375, 0.025390625, 0.01190185546875, -0.04638671875, -0.000171661376953125, 0.0014801025390625, -0.0098876953125, 0.001861572265625, 0.00506591796875, 0.016845703125, 0.0006...
[ 563, 4904, 183234, 47, 20625, 142508, 3768, 7, 3650, 1238, 3742, 503, 864, 11832, 4865, 83, 70, 581, 39933, 450, 14602, 49129, 160291, 1809, 15429, 71407, 1815, 4358, 200905, 114864, 33022, 175399, 903 ]
[ 0.1494140625, 0.244873046875, 0.214111328125, 0.07110595703125, 0.1575927734375, 0.2459716796875, 0.08251953125, 0.09033203125, 0.1436767578125, 0.121337890625, 0.095458984375, 0.043121337890625, 0.117919921875, 0.1737060546875, 0.008819580078125, 0.0257415771484375, 0.01296997070312...
embed
69621240_c0
69621240
fsharp
0
Title: What does a # before a type name mean in F#? Problem title: What does a # before a type name mean in F#? Tags: f%23 Problem: What does a # before a type name mean in F#? What does a # before a type name mean in F#? For example here : let getTestData (inner : int [] -> #seq<int>) (outer : #seq<int> [] -> #seq<'U>...
What does a # before a type name mean in F#? What does a # before a type name mean in F#? f%23 What Array.map What does a # before a type name mean in F#? What does a # before a type name mean in F#? For example here :
[ 0.006378173828125, 0.0203857421875, -0.01123046875, 0.01611328125, 0.005035400390625, -0.01123046875, -0.01373291015625, 0.013427734375, 0.0216064453125, 0.004119873046875, -0.006561279296875, -0.0223388671875, 0.0047607421875, 0.00872802734375, -0.00347900390625, 0.002716064453125, ...
[ 4865, 14602, 10, 468, 8108, 10644, 9351, 29459, 23, 563, 4904, 1238, 3742, 69253, 53, 62346 ]
[ 0.04296875, 0.0162506103515625, 0.030731201171875, 0.1553955078125, 0.130615234375, 0.18408203125, 0.1351318359375, 0.114990234375, 0.054290771484375, 0.1026611328125, 0.1627197265625, 0.03143310546875, 0.0290679931640625, 0.06396484375, 0.036712646484375, 0.1058349609375 ]
embed
38499991_c0
38499991
fsharp
0
Title: Why &#x27;for .. in&#x27; allowed in closures? Problem title: Why &#x27;for .. in&#x27; allowed in closures? Tags: f%23, immutability, foreach, for-loop, closures Problem: Why 'for .. in' allowed in closures? Mutable values are not allowed in closures, but the for .. in expression is ok. In C# the for loop updat...
Why &#x27;for .. in&#x27; allowed in closures? Why &#x27;for .. in&#x27; allowed in closures? f%23 immutability foreach for-loop closures Why Why 'for .. in' allowed in closures? Mutable values are not allowed in closures, but the for .. in expression is ok. In C# the for loop updates the iterator, but not in F# as it ...
[ 0.01544189453125, -0.005462646484375, 0.0067138671875, -0.000946044921875, 0.00469970703125, -0.01251220703125, 0.0264892578125, 0.0220947265625, 0.0206298828125, 0.01202392578125, 0.00732421875, 0.01300048828125, 0.012939453125, 0.00811767578125, 0.0289306640625, -0.010986328125, -0...
[ 44084, 3768, 2472, 1468, 23, 107003, 170224, 7, 1238, 3742, 566, 14311, 41159, 100, 41581, 28354, 2758, 22819, 142424, 621, 959, 125195, 3664, 313, 4904, 40956, 114419, 720, 4597, 563, 15400 ]
[ 0.1207275390625, 0.0941162109375, 0.2080078125, 0.177001953125, 0.25146484375, 0.1983642578125, 0.2374267578125, 0.037139892578125, 0.05780029296875, 0.0606689453125, 0.0357666015625, 0.121826171875, 0.0556640625, 0.17724609375, 0.1455078125, 0.1707763671875, 0.146240234375, 0.1651...
embed
70933001_c1
70933001
fsharp
1
,0,0,0,0 08/18/2012,Fulham,Norwich,5,0,H,2,0,H,11,4,9,2,12,11,6,3,0,0,0,0 08/18/2012,Newcastle,Tottenham,2,1,H,0,0,D,6,12,4,6,12,8,3,5,2,2,0,0 The full file can be downloaded here under the folder data FSharp.Data version FSharp.Data 2.3.2 Code signals: System.String, FSharp.Data, net40, FSharp.Data.dll, Literal, Footb...
,0,0,0,0 08/18/2012,Fulham,Norwich,5,0,H,2,0,H,11,4,9,2,12,11,6,3,0,0,0,0 08/18/2012,Newcastle,Tottenham,2,1,H,0,0,D,6,12,4,6,12,8,3,5,2,2,0,0 The full file can be downloaded here under the folder data FSharp.Data version FSharp.Data 2.3.2 Code signals: System.String, FSharp.Data, net40, FSharp.Data.dll, Literal, Footb...
[ 0.0166015625, 0.021484375, 0.0030059814453125, 0.03759765625, 0.00115203857421875, -0.00360107421875, 0.0008087158203125, 0.01239013671875, 0.0240478515625, -0.004608154296875, -0.002532958984375, -0.011962890625, 0.0081787109375, -0.003265380859375, -0.0040283203125, -0.0048828125, ...
[ 6, 4, 63527, 3843, 45265, 30268, 919, 202, 3915, 50645, 69696, 758, 2389, 841, 216969, 1662, 127915, 304, 1530, 418, 163090, 363, 46568, 55741, 133, 7763, 12216, 397, 910, 128191, 185723, 92714, 581, 4393, 11435, 831, 7026, 3688, 1379, 70...
[ 0.07183837890625, 0.0831298828125, 0.258056640625, 0.1629638671875, 0.1844482421875, 0.25341796875, 0.07379150390625, 0.1573486328125, 0.25390625, 0.12109375, 0.2320556640625, 0.1409912109375, 0.180908203125, 0.12744140625, 0.184326171875, 0.1279296875, 0.19384765625, 0.1015625, ...
embed
1158114_c0
1158114
fsharp
0
Title: F# Seq diff Problem title: F# Seq diff Tags: f%23 Problem: F# Seq diff given two sequences, how to get all the elements belonging to both the sequences or all the elements unique to one of them? Example: let a = [1..10] let b = [3; 5; 7] How do I compute 3 5 and 7 (all the elements common to both the list) and 1...
F# Seq diff F# Seq diff f%23 Seq F# Seq diff given two sequences, how to get all the elements belonging to both the sequences or all the elements unique to one of them? Example: How do I compute 3 5 and 7 (all the elements common to both the list) and 1, 2, 4, 6, 8, 9, 10 (all the elements not in common ) Thanks
[ 0.017822265625, 0.0250244140625, 0.0157470703125, 0.0194091796875, 0.00140380859375, 0.0026702880859375, -0.009033203125, 0.023681640625, 0.021728515625, 0.00408935546875, 0.0064697265625, 0.0439453125, 0.0234375, 0.017578125, -0.003570556640625, -0.0023193359375, -0.01434326171875, ...
[ 563, 4904, 503, 864, 71337, 1238, 3949, 3742, 34475, 6626, 40, 26513, 5170, 3642, 47, 2046, 756, 70, 80854, 66165, 81551, 15044, 36998, 89536, 11249, 54, 87, 9969, 6743, 138, 190, 136, 361, 5584, 39210, 5303, 106, 116, 201, 305, 382, ...
[ 0.1181640625, 0.172119140625, 0.1243896484375, 0.22021484375, 0.2646484375, 0.0787353515625, 0.0078125, 0.14111328125, 0.0155792236328125, 0.1302490234375, 0.0701904296875, 0.178466796875, 0.050567626953125, 0.076416015625, 0.101318359375, 0.140625, 0.131103515625, 0.0450439453125,...
embed
53013958_c0
53013958
fsharp
0
Title: Can&#x27;t locate MLContext Problem title: Can&#x27;t locate MLContext Tags: .net, f%23, ml.net, c%23 Problem: Can't locate MLContext I'm following the ML.Net cookbook " What if my training data is not in a text file ." The code includes the line: var mlContext = new MLContext(); However, the class MLContext is ...
Can&#x27;t locate MLContext Can&#x27;t locate MLContext .net f%23 ml.net c%23 Can MLContext ml.net Can't locate MLContext I'm following the ML.Net cookbook " What if my training data is not in a text file ." The code includes the line: However, the class MLContext is not found. How can I resolve that problem?
[ 0.00341796875, 0.03125, 0.0147705078125, 0.034423828125, 0.0118408203125, 0.000377655029296875, 0.004852294921875, -0.005645751953125, -0.01275634765625, -0.034423828125, -0.011962890625, 0.01214599609375, 0.020263671875, 0.00159454345703125, 0.0245361328125, -0.0037689208984375, -0....
[ 4171, 3768, 18, 64040, 67, 39456, 11935, 22829, 5, 1179, 3742, 7115, 25632, 24447, 110309, 14137, 4865, 2174, 759, 23189, 2053, 83, 959, 23, 7986, 11435, 18151, 96853, 70, 13315, 33306, 18507, 14037, 103608, 2967 ]
[ 0.0986328125, 0.034515380859375, 0.0830078125, 0.1649169921875, 0.078369140625, 0.220458984375, 0.1871337890625, 0.2568359375, 0.03558349609375, 0.2041015625, 0.007537841796875, 0.1925048828125, 0.04754638671875, 0.134765625, 0.0576171875, 0.0887451171875, 0.00555419921875, 0.03289...
embed
55209200_c0
55209200
fsharp
0
Title: Get name of non-static member in F# Problem title: Get name of non-static member in F# Tags: f%23 Problem: Get name of non-static member in F# In C# you can get the name of a method by using nameof(ISomeClass.SomeMethod) Is this doable in F#? When trying to dot into ISomeClass to get the SomeMethod, it merely sa...
Get name of non-static member in F# Get name of non-static member in F# f%23 Get ISomeClass.SomeMethod Get name of non-static member in F# In C# you can get the name of a method by using Is this doable in F#? When trying to dot into ISomeClass to get the SomeMethod, it merely says "SomeMethod is not a static method"
[ 0.00494384765625, -0.01141357421875, 0.0380859375, -0.01129150390625, -0.0311279296875, 0.00567626953125, -0.0029449462890625, 0.00183868408203125, -0.007415771484375, -0.029052734375, 0.002593994140625, 0.01470947265625, -0.0185546875, -0.004638671875, 0.0037384033203125, -0.011291503...
[ 20779, 9351, 111, 351, 9, 201939, 32786, 23, 563, 4904, 1238, 3742, 15744, 13450, 140803, 282, 78572, 7352, 360, 313, 831, 2046, 70, 55300, 17368, 903, 54, 2886, 31577, 20633, 3934, 31384, 8912, 83, 959, 10 ]
[ 0.0958251953125, 0.1837158203125, 0.0789794921875, 0.181640625, 0.032684326171875, 0.2130126953125, 0.2410888671875, 0.052825927734375, 0.15576171875, 0.2110595703125, 0.02545166015625, 0.06536865234375, 0.05755615234375, 0.1796875, 0.1954345703125, 0.036285400390625, 0.142333984375,...
embed
21050686_c0
21050686
fsharp
0
Title: Are there ifdefs in F#? Problem title: Are there ifdefs in F#? Tags: f%23 Problem: Are there ifdefs in F#? I wonder if it possible to run specific code in debug mode. for example something like this: if DEBUG print "Hello World" which only prints "Hello World" if I am in debug mode, but when I am in release mode...
Are there ifdefs in F#? Are there ifdefs in F#? f%23 DEBUG Hello World Are there ifdefs in F#? I wonder if it possible to run specific code in debug mode. for example something like this: which only prints "Hello World" if I am in debug mode, but when I am in release mode it should be compiled away. Is this possible?
[ 0.00872802734375, 0.006500244140625, 0.01611328125, 0.018310546875, 0.017822265625, 0.003753662109375, -0.014404296875, 0.039306640625, -0.0103759765625, 0.01312255859375, -0.00543212890625, -0.01202392578125, 0.00135040283203125, 0.0126953125, 0.010986328125, 0.029541015625, -0.0084...
[ 15901, 2685, 2174, 112, 17447, 23, 563, 4904, 32, 1238, 3949, 3742, 1514, 15639, 35378, 6661, 32195, 7722, 11675, 29458, 18151, 8, 85779, 13736, 4734, 28412, 841, 13817, 444, 3229, 54452, 5608, 375, 5974, 16065, 903 ]
[ 0.041595458984375, 0.10107421875, 0.218994140625, 0.2376708984375, 0.2349853515625, 0.0877685546875, 0.149658203125, 0.2281494140625, 0.0089111328125, 0.07666015625, 0.0068359375, 0.1373291015625, 0.1541748046875, 0.181884765625, 0.15380859375, 0.1513671875, 0.0230865478515625, 0.1...
embed
48087782_c0
48087782
fsharp
0
Title: F# forcing a user to input an integer Problem title: F# forcing a user to input an integer Tags: validation, f%23, input Problem: F# forcing a user to input an integer Lets say I was to read in a user's input with the following: let input = Console.ReadLine() How would I validate a user's input so that it has to...
F# forcing a user to input an integer F# forcing a user to input an integer validation f%23 input Console.ReadLine F# forcing a user to input an integer Lets say I was to read in a user's input with the following: How would I validate a user's input so that it has to be an integer else an error message is displayed?
[ -0.03857421875, 0.002655029296875, 0.022216796875, 0.005126953125, 0.00872802734375, 0.0194091796875, -0.00958251953125, -0.024658203125, -0.013916015625, -0.047119140625, 0.010498046875, 0.0030364990234375, -0.0196533203125, 0.0224609375, 0.0032501220703125, -0.00115203857421875, 0....
[ 563, 4904, 100, 21896, 38937, 47, 107730, 142, 892, 1505, 44622, 1363, 1238, 3949, 3742, 1657, 40777, 31345, 93232, 10, 5154, 509, 12301, 23, 678, 70, 25632, 11249, 2806, 87, 67, 25, 7, 221, 1556, 186, 37076, 18499, 26008, 44116 ]
[ 0.150390625, 0.2283935546875, 0.1417236328125, 0.09375, 0.183837890625, 0.07525634765625, 0.226318359375, 0.037353515625, 0.1412353515625, 0.157958984375, 0.2298583984375, 0.03143310546875, 0.10272216796875, 0.015380859375, 0.15478515625, 0.026397705078125, 0.123046875, 0.150756835...
embed
42764595_c0
42764595
fsharp
0
Title: Easy way to convert int [,] to int [] [] in F# Problem title: Easy way to convert int [,] to int [] [] in F# Tags: f%23 Problem: Easy way to convert int [,] to int [] [] in F# We have two arrays let a = [| [|1|] |] and let a' = Array2D.init 1 1 (fun x y -> 1) the first returns int [][] and the second int [,] Is ...
Easy way to convert int [,] to int [] [] in F# Easy way to convert int [,] to int [] [] in F# f%23 Easy Array2D.init Easy way to convert int [,] to int [] [] in F# We have two arrays and the first returns int [][] and the second int [,] Is there an easy way to convert int[,] to int [][] ?
[ 0.0057373046875, 0.007049560546875, -0.005523681640625, 0.01495361328125, -0.0296630859375, 0.0037384033203125, -0.0184326171875, -0.0028076171875, 0.0089111328125, 0.0023651123046875, 0.01397705078125, 0.0244140625, -0.0036468505859375, 0.01190185546875, 0.01336669921875, -0.030151367...
[ 71975, 3917, 96760, 23, 18, 378, 47, 563, 4904, 1238, 3742, 69253, 53, 304, 397, 73, 217, 4, 6626, 10298, 4778, 5117, 30646, 29839, 136, 17932, 23468, 1065 ]
[ 0.1568603515625, 0.1104736328125, 0.1929931640625, 0.1668701171875, 0.2244873046875, 0.0281524658203125, 0.13232421875, 0.1407470703125, 0.218505859375, 0.04107666015625, 0.1429443359375, 0.0916748046875, 0.039947509765625, 0.06549072265625, 0.07763671875, 0.019927978515625, 0.070861...
embed
3685150_c0
3685150
fsharp
0
Title: Use case for F# Enumeration Type Constraint? Problem title: Use case for F# Enumeration Type Constraint? Tags: f%23 Problem: Use case for F# Enumeration Type Constraint? According to the documentation, an enumeration type constraint of the form : enum<underlying-type> is "not intended for common use". What would...
Use case for F# Enumeration Type Constraint? Use case for F# Enumeration Type Constraint? f%23 Use Enumeration Type Constraint Use case for F# Enumeration Type Constraint? According to the documentation, an enumeration type constraint of the form : enum<underlying-type> is "not intended for common use". What would be t...
[ -0.00958251953125, -0.0135498046875, -0.0174560546875, 0.00848388671875, 0.007080078125, 0.007171630859375, -0.02392578125, 0.00946044921875, -0.01055908203125, -0.00099945068359375, -0.00011396408081054688, -0.036865234375, 0.0286865234375, 0.00909423828125, 0.0189208984375, -0.014648...
[ 36836, 7225, 563, 4904, 357, 15537, 30494, 60457, 1657, 2816, 4288, 100, 1238, 3742, 209806, 189085, 10644, 158, 3173, 22, 316, 24658, 538, 50986, 83, 10869, 179140, 39210, 4527, 2806, 51, 277, 3796, 442, 131148 ]
[ 0.1376953125, 0.1934814453125, 0.1337890625, 0.2093505859375, 0.0419921875, 0.196044921875, 0.018310546875, 0.1881103515625, 0.080810546875, 0.1676025390625, 0.106689453125, 0.056549072265625, 0.04473876953125, 0.073486328125, 0.0516357421875, 0.20361328125, 0.1531982421875, 0.0717...
embed
5479072_c0
5479072
fsharp
0
Title: f# sequence of running total Problem title: f# sequence of running total Tags: f%23, functional-programming Problem: f# sequence of running total Ok, this looks like it should be easy, but I'm just not getting it. If I have a sequence of numbers, how do I generate a new sequence made up of the running totals? eg...
f# sequence of running total f# sequence of running total f%23 functional-programming f# sequence of running total Ok, this looks like it should be easy, but I'm just not getting it. If I have a sequence of numbers, how do I generate a new sequence made up of the running totals? eg for a sequence [1;2;3;4], I want to m...
[ 0.0034942626953125, 0.027099609375, 0.020751953125, -0.00176239013671875, -0.00151824951171875, -0.006134033203125, 0.000530242919921875, 0.01239013671875, 0.00750732421875, -0.054443359375, 0.00225830078125, 0.0296630859375, 0.002532958984375, 0.03125, 0.0145263671875, 0.0060119628906...
[ 1238, 4904, 40, 944, 3956, 111, 51042, 3622, 3949, 3742, 123309, 28966, 33342, 1884, 5608, 23468, 959, 20949, 4263, 765, 101935, 3642, 54, 87, 139392, 10, 3525, 7228, 1257, 70, 7, 30046, 74, 304, 363, 617, 268, 3444, 47, 22288, 442, 9...
[ 0.12646484375, 0.2149658203125, 0.10791015625, 0.1834716796875, 0.166748046875, 0.0726318359375, 0.2281494140625, 0.2491455078125, 0.05255126953125, 0.11669921875, 0.1632080078125, 0.10162353515625, 0.091796875, 0.02777099609375, 0.05169677734375, 0.109130859375, 0.02142333984375, ...
embed
35720237_c0
35720237
fsharp
0
Title: F# how to fill array with for loop Problem title: F# how to fill array with for loop Tags: arrays, multidimensional-array, for-loop, f%23 Problem: F# how to fill array with for loop How do you fill an array with a for loop? I'm trying to do this, but I need to fill my array at declaration. Or Am I just wrong? I ...
F# how to fill array with for loop F# how to fill array with for loop arrays multidimensional-array for-loop f%23 F# how to fill array with for loop How do you fill an array with a for loop? I'm trying to do this, but I need to fill my array at declaration. Or Am I just wrong? I need to do this with a 2 dimensional arr...
[ 0.0162353515625, -0.005096435546875, -0.017822265625, 0.01251220703125, -0.01287841796875, 0.0074462890625, 0.002227783203125, 0.0027008056640625, 0.01239013671875, 0.0194091796875, 0.0113525390625, -0.00201416015625, 0.00408935546875, 0.01287841796875, -0.000614166259765625, -0.014770...
[ 563, 4904, 3642, 47, 26292, 10298, 53, 678, 100, 40956, 4778, 6024, 157955, 19305, 28354, 1238, 3742, 54, 31577, 3871, 759, 99, 21635, 1363, 44691, 116, 442, 63559, 5885 ]
[ 0.130126953125, 0.1812744140625, 0.04833984375, 0.036529541015625, 0.198974609375, 0.1820068359375, 0.163330078125, 0.12255859375, 0.1728515625, 0.2347412109375, 0.08984375, 0.025146484375, 0.083251953125, 0.10137939453125, 0.2021484375, 0.1024169921875, 0.092041015625, 0.008666992...
embed
73044567_c0
73044567
fsharp
0
Title: Debug f# script file (fsx) in Visual Studio Code Problem title: Debug f# script file (fsx) in Visual Studio Code Tags: f%23-interactive, f%23 Problem: Debug f# script file (fsx) in Visual Studio Code Seems like a simple thing but I cannot find it anywhere online. If you have any guide on debugging F# script file...
Debug f# script file (fsx) in Visual Studio Code Debug f# script file (fsx) in Visual Studio Code f%23-interactive f%23 Debug Visual Studio Debug f# script file (fsx) in Visual Studio Code Seems like a simple thing but I cannot find it anywhere online. If you have any guide on debugging F# script file (fsx) in Visual S...
[ 0.00640869140625, 0.006988525390625, 0.008056640625, 0.022705078125, 0.009033203125, -0.00106048583984375, 0.007080078125, 0.0235595703125, -0.0029449462890625, -0.00579833984375, 0.01422119140625, -0.0004215240478515625, 0.00823974609375, 0.0191650390625, 0.015380859375, 0.01635742187...
[ 262, 85779, 1238, 4904, 26499, 11435, 17447, 425, 73372, 22968, 28864, 23, 167218, 27495, 10433, 71232, 3742, 6872, 1884, 8781, 13580, 53418, 7413, 442, 151107, 1118, 17997, 8, 978, 36659, 563, 12008 ]
[ 0.1175537109375, 0.2442626953125, 0.110595703125, 0.18798828125, 0.1939697265625, 0.15478515625, 0.1629638671875, 0.205078125, 0.1636962890625, 0.144775390625, 0.13671875, 0.03509521484375, 0.021209716796875, 0.0784912109375, 0.100341796875, 0.08056640625, 0.0941162109375, 0.012207...
embed
13242748_c0
13242748
fsharp
0
Title: F# REPL for VS (2012)? Problem title: F# REPL for VS (2012)? Tags: visual-studio-2012, visual-studio, f%23, read-eval-print-loop Problem: F# REPL for VS (2012)? Hi is there a simple F# REPL for VS 2012, so I don't have to create a project, for simple calculations I can make on the fly? I feel like having a tab o...
F# REPL for VS (2012)? F# REPL for VS (2012)? visual-studio-2012 visual-studio f%23 read-eval-print-loop REPL visual-studio-2012 F# REPL for VS (2012)? Hi is there a simple F# REPL for VS 2012, so I don't have to create a project, for simple calculations I can make on the fly? I feel like having a tab or toolbox for it...
[ -0.004058837890625, 0.0011749267578125, 0.003692626953125, 0.01556396484375, 0.017822265625, 0.004180908203125, 0.0186767578125, -0.0032196044921875, 0.00106048583984375, -0.023681640625, 0.02001953125, 0.00286865234375, -0.0037689208984375, 0.006927490234375, 0.01458740234375, 0.00302...
[ 563, 4904, 9069, 21130, 100, 44160, 75582, 21176, 52629, 54458, 1238, 12301, 13, 1405, 35662, 28354, 8781, 27997, 2301, 18, 765, 28282, 13452, 74481, 5256, 3249, 12403, 12319, 20928, 55516, 11728, 54, 76622, 25632 ]
[ 0.12841796875, 0.19384765625, 0.1334228515625, 0.23681640625, 0.1033935546875, 0.2109375, 0.2117919921875, 0.15380859375, 0.1505126953125, 0.171630859375, 0.064697265625, 0.1502685546875, 0.00262451171875, 0.1884765625, 0.1337890625, 0.15966796875, 0.114013671875, 0.234375, 0.006...
embed
2980037_c0
2980037
fsharp
0
Title: Multicore programming: the hard parts Problem title: Multicore programming: the hard parts Tags: parallel-processing, multicore, c%23, f%23, .net Problem: Multicore programming: the hard parts I'm writing a book on multicore programming using .NET 4 and I'm curious to know what parts of multicore programming peo...
Multicore programming: the hard parts Multicore programming: the hard parts parallel-processing multicore c%23 f%23 .net Multicore Multicore programming: the hard parts I'm writing a book on multicore programming using .NET 4 and I'm curious to know what parts of multicore programming people have found difficult to gro...
[ -0.006317138671875, 0.0081787109375, -0.0159912109375, 0.016357421875, -0.010986328125, -0.01226806640625, -0.00433349609375, 0.015869140625, -0.00946044921875, -0.029296875, -0.000308990478515625, 0.0302734375, -0.00006723403930664062, 0.03369140625, -0.00640869140625, 0.0049133300781...
[ 19335, 30854, 56037, 449, 12, 70, 7941, 63920, 95103, 63923, 214, 6024, 501, 3742, 1238, 3949, 1179, 32562, 12877, 17368, 6, 5, 17777, 201, 39, 193844, 3714, 2367, 111, 3395, 765, 14037, 34844, 47, 11969, 92, 707, 145325, 8035 ]
[ 0.1810302734375, 0.2578125, 0.1658935546875, 0.1126708984375, 0.05279541015625, 0.0999755859375, 0.19970703125, 0.225341796875, 0.1614990234375, 0.094482421875, 0.0151519775390625, 0.1800537109375, 0.007110595703125, 0.05255126953125, 0.009429931640625, 0.017242431640625, 0.162963867...
embed
3650067_c0
3650067
fsharp
0
Title: Does F# have equivalent syntax to C#&#x27;s &quot;unsafe&quot; block Problem title: Does F# have equivalent syntax to C#&#x27;s &quot;unsafe&quot; block Tags: f%23, c%23, .net, arrays Problem: Does F# have equivalent syntax to C#'s "unsafe" block A lot of array boundary checking slows down the speed, this is esp...
Does F# have equivalent syntax to C#&#x27;s &quot;unsafe&quot; block Does F# have equivalent syntax to C#&#x27;s &quot;unsafe&quot; block f%23 c%23 .net arrays Does Does F# have equivalent syntax to C#'s "unsafe" block A lot of array boundary checking slows down the speed, this is especially true to 2D arrays. Is there...
[ 0.004547119140625, 0.01409912109375, 0.0257568359375, -0.025390625, -0.007080078125, -0.0159912109375, 0.01348876953125, -0.00543212890625, 0.006866455078125, -0.0093994140625, 0.001861572265625, 0.01153564453125, 0.00616455078125, -0.0230712890625, -0.00860595703125, -0.00558471679687...
[ 101790, 563, 4904, 765, 183234, 6002, 86531, 47, 3768, 309, 115840, 46389, 313, 1238, 3742, 1179, 10298, 4778, 5915, 111, 53, 99091, 6635, 175199, 72803, 7, 7565, 38352, 29568, 116, 397, 3917, 33022, 51, 18151 ]
[ 0.03204345703125, 0.1490478515625, 0.2183837890625, 0.009124755859375, 0.1407470703125, 0.1141357421875, 0.18115234375, 0.048492431640625, 0.0284423828125, 0.12158203125, 0.2166748046875, 0.1893310546875, 0.014312744140625, 0.0673828125, 0.0225677490234375, 0.087646484375, 0.11083984...
embed
24210158_c0
24210158
fsharp
0
Title: Convert list to Array2D Problem title: Convert list to Array2D Tags: f%23, f%23-3.0 Problem: Convert list to Array2D I'm trying to convert a single list to a multi-dimensional Array2D. Basically go from [1; 2; 3] to [[1; 2; 3]] . I can't just use List.toArray as I'm using an API function which takes an int[,] as...
Convert list to Array2D Convert list to Array2D f%23 f%23-3.0 Convert Array2D List.toArray Convert list to Array2D I'm trying to convert a single list to a multi-dimensional Array2D. Basically go from [1; 2; 3] to [[1; 2; 3]] . I can't just use List.toArray as I'm using an API function which takes an int[,] as one of i...
[ -0.0047607421875, 0.01220703125, -0.00823974609375, 0.00885009765625, -0.02587890625, 0.0133056640625, -0.007049560546875, 0.0118408203125, 0.00994873046875, 0.018798828125, 0.0224609375, -0.01171875, 0.0118408203125, 0.025390625, -0.0128173828125, -0.00238037109375, -0.0152587890625...
[ 1657, 11549, 5303, 47, 69253, 53, 304, 397, 1238, 3742, 27495, 132265, 32036, 188, 7614, 7092, 31577, 96760, 10, 11001, 6024, 157955, 738, 1295, 68252, 74, 116, 138, 110558, 418, 831, 4527, 5, 17368, 61687, 32354, 51776, 23, 18, 1065, 4...
[ 0.04974365234375, 0.155517578125, 0.26318359375, 0.1104736328125, 0.20947265625, 0.1514892578125, 0.180908203125, 0.170654296875, 0.033721923828125, 0.06988525390625, 0.0178070068359375, 0.1171875, 0.2479248046875, 0.153564453125, 0.151123046875, 0.21826171875, 0.06158447265625, 0....
embed
2669299_c0
2669299
fsharp
0
Title: When do you put double semicolons in F#? Problem title: When do you put double semicolons in F#? Tags: f%23 Problem: When do you put double semicolons in F#? This is a stupid question. I've been reading a couple books on F# and can't find anything that explains when you put ;; after a statement, nor can I find a...
When do you put double semicolons in F#? When do you put double semicolons in F#? f%23 When When do you put double semicolons in F#? This is a stupid question. I've been reading a couple books on F# and can't find anything that explains when you put ;; after a statement, nor can I find a pattern in the reading. When do...
[ 0.007781982421875, -0.00848388671875, 0.01116943359375, 0.0020599365234375, -0.004913330078125, 0.0145263671875, -0.01348876953125, 0.001861572265625, -0.00250244140625, -0.0033721923828125, 0.0283203125, -0.031494140625, 0.0220947265625, 0.0024871826171875, 0.005828857421875, -0.01367...
[ 14847, 3884, 41929, 36137, 22796, 1779, 23, 563, 4904, 32, 54, 398, 1238, 3949, 3742, 110833, 9655, 16454, 24941, 42840, 73342, 3229, 2819, 74, 7103, 63805, 103510, 3564, 678 ]
[ 0.1265869140625, 0.08880615234375, 0.18603515625, 0.150634765625, 0.1702880859375, 0.11181640625, 0.0859375, 0.153076171875, 0.2073974609375, 0.0187225341796875, 0.0171356201171875, 0.0171966552734375, 0.07000732421875, 0.01007080078125, 0.072509765625, 0.06988525390625, 0.0107116699...
embed
50781331_c0
50781331
fsharp
0
Title: Retrieving the F# code inside a Quotation Problem title: Retrieving the F# code inside a Quotation Tags: f%23, expression-trees, quotations Problem: Retrieving the F# code inside a Quotation How can I get the original F# code inside a quotation? I know that in C# Expression.ToString() gives a reasonable string b...
Retrieving the F# code inside a Quotation Retrieving the F# code inside a Quotation f%23 expression-trees quotations Retrieving Quotation Expression.ToString Retrieving the F# code inside a Quotation How can I get the original F# code inside a quotation? I know that in C# Expression.ToString() gives a reasonable string...
[ 0.0128173828125, 0.01300048828125, 0.00958251953125, 0.023681640625, -0.005035400390625, -0.002685546875, 0.0224609375, 0.00823974609375, -0.0024871826171875, -0.035888671875, -0.00830078125, 0.002166748046875, -0.017578125, -0.00885009765625, 0.017333984375, 0.00933837890625, 0.0052...
[ 853, 97351, 6496, 70, 563, 4904, 18151, 46132, 43851, 22062, 10, 1238, 3949, 3742, 125195, 2921, 90, 81732, 5256, 25129, 1830, 7763, 71713, 214, 831, 87, 2046, 7311, 1363, 3714, 313, 5, 132, 16, 76199, 169022, 79315, 442, 3555, 18, 4488...
[ 0.057098388671875, 0.16015625, 0.052001953125, 0.06756591796875, 0.1669921875, 0.2418212890625, 0.2427978515625, 0.1685791015625, 0.1676025390625, 0.1517333984375, 0.05242919921875, 0.1109619140625, 0.01434326171875, 0.1156005859375, 0.1710205078125, 0.169189453125, 0.052490234375, ...
embed
1936143_c0
1936143
fsharp
0
Title: Is it possible to do function overloading in F#? Problem title: Is it possible to do function overloading in F#? Tags: .net, functional-programming, f%23 Problem: Is it possible to do function overloading in F#? Something like let f x = log(x) and later I can apply f to matrix, vector or a float. I guess it is n...
Is it possible to do function overloading in F#? Is it possible to do function overloading in F#? .net functional-programming f%23 Is it possible to do function overloading in F#? Something like and later I can apply f to matrix, vector or a float. I guess it is not possible since F# is strictly static typed. Any other...
[ -0.006103515625, 0.007293701171875, 0.01239013671875, 0.0031585693359375, 0.009521484375, -0.00830078125, -0.0135498046875, -0.005950927734375, -0.005279541015625, -0.0281982421875, 0.0030975341796875, -0.021728515625, -0.005767822265625, -0.02294921875, 0.01318359375, -0.0030059814453...
[ 2071, 442, 7722, 54, 32354, 645, 63033, 214, 23, 563, 4904, 47, 1179, 123309, 28966, 1238, 3742, 1884, 14432, 831, 59911, 50944, 425, 173, 18770, 21917, 257, 57767, 959, 81113, 201939, 10644, 2340, 23962, 45738, 2967 ]
[ 0.03759765625, 0.0267486572265625, 0.1746826171875, 0.068115234375, 0.222412109375, 0.15673828125, 0.2471923828125, 0.1051025390625, 0.07171630859375, 0.16064453125, 0.22998046875, 0.053314208984375, 0.113525390625, 0.1610107421875, 0.08935546875, 0.180908203125, 0.05377197265625, ...
embed
2415705_c0
2415705
fsharp
0
Title: Read from Console in F# Problem title: Read from Console in F# Tags: f%23, console Problem: Read from Console in F# Does anyone know if there is a builtin function for reading from the console likewise to the printfn function? The only method I've seen so far is using System.Console.Read() but it doesn't feel as...
Read from Console in F# Read from Console in F# f%23 console Console Read System.Console.Read Read from Console in F# Does anyone know if there is a builtin function for reading from the console likewise to the printfn function? The only method I've seen so far is using System.Console.Read() but it doesn't feel as func...
[ -0.0017852783203125, -0.007568359375, 0.0267333984375, 0.022705078125, -0.002288818359375, 0.0021514892578125, 0.0184326171875, -0.007049560546875, -0.00927734375, -0.037841796875, 0.015869140625, -0.01007080078125, -0.01116943359375, -0.006805419921875, 0.01141357421875, -0.0019989013...
[ 4764, 1295, 1657, 40777, 23, 563, 4904, 1238, 3949, 3742, 130250, 12353, 11935, 31345, 35672, 3714, 88303, 73, 32354, 100, 16454, 1884, 90825, 47, 28412, 14783, 4734, 55300, 51592, 2060, 17368, 132, 12319, 123309, 64549 ]
[ 0.2227783203125, 0.2039794921875, 0.1099853515625, 0.2373046875, 0.073486328125, 0.155517578125, 0.2139892578125, 0.0992431640625, 0.035797119140625, 0.145263671875, 0.2366943359375, 0.11767578125, 0.08575439453125, 0.2218017578125, 0.0144195556640625, 0.03460693359375, 0.11791992187...
embed
30846785_c1
30846785
fsharp
1
55636612814L %time sum(x for x in range(1234567) if x%3 * x%5 == 0) Wall time: 401 ms Out: 355636612814L Question: Why the F# program leads to "Arithmetic operation resulted in an overflow"? Is it possible to write the above python equivalent solution in F#? What's the idiomatic F# way to solve this problem? Code signa...
55636612814L %time sum(x for x in range(1234567) if x%3 * x%5 == 0) Wall time: 401 ms Out: 355636612814L Question: Why the F# program leads to "Arithmetic operation resulted in an overflow"? Is it possible to write the above python equivalent solution in F#? What's the idiomatic F# way to solve this problem? Code signa...
[ -0.0252685546875, 0.01318359375, 0.0032196044921875, -0.0224609375, 0.004638671875, -0.007781982421875, -0.01031494140625, 0.0079345703125, 0.00933837890625, -0.02783203125, 0.025634765625, -0.0020294189453125, 0.004180908203125, -0.0157470703125, -0.004302978515625, -0.001884460449218...
[ 163406, 110144, 81764, 2592, 866, 1745, 6032, 10554, 425, 100, 1022, 37457, 134186, 96060, 87053, 2174, 178990, 758, 69112, 757, 23706, 1733, 1112, 418, 68163, 13538, 138, 68185, 44084, 563, 4904, 1528, 37105, 7614, 8962, 282, 9523, 41018, ...
[ 0.1522216796875, 0.09478759765625, 0.048980712890625, 0.107666015625, 0.113525390625, 0.032806396484375, 0.1832275390625, 0.1978759765625, 0.06439208984375, 0.06781005859375, 0.058624267578125, 0.1781005859375, 0.036163330078125, 0.142578125, 0.099365234375, 0.0245361328125, 0.119384...
embed
62354840_c0
62354840
fsharp
0
Title: Combine Observables Problem title: Combine Observables Tags: f%23, observable, reactive-programming Problem: Combine Observables Let say I have A: IObservable<int> B: IObservable<int> how can I combine these two into C: IObservable<int> which emitted value is a product of last observed values of A and B? E.g. A ...
Combine Observables Combine Observables f%23 observable reactive-programming Combine Observables IObservable Combine Observables Let say I have how can I combine these two into which emitted value is a product of last observed values of A and B? E.g. then
[ -0.00341796875, 0.0439453125, -0.0035858154296875, 0.056640625, -0.01904296875, 0.0234375, -0.006439208984375, 0.0022125244140625, 0.01434326171875, -0.00787353515625, 0.011474609375, -0.0245361328125, 0.0196533203125, 0.03662109375, -0.01226806640625, 0.0036163330078125, -0.00144958...
[ 106935, 86, 87652, 13566, 1238, 3949, 3742, 22046, 2661, 456, 71232, 28966, 87, 46471, 65756, 5154, 765, 3642, 831, 70163, 6626, 3934, 3129, 53225, 3674, 34292, 83, 12996, 111, 4568, 139999, 142424, 62, 136, 335 ]
[ 0.2291259765625, 0.15380859375, 0.215087890625, 0.1712646484375, 0.0845947265625, 0.07611083984375, 0.1610107421875, 0.1470947265625, 0.08984375, 0.044525146484375, 0.1318359375, 0.1295166015625, 0.066650390625, 0.05731201171875, 0.1549072265625, 0.0078125, 0.00732421875, 0.0680541...
embed
3847187_c0
3847187
fsharp
0
Title: Erlang&#x27;s promise of concurrency in F# Problem title: Erlang&#x27;s promise of concurrency in F# Tags: f%23, erlang Problem: Erlang's promise of concurrency in F# Mr Joe Armstrong says that with Erlang we might have sequential code running N times faster with N cores. Does this apply to F# also? Or is the Er...
Erlang&#x27;s promise of concurrency in F# Erlang&#x27;s promise of concurrency in F# f%23 erlang Erlang Erlang's promise of concurrency in F# Mr Joe Armstrong says that with Erlang we might have sequential code running N times faster with N cores. Does this apply to F# also? Or is the Erlang VM designed in that way? D...
[ 0.00958251953125, 0.0027313232421875, -0.0036163330078125, 0.0057373046875, -0.01239013671875, -0.01611328125, 0.01190185546875, 0.0067138671875, -0.007659912109375, -0.0103759765625, 0.002044677734375, 0.01123046875, 0.00848388671875, 0.0147705078125, 0.02685546875, 0.001312255859375,...
[ 1004, 3066, 3768, 103036, 111, 108636, 982, 2408, 563, 4904, 23, 1238, 3742, 72, 40207, 191011, 17378, 678, 13648, 765, 243228, 18151, 51042, 541, 20028, 4271, 56, 48052, 101790, 903, 59911, 2843, 3347, 43084, 82775, 450, 3917, 111240, 9433...
[ 0.1802978515625, 0.308837890625, 0.104248046875, 0.228271484375, 0.03790283203125, 0.2105712890625, 0.18115234375, 0.0794677734375, 0.166748046875, 0.2325439453125, 0.036865234375, 0.04052734375, 0.036529541015625, 0.0428466796875, 0.131103515625, 0.2288818359375, 0.051361083984375, ...
embed
26435917_c0
26435917
fsharp
0
Title: How do I choose data structures in F#? Problem title: How do I choose data structures in F#? Tags: list, f%23, deedle Problem: How do I choose data structures in F#? date , code , ret 2001-01-01,000001,0.1 2001-01-02,000001,0.05 or subset(date='2001-01-01') date , code , ret 2001-01-01,000001,0.1 2001-01-01,0000...
How do I choose data structures in F#? How do I choose data structures in F#? list f%23 deedle How How do I choose data structures in F#? I have a csv file which has almost 10000000 rows ,the structures like this: The fields "date" and "code" are only one key. I want to subset the file quickly, like this or How should ...
[ 0.01239013671875, 0.0177001953125, -0.0089111328125, 0.004364013671875, -0.002716064453125, -0.01171875, 0.003936767578125, 0.01043701171875, 0.01171875, 0.005462646484375, 0.0076904296875, -0.0146484375, 0.005462646484375, -0.011474609375, -0.007415771484375, 0.0011444091796875, -0....
[ 11249, 87, 55076, 2053, 45646, 7, 23, 563, 4904, 54, 5303, 1238, 3742, 8, 297, 133, 765, 20763, 334, 11435, 1556, 39555, 209, 197094, 15555, 1884, 903, 44457, 17489, 136, 40899, 4734, 1632, 22799, 3444, 1614, 3509, 70, 69405, 7108, 4324...
[ 0.10211181640625, 0.045257568359375, 0.180419921875, 0.1624755859375, 0.269775390625, 0.128173828125, 0.0684814453125, 0.1514892578125, 0.2413330078125, 0.0215301513671875, 0.1163330078125, 0.06414794921875, 0.092529296875, 0.07958984375, 0.11572265625, 0.100830078125, 0.002197265625...
embed
2838554_c0
2838554
fsharp
0
Title: printf and formatting rules Problem title: printf and formatting rules Tags: f%23, printf Problem: printf and formatting rules I'd like to know if all formatting rules of printf functions currently work (or are implemented) in F# ? For instance, if I want to align arguments on 9 characters (padding with spaces o...
printf and formatting rules printf and formatting rules f%23 printf arg1 arg2 printf and formatting rules I'd like to know if all formatting rules of printf functions currently work (or are implemented) in F# ? For instance, if I want to align arguments on 9 characters (padding with spaces or 0), I would use: Thanks!
[ 0.01385498046875, 0.00408935546875, 0.006195068359375, 0.0220947265625, 0.005584716796875, 0.0230712890625, 0.0020599365234375, 0.0220947265625, 0.0167236328125, 0.047607421875, 0.020263671875, -0.02783203125, 0.006378173828125, 0.0098876953125, -0.001617431640625, -0.0011749267578125,...
[ 28412, 420, 136, 9384, 1916, 91736, 1238, 3949, 3742, 79459, 418, 304, 1884, 3714, 2174, 756, 32354, 82424, 4488, 748, 29479, 23, 563, 4904, 110527, 3444, 47, 143420, 10750, 7, 98, 483, 124850, 4299, 6238, 678, 32628, 707, 757, 2806, 45...
[ 0.2335205078125, 0.216552734375, 0.162841796875, 0.2362060546875, 0.123291015625, 0.2198486328125, 0.1126708984375, 0.04931640625, 0.1680908203125, 0.1593017578125, 0.040985107421875, 0.0721435546875, 0.04656982421875, 0.04437255859375, 0.02130126953125, 0.05670166015625, 0.175415039...
embed
64547035_c0
64547035
fsharp
0
Title: Convert integer to base 4 in F# Problem title: Convert integer to base 4 in F# Tags: f%23, f%23-interactive Problem: Convert integer to base 4 in F# I want to convert a given integer into a base 4 string. For eg : In scala, var str: String = Integer.toString(10, 4) gives the output "22" ie 2*(4^1) + 2*(4^0) = 10...
Convert integer to base 4 in F# Convert integer to base 4 in F# f%23 f%23-interactive Convert Integer.toString Convert integer to base 4 in F# I want to convert a given integer into a base 4 string. For eg : In scala, Im having difficulty doing this in F#. Any help is appreciated
[ -0.020751953125, -0.012451171875, 0.0042724609375, 0.005950927734375, -0.0162353515625, 0.0216064453125, -0.01422119140625, -0.0126953125, 0.004241943359375, -0.002838134765625, -0.01165771484375, -0.00010442733764648438, -0.02001953125, 0.027099609375, 0.0203857421875, 0.0042114257812...
[ 1657, 11549, 892, 1505, 47, 3647, 201, 23, 563, 4904, 1238, 3742, 27495, 10433, 71232, 44401, 188, 71713, 214, 87, 3444, 96760, 34475, 3934, 10, 79315, 360, 146232, 3370, 19441, 34844, 20594, 903, 4358, 77947 ]
[ 0.06829833984375, 0.1561279296875, 0.15966796875, 0.1416015625, 0.120849609375, 0.2371826171875, 0.237060546875, 0.0816650390625, 0.153564453125, 0.2091064453125, 0.05096435546875, 0.1219482421875, 0.0360107421875, 0.07171630859375, 0.06585693359375, 0.197509765625, 0.1484375, 0.14...
embed
58848128_c0
58848128
fsharp
0
Title: Outputting first n elements in the list Problem title: Outputting first n elements in the list Tags: list, f%23, recursion Problem: Outputting first n elements in the list How do you write a f# recursive function that accepts a positive integer n and a list xs as input, and returns a list containing only the fir...
Outputting first n elements in the list Outputting first n elements in the list list f%23 recursion Outputting Outputting first n elements in the list How do you write a f# recursive function that accepts a positive integer n and a list xs as input, and returns a list containing only the first n elements in xs. let rec...
[ -0.004180908203125, 0.0081787109375, 0.0011444091796875, 0.0005340576171875, -0.00384521484375, 0.01446533203125, 0.012939453125, -0.00628662109375, 0.00811767578125, -0.0057373046875, 0.01220703125, -0.0206298828125, 0.000949859619140625, 0.016357421875, 0.0040283203125, -0.0014724731...
[ 13538, 7077, 1916, 5117, 653, 80854, 23, 5303, 1238, 3949, 3742, 195625, 33022, 4904, 5844, 32354, 26946, 7, 24491, 892, 1505, 136, 1022, 237, 107730, 30646, 70541, 4734, 21954, 9844, 2203, 138, 963, 96386 ]
[ 0.1285400390625, 0.1280517578125, 0.03790283203125, 0.162841796875, 0.162353515625, 0.1956787109375, 0.0400390625, 0.1939697265625, 0.087646484375, 0.04345703125, 0.156005859375, 0.2127685546875, 0.106689453125, 0.1475830078125, 0.10693359375, 0.1534423828125, 0.12255859375, 0.0421...
embed
1523500_c0
1523500
fsharp
0
Title: How do I create an extension method (F#)? Problem title: How do I create an extension method (F#)? Tags: extension-methods, f%23 Problem: How do I create an extension method (F#)? How do I create an extension method in F#, for example, like this C# extension: public static string Right(this string host, int inde...
How do I create an extension method (F#)? How do I create an extension method (F#)? extension-methods f%23 How Right host.Substring host.Length How do I create an extension method (F#)? How do I create an extension method in F#, for example, like this C# extension:
[ -0.0001583099365234375, 0.0322265625, 0.041748046875, 0.033935546875, 0.0019378662109375, 0.000453948974609375, -0.0038909912109375, -0.0177001953125, 0.002166748046875, -0.0272216796875, -0.00157928466796875, -0.046142578125, -0.0166015625, 0.005401611328125, -0.002471923828125, -0.00...
[ 11249, 28282, 111938, 55300, 919, 4904, 54, 87, 142, 1928, 7352, 1238, 3949, 3742, 90911, 27980, 96472, 91693, 449, 23, 563, 27781, 1884, 903 ]
[ 0.0670166015625, 0.1654052734375, 0.260986328125, 0.2276611328125, 0.12158203125, 0.1986083984375, 0.03216552734375, 0.05133056640625, 0.0341796875, 0.093994140625, 0.1309814453125, 0.07421875, 0.0103759765625, 0.1070556640625, 0.0860595703125, 0.1583251953125, 0.0794677734375, 0.1...
embed
12636041_c0
12636041
fsharp
0
Title: What new in the F# Runtime SP1? Problem title: What new in the F# Runtime SP1? Tags: f%23 Problem: What new in the F# Runtime SP1? What the difference between F# 2.0 Runtime and F# 2.0 Runtime SP1? F# Runtime 2.0: http://www.microsoft.com/en-us/download/details.aspx?id=13450 F# Runtime 2.0 SP1: http://www.micros...
What new in the F# Runtime SP1? What new in the F# Runtime SP1? f%23 What Runtime SP1 What new in the F# Runtime SP1? What the difference between F# 2.0 Runtime and F# 2.0 Runtime SP1? F# Runtime 2.0: http://www.microsoft.com/en-us/download/details.aspx?id=13450 F# Runtime 2.0 SP1: http://www.microsoft.com/en-us/downlo...
[ 0.0059814453125, 0.0005340576171875, -0.0022430419921875, 0.004119873046875, -0.0025177001953125, 0.0203857421875, -0.0189208984375, 0.0142822265625, 0.0037994384765625, 0.044921875, 0.0084228515625, 0.0037078857421875, -0.0036468505859375, 0.00982666015625, 0.0125732421875, 0.01202392...
[ 4865, 3525, 23, 70, 563, 4904, 28398, 6032, 12047, 418, 32, 1238, 3949, 3742, 60212, 17721, 16655, 136, 138410, 64, 61754, 119514, 60450, 82825, 33, 187716, 10660, 48903, 31943, 6827 ]
[ 0.072509765625, 0.142822265625, 0.0806884765625, 0.037811279296875, 0.1580810546875, 0.2359619140625, 0.170654296875, 0.217041015625, 0.2088623046875, 0.1768798828125, 0.0335693359375, 0.07281494140625, 0.014892578125, 0.051727294921875, 0.17041015625, 0.0892333984375, 0.232788085937...
embed
33610637_c0
33610637
fsharp
0
Title: Does Visual F# have smart/RESTART? Problem title: Does Visual F# have smart/RESTART? Tags: f%23 Problem: Does Visual F# have smart/RESTART? I am trying to find out if it is possible to replace parts of an older applications built in T-SQL with Visual F#? How do F# work with smart/RESTART? Will I have to work wit...
Does Visual F# have smart/RESTART? Does Visual F# have smart/RESTART? f%23 Does Visual RESTART Does Visual F# have smart/RESTART? I am trying to find out if it is possible to replace parts of an older applications built in T-SQL with Visual F#? How do F# work with smart/RESTART? Will I have to work with a design patter...
[ -0.0079345703125, 0.0257568359375, 0.0167236328125, 0.027099609375, 0.009765625, 0.01446533203125, -0.0146484375, -0.0024261474609375, 0.017578125, -0.00127410888671875, 0.019287109375, 0.0247802734375, -0.0262451171875, 0.01446533203125, 0.0123291015625, -0.01611328125, 0.0036163330...
[ 101790, 73372, 563, 4904, 765, 18775, 64, 34465, 37142, 618, 1238, 3742, 627, 21828, 47136, 7722, 47, 91995, 63920, 114210, 86685, 88303, 384, 158897, 678, 4488, 4331, 103510, 388, 2053 ]
[ 0.0770263671875, 0.256103515625, 0.1580810546875, 0.2242431640625, 0.07958984375, 0.2049560546875, 0.063232421875, 0.1190185546875, 0.1456298828125, 0.2093505859375, 0.029632568359375, 0.035186767578125, 0.12158203125, 0.1112060546875, 0.243896484375, 0.06683349609375, 0.008483886718...
embed
24930703_c0
24930703
fsharp
0
Title: Drawing a value from a normal distribution in F# Problem title: Drawing a value from a normal distribution in F# Tags: normal-distribution, f%23 Problem: Drawing a value from a normal distribution in F# How do I go about obtaining a random value drawn from a specified normal distribution in F#? I want something ...
Drawing a value from a normal distribution in F# Drawing a value from a normal distribution in F# normal-distribution f%23 a Drawing Drawing a value from a normal distribution in F# How do I go about obtaining a random value drawn from a specified normal distribution in F#? I want something similar to Python's x = nump...
[ -0.01483154296875, 0.0037994384765625, 0.000579833984375, -0.030517578125, 0.0026702880859375, 0.0218505859375, 0.01458740234375, 0.0022125244140625, 0.0037994384765625, -0.03515625, 0.0036163330078125, 0.02490234375, -0.0120849609375, 0.023193359375, 0.007415771484375, -0.019897460937...
[ 18186, 14775, 10, 34292, 1295, 3638, 113068, 23, 563, 4904, 3827, 179236, 1238, 3949, 3742, 738, 1672, 113054, 214, 96759, 79442, 19, 58735, 3444, 21373, 145581, 1022, 2203, 13269, 6493, 46258, 39, 33176, 282, 66, 5570, 118318, 2320, 1284 ]
[ 0.1513671875, 0.1387939453125, 0.0288543701171875, 0.181884765625, 0.127197265625, 0.1710205078125, 0.1846923828125, 0.06317138671875, 0.1531982421875, 0.2265625, 0.05426025390625, 0.116455078125, 0.09375, 0.060089111328125, 0.12353515625, 0.0006103515625, 0.055145263671875, 0.1269...
embed
19997415_c0
19997415
fsharp
0
Title: math.net matrix juxtaposition Problem title: math.net matrix juxtaposition Tags: matrix, math.net, f%23 Problem: math.net matrix juxtaposition What is the math.net equivalent of this type of MATLAB operations on matrices for matrix juxtaposition? A = [2 2; 3 3] B = [4 4; 5 5] C = [A B] D = [A; B] Is there a chea...
math.net matrix juxtaposition math.net matrix juxtaposition matrix math.net f%23 math.net math.net matrix juxtaposition What is the math.net equivalent of this type of MATLAB operations on matrices for matrix juxtaposition? Is there a cheat sheet that compares MATLAB/NUMPY to Math.net? That may help me in the future. T...
[ 0.004150390625, 0.033935546875, 0.00848388671875, 0.015380859375, 0.0019073486328125, -0.01123046875, -0.01019287109375, 0.004486083984375, 0.0028228759765625, 0.00494384765625, -0.003173828125, -0.01214599609375, 0.0089111328125, -0.0189208984375, -0.0079345703125, -0.01409912109375, ...
[ 48909, 1179, 50944, 425, 1129, 29621, 40322, 1238, 3949, 3742, 4865, 83, 5, 183234, 903, 10644, 111, 52136, 89549, 41018, 7, 98, 5170, 100, 290, 257, 155434, 69101, 64, 109020, 683, 1723, 47, 78804, 32, 9925, 1543, 4358, 22690, 22362 ]
[ 0.1962890625, 0.2396240234375, 0.174560546875, 0.078369140625, 0.155517578125, 0.221435546875, 0.1502685546875, 0.113037109375, 0.07513427734375, 0.160400390625, 0.042999267578125, 0.042816162109375, 0.06414794921875, 0.1719970703125, 0.07855224609375, 0.09222412109375, 0.03466796875...
embed
10206199_c0
10206199
fsharp
0
Title: do yield in for loop within sequence computation expression Problem title: do yield in for loop within sequence computation expression Tags: sequence, f%23 Problem: do yield in for loop within sequence computation expression Why these work let x = seq { for i in 1 .. 10 do yield i } let x = seq { for i in 1 .. 1...
do yield in for loop within sequence computation expression do yield in for loop within sequence computation expression sequence f%23 do yield in for loop within sequence computation expression Why these work but this one doesn't?
[ 0.0186767578125, 0.00811767578125, 0.00653076171875, 0.01611328125, 0.0106201171875, -0.001251220703125, 0.0125732421875, 0.0201416015625, 0.000926971435546875, -0.01177978515625, 0.0040283203125, 0.0206298828125, 0.0145263671875, -0.00946044921875, 0.0211181640625, -0.007537841796875,...
[ 54, 11180, 19388, 23, 100, 40956, 28032, 40, 944, 3956, 181135, 125195, 1238, 3949, 3742, 6097, 4488, 1284, 903, 1632, 22027, 18 ]
[ 0.09521484375, 0.1885986328125, 0.275146484375, 0.08154296875, 0.12646484375, 0.19775390625, 0.13330078125, 0.0557861328125, 0.1339111328125, 0.031463623046875, 0.1226806640625, 0.176025390625, 0.0870361328125, 0.10552978515625, 0.181884765625, 0.0165557861328125, 0.10723876953125, ...
embed
12014179_c0
12014179
fsharp
0
Title: F# get environment variables as a generic collection Problem title: F# get environment variables as a generic collection Tags: f%23, environment-variables Problem: F# get environment variables as a generic collection In .NET 4.5 Environment.GetEnvironmentVariables() returns the environment variables as a non-gen...
F# get environment variables as a generic collection F# get environment variables as a generic collection f%23 environment-variables F# get environment variables as a generic collection In .NET 4.5 Environment.GetEnvironmentVariables() returns the environment variables as a non-generic Collections.IDictionary . Is ther...
[ -0.003936767578125, 0.000385284423828125, -0.019287109375, -0.0111083984375, -0.004791259765625, -0.00518798828125, -0.0068359375, -0.0185546875, -0.00079345703125, -0.0303955078125, 0.0152587890625, 0.0419921875, 0.00836181640625, -0.0185546875, 0.007110595703125, 0.010009765625, -0...
[ 563, 4904, 2046, 65998, 77336, 7, 237, 189534, 42486, 10, 1238, 3742, 21690, 17777, 60061, 686, 1900, 724, 126, 7768, 674, 81827, 14, 19736, 30646, 351, 79446, 68220, 7146, 10763, 6635, 3917 ]
[ 0.1229248046875, 0.1888427734375, 0.093994140625, 0.1776123046875, 0.225830078125, 0.03912353515625, 0.092529296875, 0.217041015625, 0.212890625, 0.03607177734375, 0.05670166015625, 0.0789794921875, 0.121826171875, 0.13232421875, 0.1729736328125, 0.1241455078125, 0.1441650390625, 0...
embed
61147198_c0
61147198
fsharp
0
Title: How to Parse Dates &amp; Option Dates? Problem title: How to Parse Dates &amp; Option Dates? Tags: f%23, type-providers Problem: How to Parse Dates & Option Dates? let parseDate (date: DateTimeOption) = match date with | Some d -> d.ToString() | None -> "" | d: DateTime -> d.ToString() Code signals: How, Parse, ...
How to Parse Dates &amp; Option Dates? How to Parse Dates &amp; Option Dates? f%23 type-providers How Parse Dates Option CSVProvider Site Order Number Date Delivery DateTimeOption DateTime Some None d.ToString How to Parse Dates & Option Dates? As I iterate over the rows returned by the CSVProvider there are instances ...
[ 0.01104736328125, -0.006591796875, 0.002899169921875, 0.0283203125, -0.0174560546875, 0.00531005859375, -0.0012359619140625, -0.005523681640625, 0.000606536865234375, 0.037109375, -0.0113525390625, -0.0113525390625, 0.004974365234375, -0.009033203125, 0.0023040771484375, -0.00212097167...
[ 11249, 47, 2392, 184, 25512, 7, 619, 25133, 74, 86769, 1238, 3742, 10644, 93136, 14202, 25841, 41195, 83220, 820, 20897, 81206, 103332, 232062, 70059, 39029, 7763, 71713, 8560, 15555, 176377, 110527, 112474, 137565, 50717, 51, 5429, 11, 2676,...
[ 0.06207275390625, 0.0496826171875, 0.1817626953125, 0.1507568359375, 0.20556640625, 0.03948974609375, 0.1466064453125, 0.1282958984375, 0.024810791015625, 0.267578125, 0.009063720703125, 0.0870361328125, 0.169677734375, 0.1553955078125, 0.047882080078125, 0.086181640625, 0.0456237792...
embed
55839610_c0
55839610
fsharp
0
Title: Why F# type inference doesn&#x27;t work for class or interface? Problem title: Why F# type inference doesn&#x27;t work for class or interface? Tags: f%23 Problem: Why F# type inference doesn't work for class or interface? F# type inference works for only F# related types except for class or interface. But I don'...
Why F# type inference doesn&#x27;t work for class or interface? Why F# type inference doesn&#x27;t work for class or interface? f%23 Why Why F# type inference doesn't work for class or interface? F# type inference works for only F# related types except for class or interface. But I don't know why. I understand candidat...
[ -0.0093994140625, -0.003753662109375, -0.0003681182861328125, 0.00628662109375, -0.00909423828125, -0.011474609375, -0.0181884765625, 0.0020904541015625, 0.0001049041748046875, 0.009521484375, -0.0048828125, -0.020263671875, -0.003509521484375, 0.0087890625, 0.015625, -0.00491333007812...
[ 44084, 563, 4904, 10644, 53498, 6620, 22027, 3768, 18, 4488, 100, 18507, 707, 101758, 1238, 43240, 4734, 62548, 52895, 40494, 3714, 15400, 25469, 90, 51312, 69201, 89397 ]
[ 0.09423828125, 0.1326904296875, 0.20361328125, 0.2047119140625, 0.1922607421875, 0.0736083984375, 0.06671142578125, 0.0268707275390625, 0.098876953125, 0.10064697265625, 0.06829833984375, 0.1585693359375, 0.045745849609375, 0.1502685546875, 0.0032958984375, 0.1011962890625, 0.0469665...
embed
58512095_c0
58512095
fsharp
0
Title: Converting a dictionary (passed from C#) to a string in F# Problem title: Converting a dictionary (passed from C#) to a string in F# Tags: f%23 Problem: Converting a dictionary (passed from C#) to a string in F# Code signals: C#, Converting, Seq.sortBy, KeyValue, Seq.map, String.concat, string.Join, sortedParame...
Converting a dictionary (passed from C#) to a string in F# Converting a dictionary (passed from C#) to a string in F# f%23 C# Converting Seq.sortBy KeyValue Seq.map String.concat string.Join sortedParameters.Select item.Key item.Value ToList Test Dictionary Seq.iter Compilation Type Expecting a:1 b:2 c:3 Converting a d...
[ 0.003021240234375, -0.01104736328125, -0.006805419921875, -0.0244140625, -0.016357421875, -0.0164794921875, -0.008544921875, 0.008544921875, 0.004852294921875, 0.0255126953125, -0.00531005859375, 0.01177978515625, -0.007476806640625, 0.020263671875, 0.005615234375, -0.010009765625, -...
[ 1657, 814, 1916, 45, 10763, 6635, 13409, 1295, 4904, 47, 10, 79315, 563, 313, 23, 1238, 3742, 503, 864, 62351, 75358, 26824, 856, 50770, 62346, 23351, 2271, 4460, 16604, 17497, 29089, 100184, 35735, 162429, 717, 154663, 8647, 147638, 16840,...
[ 0.0273284912109375, 0.1375732421875, 0.008941650390625, 0.07501220703125, 0.1734619140625, 0.1448974609375, 0.065673828125, 0.0814208984375, 0.2032470703125, 0.111328125, 0.05926513671875, 0.2437744140625, 0.133544921875, 0.00634765625, 0.05206298828125, 0.028167724609375, 0.10754394...
embed
390176_c0
390176
fsharp
0
Title: What can I do to pass a list from C# to F#? Problem title: What can I do to pass a list from C# to F#? Tags: f%23, c%23 Problem: What can I do to pass a list from C# to F#? I know that the f# list is not the same at the c# List. What do I need to do to be able to pass a list of ints from a c# application to an f...
What can I do to pass a list from C# to F#? What can I do to pass a list from C# to F#? f%23 c%23 C# What What can I do to pass a list from C# to F#? I know that the f# list is not the same at the c# List. What do I need to do to be able to pass a list of ints from a c# application to an f# library? I'd like to be able...
[ 0.00193023681640625, 0.0179443359375, 0.0037078857421875, -0.01092529296875, -0.0062255859375, -0.00457763671875, -0.018310546875, 0.01043701171875, -0.00112152099609375, -0.01019287109375, 0.003448486328125, -0.02001953125, 0.0034027099609375, 0.0257568359375, -0.0145263671875, 0.0026...
[ 4865, 831, 87, 54, 47, 27875, 5303, 1295, 313, 4904, 563, 10, 1238, 3742, 501, 959, 5701, 32036, 3871, 19048, 111, 23, 933, 38415, 35773, 1294, 1884, 4527, 103510, 14858, 214, 2053, 18151 ]
[ 0.0701904296875, 0.1025390625, 0.04852294921875, 0.082275390625, 0.135498046875, 0.1639404296875, 0.2301025390625, 0.1239013671875, 0.114013671875, 0.243408203125, 0.1500244140625, 0.0280914306640625, 0.1163330078125, 0.033905029296875, 0.030303955078125, 0.006317138671875, 0.0375976...
embed
18753560_c0
18753560
fsharp
0
Title: One line F# code is hard to understand Problem title: One line F# code is hard to understand Tags: ocaml, f%23 Problem: One line F# code is hard to understand What is the meaning of this one line F# snippet let x x = x + 2 in x 2;; It is valid and just return 4. But what is it?? is x a function? is it also a par...
One line F# code is hard to understand One line F# code is hard to understand ocaml f%23 One One line F# code is hard to understand What is the meaning of this one line F# snippet It is valid and just return 4. But what is it?? is x a function? is it also a parameter? also x seems to be calling itself (x 2) but its not...
[ -0.00439453125, -0.0062255859375, 0.0086669921875, 0.01544189453125, 0.0181884765625, -0.00014019012451171875, 0.01055908203125, 0.00836181640625, -0.00141143798828125, -0.04296875, -0.004150390625, 0.0024261474609375, -0.006011962890625, 0.0076904296875, 0.0302734375, -0.0123291015625...
[ 6561, 13315, 563, 4904, 18151, 7941, 47, 28219, 83, 36, 9779, 141, 1238, 3949, 3742, 70, 91084, 903, 1632, 93, 58134, 35604, 1660, 30646, 1398, 2367, 442, 1022, 32354, 171859, 37202, 186, 159029, 68034, 425, 4958, 6863, 959, 94419, 678, ...
[ 0.1334228515625, 0.158935546875, 0.09716796875, 0.192138671875, 0.201416015625, 0.1551513671875, 0.08837890625, 0.2247314453125, 0.052032470703125, 0.10791015625, 0.13330078125, 0.1328125, 0.0791015625, 0.0687255859375, 0.1575927734375, 0.01727294921875, 0.183349609375, 0.032226562...
embed
842855_c0
842855
fsharp
0
Title: Visual Studio F# Error Problem title: Visual Studio F# Error Tags: intellisense, f%23, visual-studio Problem: Visual Studio F# Error I am learning F#, and I came across an intellisense error let rec fib n = match n with | 1 -> 1 | 2 -> 2 | _ -> fib(n-1) + fib(n-2) fib 6 <-- This line says "This expression should...
Visual Studio F# Error Visual Studio F# Error intellisense f%23 visual-studio Visual Studio Error n-1 n-2 Visual Studio F# Error I am learning F#, and I came across an intellisense error Does anyone know how I fix this?
[ 0.0030364990234375, 0.01318359375, 0.0007476806640625, 0.01019287109375, -0.00274658203125, 0.0023345947265625, -0.006927490234375, 0.01446533203125, 0.0026397705078125, -0.01324462890625, 0.00335693359375, -0.0086669921875, 0.005401611328125, 0.0028533935546875, 0.0252685546875, -0.00...
[ 73372, 22968, 563, 4904, 212059, 892, 27077, 184, 1238, 3949, 3742, 21176, 52629, 653, 5759, 5428, 444, 52080, 21449, 36880, 18499, 35672, 3714, 3642, 87, 30022, 903 ]
[ 0.178466796875, 0.188232421875, 0.165771484375, 0.2340087890625, 0.1746826171875, 0.135009765625, 0.1781005859375, 0.10748291015625, 0.1181640625, 0.0919189453125, 0.179443359375, 0.1416015625, 0.161376953125, 0.0340576171875, 0.1109619140625, 0.15185546875, 0.021209716796875, 0.08...
embed
31469301_c0
31469301
fsharp
0
Title: Install F# standalone on MAC Problem title: Install F# standalone on MAC Tags: f%23 Problem: Install F# standalone on MAC I have installed Install the F# Cross-Platform Runtime (called Mono) from this instruction . The installation completed without errors, but I cannot find fsharp : ~ » fsharpi zsh: command not...
Install F# standalone on MAC Install F# standalone on MAC f%23 Install MAC Cross-Platform Runtime Mono Install F# standalone on MAC I have installed Install the F# Cross-Platform Runtime (called Mono) from this instruction . The installation completed without errors, but I cannot find fsharp : How can I find the path t...
[ -0.0018768310546875, 0.01708984375, 0.0028228759765625, 0.0220947265625, 0.0009002685546875, 0.01953125, -0.0026092529296875, -0.0006866455078125, -0.015380859375, 0.00616455078125, 0.0023193359375, -0.005584716796875, -0.01519775390625, 0.00537109375, 0.022216796875, 0.003036499023437...
[ 107951, 563, 4904, 103723, 51684, 98, 78826, 1238, 3949, 3742, 47832, 117231, 5037, 28398, 6032, 77879, 20600, 1295, 903, 188336, 59720, 140528, 15490, 18499, 53418, 7413, 89280, 254, 831, 70, 60875, 47, 297, 102158 ]
[ 0.1590576171875, 0.1563720703125, 0.28564453125, 0.15185546875, 0.16650390625, 0.06927490234375, 0.208251953125, 0.148193359375, 0.0086669921875, 0.1048583984375, 0.1492919921875, 0.0860595703125, 0.12353515625, 0.08624267578125, 0.1619873046875, 0.239013671875, 0.1854248046875, 0....
embed
15113182_c0
15113182
fsharp
0
Title: FSharp.Core cannot be found in Xamarin Studio Problem title: FSharp.Core cannot be found in Xamarin Studio Tags: f%23, mono, xamarin-studio Problem: FSharp.Core cannot be found in Xamarin Studio I have a basic f# project created with Xamarin Studio but it claims it cannot find FSharp.Core. However the F# REPL wi...
FSharp.Core cannot be found in Xamarin Studio FSharp.Core cannot be found in Xamarin Studio f%23 mono xamarin-studio FSharp.Core Xamarin Studio FSharp.Core cannot be found in Xamarin Studio I have a basic f# project created with Xamarin Studio but it claims it cannot find FSharp.Core. However the F# REPL with the IDE w...
[ -0.0150146484375, 0.029296875, -0.004486083984375, 0.00823974609375, -0.0111083984375, -0.00408935546875, 0.01220703125, -0.003875732421875, -0.01483154296875, -0.006378173828125, 0.0137939453125, -0.025146484375, -0.0135498046875, 0.0181884765625, 0.037841796875, 0.00799560546875, -...
[ 93774, 3467, 254, 5, 50886, 13, 53418, 14037, 23, 8606, 44503, 22968, 186, 1238, 3949, 3742, 22460, 2459, 52629, 62822, 4904, 13452, 75935, 678, 1284, 140526, 442, 7413, 563, 9069, 21130, 36497, 43240, 5885, 66596, 1379, 20600, 297 ]
[ 0.132568359375, 0.2154541015625, 0.23095703125, 0.0799560546875, 0.2060546875, 0.1370849609375, 0.152587890625, 0.1514892578125, 0.08990478515625, 0.172607421875, 0.24267578125, 0.1771240234375, 0.010589599609375, 0.0977783203125, 0.0218505859375, 0.111328125, 0.1922607421875, 0.12...
embed
30394141_c0
30394141
fsharp
0
Title: Is there a simple way to print each element of an array? Problem title: Is there a simple way to print each element of an array? Tags: arrays, f%23, printing Problem: Is there a simple way to print each element of an array? let x=[|15..20|] let y=Array.map f x printf "%O" y Well, I got a type information. Is the...
Is there a simple way to print each element of an array? Is there a simple way to print each element of an array? arrays f%23 printing Array.map Is there a simple way to print each element of an array? Well, I got a type information. Is there any way to print each element of "y" with delimiter of ",", while not having ...
[ -0.01220703125, -0.00933837890625, 0.005401611328125, 0.015869140625, -0.0084228515625, -0.007354736328125, 0.0081787109375, 0.0167236328125, 0.01385498046875, 0.0142822265625, -0.0030364990234375, -0.016357421875, -0.0004444122314453125, 0.005126953125, -0.00262451171875, -0.013549804...
[ 2071, 2685, 10, 8781, 3917, 47, 28412, 12638, 12830, 111, 10298, 53, 142, 4778, 1238, 3949, 3742, 2448, 1916, 69253, 62346, 10644, 4677, 2499, 678, 8, 93343, 56, 959, 19441, 100, 40956 ]
[ 0.0211029052734375, 0.0592041015625, 0.054473876953125, 0.2000732421875, 0.1260986328125, 0.09033203125, 0.22314453125, 0.1885986328125, 0.2049560546875, 0.1085205078125, 0.180908203125, 0.15087890625, 0.025787353515625, 0.0989990234375, 0.056121826171875, 0.018096923828125, 0.120971...
embed
77527817_c2
77527817
fsharp
2
Compile, Include, Class2.fs, Reference, NinjaTrader.Core, HintPath, Program, Files, NinjaTrader, NinjaTrader.Core.dll, PackageReference, Update, FSharp.Core, Version, beta.23251.2, utf-8, Platforms, x64, ImplicitUsings, Nullable, UseWPF, LangVersion, Latest, RootNamespace, Class3.cs, OutputType, Library, Class1.cs, Pr...
Compile, Include, Class2.fs, Reference, NinjaTrader.Core, HintPath, Program, Files, NinjaTrader, NinjaTrader.Core.dll, PackageReference, Update, FSharp.Core, Version, beta.23251.2, utf-8, Platforms, x64, ImplicitUsings, Nullable, UseWPF, LangVersion, Latest, RootNamespace, Class3.cs, OutputType, Library, Class1.cs, Pr...
[ -0.0079345703125, 0.01483154296875, -0.0096435546875, 0.00811767578125, 0.0098876953125, 0.0028076171875, -0.0062255859375, -0.01202392578125, 0.02001953125, 0.03076171875, 0.003875732421875, -0.0057373046875, -0.00390625, 0.0216064453125, 0.01068115234375, 0.00836181640625, -0.00384...
[ 15612, 1340, 8942, 822, 112, 35014, 5442, 17447, 215996, 127438, 28542, 820, 5, 50886, 13, 19895, 18, 683, 10519, 7663, 42724, 71, 1181, 56607, 4588, 4332, 69988, 28641, 93774, 3467, 254, 40647, 51703, 3742, 2588, 48400, 486, 420, 17376, ...
[ 0.18212890625, 0.215087890625, 0.0745849609375, 0.1624755859375, 0.09210205078125, 0.18994140625, 0.1361083984375, 0.1796875, 0.2330322265625, 0.2430419921875, 0.25537109375, 0.187255859375, 0.04962158203125, 0.1326904296875, 0.07342529296875, 0.2095947265625, 0.03125, 0.0733032226...
embed
16224984_c0
16224984
fsharp
0
Title: type a = {X:int; Y:int} vs type a = |X of int |Y of int Problem title: type a = {X:int; Y:int} vs type a = |X of int |Y of int Tags: f%23, math, set Problem: type a = {X:int; Y:int} vs type a = |X of int |Y of int I'm really more interested in the theoretical-set answer. So maybe I should ask int * int vs int + ...
type a = {X:int; Y:int} vs type a = |X of int |Y of int type a = {X:int; Y:int} vs type a = |X of int |Y of int f%23 math set X:int Y:int type a = {X:int; Y:int} vs type a = |X of int |Y of int I'm really more interested in the theoretical-set answer. So maybe I should ask int * int vs int + int. I interpret int * int ...
[ 0.00150299072265625, -0.004486083984375, -0.0015106201171875, 0.0264892578125, -0.0220947265625, -0.0076904296875, -0.0220947265625, -0.0034027099609375, 0.0247802734375, 0.003997802734375, 0.00494384765625, 0.03173828125, 0.01031494140625, -0.007110595703125, -0.0240478515625, -0.0057...
[ 10644, 10, 2203, 1542, 12, 4288, 74, 990, 20209, 111, 23, 18, 1723, 1238, 3949, 3742, 48909, 5423, 1193, 60892, 4524, 3509, 35166, 26458, 661, 997, 29481, 237, 370, 8705, 200103, 108047, 71, 14012, 162515 ]
[ 0.246337890625, 0.14990234375, 0.031097412109375, 0.1141357421875, 0.038665771484375, 0.210693359375, 0.042327880859375, 0.1588134765625, 0.1639404296875, 0.168212890625, 0.1593017578125, 0.1865234375, 0.15673828125, 0.0184326171875, 0.0091552734375, 0.10467529296875, 0.0611572265625...
embed
26516625_c0
26516625
fsharp
0
Title: How to get URL and its parameter value in F# Problem title: How to get URL and its parameter value in F# Tags: websharper, f%23 Problem: How to get URL and its parameter value in F# Is there any way to get URL and further its parameter values in f# Only F# any one can help me. I have tried a lot but no solution ...
How to get URL and its parameter value in F# How to get URL and its parameter value in F# websharper f%23 How URL How to get URL and its parameter value in F# Is there any way to get URL and further its parameter values in f# Only F# any one can help me. I have tried a lot but no solution found http://www.example.com/b...
[ -0.01031494140625, 0.00083160400390625, -0.01092529296875, 0.003326416015625, -0.007598876953125, 0.0035858154296875, 0.0162353515625, -0.00726318359375, 0.00982666015625, -0.0322265625, 0.00592041015625, -0.0159912109375, -0.022705078125, 0.00023174285888671875, 0.0079345703125, -0.01...
[ 11249, 47, 2046, 31862, 136, 6863, 171859, 34292, 23, 563, 4904, 1467, 89280, 1264, 1238, 3949, 3742, 2499, 3917, 53333, 142424, 87293, 831, 4358, 5915, 29806, 3355, 11, 33209, 9883, 532, 146945, 42335, 1621, 277, 47009, 1105 ]
[ 0.081787109375, 0.053314208984375, 0.1435546875, 0.26806640625, 0.162841796875, 0.083251953125, 0.271728515625, 0.1865234375, 0.0831298828125, 0.16162109375, 0.2303466796875, 0.1025390625, 0.157958984375, 0.1572265625, 0.1256103515625, 0.013427734375, 0.1484375, 0.00439453125, 0....
embed
6306150_c0
6306150
fsharp
0
Title: scope of &#x27;use&#x27; keyword using F# Problem title: scope of &#x27;use&#x27; keyword using F# Tags: f%23, scope Problem: scope of 'use' keyword using F# Assume the following code: let fn () = use a = new System.IO.StreamWriter ("d:\\test.txt") a let b = fn () b.Write "t" It gives following error: ObjectDisp...
scope of &#x27;use&#x27; keyword using F# scope of &#x27;use&#x27; keyword using F# f%23 scope F# System.IO.StreamWriter test.txt b.Write scope of 'use' keyword using F# Assume the following code: It gives following error: Why is that?
[ 0.00848388671875, 0.0177001953125, 0.006744384765625, -0.004486083984375, -0.003173828125, 0.0013275146484375, 0.0034637451171875, 0.0264892578125, 0.003692626953125, -0.00104522705078125, -0.00933837890625, 0.013916015625, 0.01373291015625, 0.005279541015625, 0.033935546875, -0.016601...
[ 70820, 111, 3768, 4032, 166117, 17368, 563, 4904, 6, 1238, 3742, 12353, 17780, 115061, 1456, 2783, 56, 3034, 5, 124326, 66596, 25632, 18151, 1650, 76199, 18499, 44084, 83, 450 ]
[ 0.2474365234375, 0.119384765625, 0.1142578125, 0.206298828125, 0.2366943359375, 0.08203125, 0.144775390625, 0.20703125, 0.0209503173828125, 0.054779052734375, 0.04052734375, 0.06390380859375, 0.1278076171875, 0.1563720703125, 0.02899169921875, 0.095947265625, 0.048431396484375, 0.1...
embed
29538342_c1
29538342
fsharp
1
outOfInterval then if (d+n < ns) // before next start then loop (d+n) TimeSpan.Zero // intersecting with interval else if (d+n < nf) then loop (d+n) (n - (ns - d)) else loop nf (n - (ns - d)) else //in interval loop nf n loop d n My question is : has anybody a shorter solution for this? Code signals: Better, Custom, C...
outOfInterval then if (d+n < ns) // before next start then loop (d+n) TimeSpan.Zero // intersecting with interval else if (d+n < nf) then loop (d+n) (n - (ns - d)) else loop nf (n - (ns - d)) else //in interval loop nf n loop d n My question is : has anybody a shorter solution for this? Code signals: Better, Custom, C...
[ -0.0037689208984375, -0.0263671875, 0.0106201171875, 0.02880859375, 0.00311279296875, -0.00433349609375, 0.005035400390625, -0.00244140625, 0.0024261474609375, -0.01239013671875, 0.0025177001953125, 0.03564453125, -0.025634765625, 0.017822265625, 0.01336669921875, -0.01495361328125, ...
[ 1810, 132887, 44851, 1405, 7068, 2174, 71, 1328, 19, 4426, 1779, 8108, 11737, 4034, 40956, 19055, 3180, 1511, 4036, 1940, 39797, 1916, 678, 51514, 37076, 420, 15, 104, 73, 653, 9655, 1556, 37873, 16610, 56, 29806, 100, 903, 28864, 26073, ...
[ 0.1712646484375, 0.209228515625, 0.162353515625, 0.1990966796875, 0.005218505859375, 0.061676025390625, 0.083251953125, 0.1778564453125, 0.09442138671875, 0.047210693359375, 0.16796875, 0.12548828125, 0.12744140625, 0.1778564453125, 0.20654296875, 0.11865234375, 0.1890869140625, 0....
embed
63418908_c0
63418908
fsharp
0
Title: Count members of a record type Problem title: Count members of a record type Tags: f%23 Problem: Count members of a record type Lets say I have the following type: type BinaryOp = { Lhs: int Rhs: int Destination: int } Is there a F# way of counting the members of that record, i.e. countMembers<BinaryOp> = 3 ? I ...
Count members of a record type Count members of a record type f%23 Count BinaryOp Lhs Rhs Destination System.Reflection Count members of a record type Lets say I have the following type: Is there a F# way of counting the members of that record, i.e. countMembers<BinaryOp> = 3 ? I know I could use System.Reflection but ...
[ -0.00286865234375, -0.0177001953125, 0.00164031982421875, 0.0159912109375, 0.00177764892578125, -0.001373291015625, -0.020751953125, -0.01165771484375, 0.01202392578125, -0.0390625, -0.01544189453125, 0.00274658203125, 0.023681640625, 0.017578125, 0.017822265625, -0.006103515625, -0....
[ 108210, 43032, 111, 17164, 10644, 10, 1238, 3949, 3742, 54092, 1294, 39029, 127, 62130, 7, 145778, 12353, 190015, 133, 10763, 70, 25632, 563, 4904, 3917, 54529, 214, 594, 27417, 571, 73, 6635, 2203, 138, 3714, 5809, 4527, 43257, 959 ]
[ 0.1929931640625, 0.26025390625, 0.08056640625, 0.2137451171875, 0.1881103515625, 0.00042724609375, 0.072021484375, 0.0285186767578125, 0.1153564453125, 0.1812744140625, 0.072509765625, 0.1646728515625, 0.03155517578125, 0.09014892578125, 0.012847900390625, 0.137939453125, 0.100341796...
embed
4042209_c0
4042209
fsharp
0
Title: Is there any possibility to write GPU-applications using CUDA under F sharp? Problem title: Is there any possibility to write GPU-applications using CUDA under F sharp? Tags: f%23, cuda, .net, gpgpu Problem: Is there any possibility to write GPU-applications using CUDA under F sharp? I am interested in using F# ...
Is there any possibility to write GPU-applications using CUDA under F sharp? Is there any possibility to write GPU-applications using CUDA under F sharp? f%23 cuda .net gpgpu CUDA GPU-applications Is there any possibility to write GPU-applications using CUDA under F sharp? I am interested in using F# for numerical comp...
[ 0.006591796875, 0.018310546875, 0.017333984375, -0.0257568359375, 0.0250244140625, 0.00335693359375, 0.01373291015625, -0.01068115234375, -0.0059814453125, -0.02783203125, 0.00135040283203125, -0.021484375, 0.00714111328125, -0.01171875, -0.000583648681640625, 0.02197265625, 0.008422...
[ 2071, 2685, 2499, 207116, 47, 33022, 162808, 101687, 7, 17368, 313, 82302, 1379, 563, 189173, 1238, 3742, 314, 85, 5, 1179, 78872, 177, 1766, 9, 60892, 4904, 100, 54744, 181135, 831, 17203, 194826, 35483 ]
[ 0.03594970703125, 0.0236053466796875, 0.05511474609375, 0.147216796875, 0.0404052734375, 0.1640625, 0.25927734375, 0.1981201171875, 0.0185089111328125, 0.0892333984375, 0.104248046875, 0.2568359375, 0.163818359375, 0.2080078125, 0.2481689453125, 0.104736328125, 0.048065185546875, 0...
embed
24875805_c0
24875805
fsharp
0
Title: Where is the source code for the sequence expression builder Problem title: Where is the source code for the sequence expression builder Tags: f%23 Problem: Where is the source code for the sequence expression builder I'm curious how the F# Seq computational expression implements the IEnumerable data structure. ...
Where is the source code for the sequence expression builder Where is the source code for the sequence expression builder f%23 Where Where is the source code for the sequence expression builder I'm curious how the F# Seq computational expression implements the IEnumerable data structure. Searching Sharp.Core/seq.fs on ...
[ 0.01019287109375, 0.0206298828125, -0.0084228515625, 0.01416015625, 0.00616455078125, 0.00750732421875, 0.005950927734375, 0.01092529296875, 0.0040283203125, -0.0247802734375, 0.0022430419921875, -0.007171630859375, -0.01226806640625, -0.00482177734375, 0.0167236328125, 0.0108642578125...
[ 78662, 83, 31344, 18151, 40, 944, 3956, 125195, 45367, 56, 100, 1238, 3949, 3742, 193844, 563, 4904, 503, 864, 181135, 29479, 75536, 2606, 2886, 2053, 45646, 33086, 197106, 50886, 184, 17447, 217, 140505, 208124, 11180, 19388, 38, 42341, 16...
[ 0.084716796875, 0.0552978515625, 0.2249755859375, 0.227783203125, 0.09490966796875, 0.1693115234375, 0.122802734375, 0.2396240234375, 0.2215576171875, 0.1912841796875, 0.0205841064453125, 0.09967041015625, 0.0745849609375, 0.1920166015625, 0.055511474609375, 0.0711669921875, 0.137939...
embed
26949539_c0
26949539
fsharp
0
Title: FsCheck test change the range of values used for testing Problem title: FsCheck test change the range of values used for testing Tags: f%23, fscheck Problem: FsCheck test change the range of values used for testing My code is automatically testing for values from -99 to 99 while using FsCheck. Check.Quick test w...
FsCheck test change the range of values used for testing FsCheck test change the range of values used for testing f%23 fscheck FsCheck Check.Quick FsCheck test change the range of values used for testing My code is automatically testing for values from -99 to 99 while using FsCheck. where my test function takes integer...
[ -0.013916015625, -0.0021514892578125, -0.0186767578125, -0.016357421875, -0.00592041015625, 0.0274658203125, 0.0031890869140625, 0.00167083740234375, 0.0107421875, 0.037841796875, -0.003997802734375, 0.02685546875, 0.003143310546875, 0.00445556640625, 0.04052734375, 0.007598876953125, ...
[ 563, 7, 202567, 3034, 15549, 37457, 111, 142424, 11814, 100, 134234, 1238, 3949, 3742, 78292, 38679, 96010, 2594, 18151, 191082, 1295, 20, 5046, 47, 10078, 32354, 51776, 892, 1505, 2806, 1884, 17368, 106, 201, 65040 ]
[ 0.1466064453125, 0.130615234375, 0.29736328125, 0.1949462890625, 0.1524658203125, 0.1868896484375, 0.030914306640625, 0.1953125, 0.1331787109375, 0.04150390625, 0.2030029296875, 0.113525390625, 0.052520751953125, 0.1685791015625, 0.2587890625, 0.2265625, 0.0740966796875, 0.05245971...
embed
762502_c0
762502
fsharp
0
Title: Are there any good F# text editors? Problem title: Are there any good F# text editors? Tags: text-editor, f%23 Problem: Are there any good F# text editors? Are there any good text editors for F#? Instead of firing up resource-intensive Visual Studio, I would like to know if there are any text editors that can pr...
Are there any good F# text editors? Are there any good F# text editors? text-editor f%23 Are there any good F# text editors? Are there any good text editors for F#? Instead of firing up resource-intensive Visual Studio, I would like to know if there are any text editors that can pretty-format F# code. I am just getting...
[ 0.019287109375, -0.0137939453125, 0.00408935546875, -0.007781982421875, 0.007781982421875, -0.00164031982421875, -0.003936767578125, -0.006622314453125, 0.005218505859375, -0.0079345703125, 0.036865234375, 0.00836181640625, -0.0123291015625, -0.009033203125, 0.0267333984375, -0.0046081...
[ 15901, 2685, 2499, 4127, 563, 4904, 7986, 30391, 7, 32, 9, 175583, 1238, 3742, 100, 175399, 177953, 73372, 22968, 1884, 3714, 450, 831, 28875, 51727, 18151, 52080, 9902, 46480, 678, 18622, 4299, 68772, 221, 5045, 63134 ]
[ 0.031707763671875, 0.05230712890625, 0.0682373046875, 0.1099853515625, 0.1788330078125, 0.2470703125, 0.21875, 0.257080078125, 0.14794921875, 0.007049560546875, 0.00457763671875, 0.2158203125, 0.06878662109375, 0.018585205078125, 0.07196044921875, 0.0008544921875, 0.009674072265625, ...
embed
26161113_c0
26161113
fsharp
0
Title: How do I embed application manifest in F# application Problem title: How do I embed application manifest in F# application Tags: visual-studio-2013, f%23, .net, c%23-to-f%23 Problem: How do I embed application manifest in F# application How can I embed application manifest with my F# application? With C# project...
How do I embed application manifest in F# application How do I embed application manifest in F# application visual-studio-2013 f%23 .net c%23-to-f%23 How visual-studio-2013 How do I embed application manifest in F# application How can I embed application manifest with my F# application? With C# projects it can be speci...
[ 0.017578125, 0.0181884765625, -0.007568359375, -0.002166748046875, -0.002838134765625, 0.005615234375, -0.0037994384765625, 0.00726318359375, -0.01361083984375, -0.01507568359375, 0.01953125, -0.0267333984375, -0.003753662109375, 0.0233154296875, -0.003814697265625, 0.0159912109375, ...
[ 11249, 352, 13482, 38415, 24874, 23, 563, 4904, 54, 87, 21176, 52629, 74790, 1238, 3742, 1179, 188, 420, 831, 678, 77635, 58735, 183871, 21373, 13452 ]
[ 0.043792724609375, 0.120849609375, 0.246337890625, 0.17333984375, 0.275146484375, 0.0252685546875, 0.129638671875, 0.201171875, 0.003753662109375, 0.019744873046875, 0.1416015625, 0.14208984375, 0.133056640625, 0.0251007080078125, 0.000732421875, 0.06378173828125, 0.04656982421875, ...
embed
4308361_c0
4308361
fsharp
0
Title: Organise my mutual recursive types Problem title: Organise my mutual recursive types Tags: types, mutual-recursion, f%23 Problem: Organise my mutual recursive types Is it possible to have mutual recursive types ( [<Struct>] ) spread across different files? The types are directly under a namespace. My solution is...
Organise my mutual recursive types Organise my mutual recursive types types mutual-recursion f%23 Organise Struct Organise my mutual recursive types Is it possible to have mutual recursive types ( [<Struct>] ) spread across different files? The types are directly under a namespace. My solution is to put them in one big...
[ 0.0244140625, 0.0002040863037109375, -0.00897216796875, 0.02392578125, 0.005279541015625, 0.007720947265625, -0.0029754638671875, -0.00927734375, 0.008056640625, 0.0091552734375, -0.0103759765625, 0.009521484375, 0.0021514892578125, 0.0137939453125, 0.018798828125, 0.00946044921875, ...
[ 63917, 13, 759, 199849, 195625, 5844, 52895, 107, 48650, 1830, 1238, 3949, 3742, 63667, 15390, 442, 7722, 47, 765, 71713, 18190, 18, 1388, 93403, 36880, 12921, 102158, 105237, 1379, 210716, 29806, 3884, 2856, 1632, 6957, 11435, 4527, 10644, ...
[ 0.25244140625, 0.1097412109375, 0.127685546875, 0.2037353515625, 0.238525390625, 0.16943359375, 0.259521484375, 0.07464599609375, 0.18896484375, 0.027557373046875, 0.03070068359375, 0.03424072265625, 0.0853271484375, 0.15869140625, 0.06646728515625, 0.087646484375, 0.1641845703125, ...
embed
43415970_c0
43415970
fsharp
0
Title: How to support structurally-typed in a nominal-typed language? Problem title: How to support structurally-typed in a nominal-typed language? Tags: c%23, f%23, functional-programming, .net, ocaml Problem: How to support structurally-typed in a nominal-typed language? In F#, Nominative or Structural? , the answer ...
How to support structurally-typed in a nominal-typed language? How to support structurally-typed in a nominal-typed language? c%23 f%23 functional-programming .net ocaml How How to support structurally-typed in a nominal-typed language? In F#, Nominative or Structural? , the answer said that I can trick F# to work like...
[ 0.006622314453125, 0.0284423828125, 0.0036773681640625, 0.00396728515625, 0.0162353515625, 0.004150390625, -0.01190185546875, 0.002105712890625, -0.01055908203125, -0.0029754638671875, 0.004547119140625, -0.0101318359375, -0.0244140625, -0.025390625, 0.01214599609375, -0.00188446044921...
[ 11249, 8060, 118990, 12097, 50986, 71, 109650, 46876, 47, 3742, 1238, 123309, 28966, 1179, 36, 9779, 141, 9, 23, 563, 4904, 438, 1249, 45023, 707, 63667, 73317, 70, 831, 88308, 4488, 1884, 1829, 188768, 191619 ]
[ 0.0574951171875, 0.2247314453125, 0.2325439453125, 0.095703125, 0.1943359375, 0.0887451171875, 0.212158203125, 0.173828125, 0.03753662109375, 0.0340576171875, 0.002105712890625, 0.1119384765625, 0.063720703125, 0.07562255859375, 0.010711669921875, 0.05322265625, 0.04412841796875, 0...
embed
43485353_c0
43485353
fsharp
0
Title: module not found - even when in correct file order Problem title: module not found - even when in correct file order Tags: f%23 Problem: module not found - even when in correct file order I am working on an f# project for Android. I am somewhat familiar with both, but I am running into an issue where the compile...
module not found - even when in correct file order module not found - even when in correct file order f%23 module not found - even when in correct file order I am working on an f# project for Android. I am somewhat familiar with both, but I am running into an issue where the compiler seems to be unaware of my image hel...
[ 0.005340576171875, -0.006439208984375, -0.017578125, 0.0027923583984375, -0.00543212890625, 0.024658203125, 0.0103759765625, -0.0185546875, -0.005279541015625, -0.02001953125, 0.005828857421875, -0.01104736328125, 0.0137939453125, -0.0078125, 0.0240478515625, -0.024169921875, -0.0332...
[ 88996, 959, 14037, 3853, 3229, 23, 26785, 11435, 12989, 1238, 3949, 3742, 20697, 4904, 13452, 100, 3952, 208806, 16031, 15044, 51042, 31089, 9969, 34759, 37202, 220, 15876, 111, 759, 29569, 4358, 56, 272, 2886, 35166, 15400, 58269 ]
[ 0.2734375, 0.1446533203125, 0.1920166015625, 0.063232421875, 0.06243896484375, 0.074951171875, 0.165283203125, 0.1395263671875, 0.186279296875, 0.11328125, 0.050323486328125, 0.1783447265625, 0.05828857421875, 0.1556396484375, 0.053619384765625, 0.0020751953125, 0.1514892578125, 0....
embed
2880682_c0
2880682
fsharp
0
Title: Is F# a poor choice for a functional language Problem title: Is F# a poor choice for a functional language Tags: multithreading, f%23, erlang Problem: Is F# a poor choice for a functional language To me, I think F# is a bad choice due to the fact that it uses threads behind the scenes. To me, threads are too "he...
Is F# a poor choice for a functional language Is F# a poor choice for a functional language multithreading f%23 erlang Is F# a poor choice for a functional language To me, I think F# is a bad choice due to the fact that it uses threads behind the scenes. To me, threads are too "heavy" due to things like context switchi...
[ 0.007537841796875, -0.004302978515625, 0.0223388671875, -0.0035247802734375, -0.0208740234375, -0.01239013671875, -0.016845703125, -0.00008392333984375, -0.0086669921875, -0.03955078125, 0.00775146484375, 0.01708984375, -0.0004329681396484375, -0.016845703125, 0.010009765625, 0.0181884...
[ 2071, 563, 4904, 70425, 44126, 100, 123309, 46876, 10, 3869, 65847, 11, 1238, 3742, 72, 3066, 5351, 83, 6494, 4527, 86997, 50155, 28302, 621, 5792, 82463, 3033, 43701, 101089, 1004, 4127, 22729, 57888, 9433, 44691 ]
[ 0.021026611328125, 0.147216796875, 0.2347412109375, 0.187255859375, 0.1474609375, 0.0269775390625, 0.2171630859375, 0.17578125, 0.032958984375, 0.1240234375, 0.142333984375, 0.0292205810546875, 0.087158203125, 0.027740478515625, 0.07574462890625, 0.2568359375, 0.0296783447265625, 0...
embed
9945382_c0
9945382
fsharp
0
Title: Parse a text-string to F#-code Problem title: Parse a text-string to F#-code Tags: parsing, f%23, .net Problem: Parse a text-string to F#-code How do I take text-string, that is supposed to be F#-code, and parse it into F#-code, to print out the results on the screen? I'm guessing it would be solved through a fe...
Parse a text-string to F#-code Parse a text-string to F#-code parsing f%23 .net Parse Parse a text-string to F#-code How do I take text-string, that is supposed to be F#-code, and parse it into F#-code, to print out the results on the screen? I'm guessing it would be solved through a feature in .NET, so it can be done ...
[ 0.0089111328125, 0.0093994140625, -0.00555419921875, 0.0390625, 0.00445556640625, 0.0045166015625, -0.00148773193359375, -0.01177978515625, -0.003387451171875, -0.0245361328125, -0.007781982421875, 0.0064697265625, -0.0050048828125, 0.00872802734375, 0.01043701171875, 0.0106201171875, ...
[ 2392, 184, 10, 7986, 9, 91693, 47, 563, 4904, 40899, 366, 6953, 1238, 3949, 3742, 1179, 11249, 54, 5646, 134598, 136, 3934, 28412, 1810, 50339, 98, 49119, 57767, 186, 86869, 71, 60213, 5, 17777, 16940, 8305, 68034, 31895, 9790, 420, 892...
[ 0.138916015625, 0.1187744140625, 0.05242919921875, 0.19873046875, 0.048126220703125, 0.235595703125, 0.1390380859375, 0.1673583984375, 0.2158203125, 0.20751953125, 0.1541748046875, 0.0257720947265625, 0.1063232421875, 0.00701904296875, 0.146484375, 0.140625, 0.0052490234375, 0.0037...
embed
37331654_c0
37331654
fsharp
0
Title: What is the use of the F# :&gt; operator Problem title: What is the use of the F# :&gt; operator Tags: f%23 Problem: What is the use of the F# :> operator I have seen some code using the :> operator to accomplish something similar to type-casting in C# but even though I've searched a lot online I've seen no docu...
What is the use of the F# :&gt; operator What is the use of the F# :&gt; operator f%23 What What is the use of the F# :> operator I have seen some code using the :> operator to accomplish something similar to type-casting in C# but even though I've searched a lot online I've seen no documentation about it. What is that...
[ 0.0289306640625, 0.0036773681640625, 0.0140380859375, -0.00958251953125, -0.00396728515625, -0.00238037109375, 0.002410888671875, 0.0185546875, -0.00139617919921875, -0.0032958984375, 0.011474609375, -0.031005859375, 0.00183868408203125, 0.005645751953125, -0.00909423828125, -0.0180664...
[ 4865, 83, 70, 4527, 111, 563, 4904, 152, 1230, 5386, 39933, 1238, 3949, 3742, 2740, 18151, 17368, 47, 163846, 21373, 10644, 9, 55741, 214, 23, 313, 272, 209806, 442, 11814, 100, 4488 ]
[ 0.068359375, 0.07476806640625, 0.06610107421875, 0.1683349609375, 0.021514892578125, 0.143310546875, 0.208984375, 0.102783203125, 0.10498046875, 0.1494140625, 0.22998046875, 0.1500244140625, 0.04962158203125, 0.152587890625, 0.1519775390625, 0.042449951171875, 0.0782470703125, 0.00...
embed
946977_c0
946977
fsharp
0
Title: How do you return multiple values and assign them to mutable variables? Problem title: How do you return multiple values and assign them to mutable variables? Tags: f%23, mutable Problem: How do you return multiple values and assign them to mutable variables? This is what I have so far. let Swap (left : int , ri...
How do you return multiple values and assign them to mutable variables? How do you return multiple values and assign them to mutable variables? f%23 mutable How Swap How do you return multiple values and assign them to mutable variables? This is what I have so far.
[ 0.0084228515625, 0.0016937255859375, 0.002685546875, -0.0028228759765625, -0.0087890625, 0.0189208984375, -0.00958251953125, -0.001556396484375, 0.014404296875, 0.026611328125, 0.0164794921875, 0.01385498046875, 0.02587890625, 0.028564453125, 0.021728515625, -0.0003509521484375, 0.00...
[ 11249, 54, 30646, 48716, 142424, 136, 95486, 47, 842, 22819, 77336, 398, 1238, 3949, 3742, 43062, 254, 2856, 765, 2060 ]
[ 0.1002197265625, 0.05389404296875, 0.2362060546875, 0.2373046875, 0.220458984375, 0.08099365234375, 0.2313232421875, 0.1063232421875, 0.149169921875, 0.217529296875, 0.1885986328125, 0.005859375, 0.083251953125, 0.06982421875, 0.1602783203125, 0.2044677734375, 0.1519775390625, 0.00...
embed
1117302_c0
1117302
fsharp
0
Title: How to &quot;convert&quot; a Dictionary into a sequence in F#? Problem title: How to &quot;convert&quot; a Dictionary into a sequence in F#? Tags: key-value, f%23, dictionary, sequence Problem: How to "convert" a Dictionary into a sequence in F#? How do I "convert" a Dictionary into a sequence so that I can sort...
How to &quot;convert&quot; a Dictionary into a sequence in F#? How to &quot;convert&quot; a Dictionary into a sequence in F#? key-value f%23 dictionary sequence How Dictionary results.Add George Peter Jimmy John Seq.Sort Seq.iter How to "convert" a Dictionary into a sequence in F#? How do I "convert" a Dictionary into ...
[ 0.022216796875, 0.0016021728515625, -0.000644683837890625, -0.008056640625, -0.02001953125, -0.007781982421875, -0.003387451171875, -0.00189208984375, -0.00162506103515625, 0.01446533203125, -0.0027313232421875, 0.031494140625, -0.006561279296875, 0.0089111328125, 0.01544189453125, -0....
[ 11249, 47, 2271, 11549, 147638, 3934, 10, 40, 944, 3956, 23, 563, 4904, 74, 22799, 27494, 1238, 3949, 3742, 45, 10763, 6635, 50339, 4028, 14787, 7948, 113417, 4939, 503, 864, 158240, 16840, 58, 54, 12096, 390, 34292 ]
[ 0.06964111328125, 0.033172607421875, 0.04620361328125, 0.1451416015625, 0.26708984375, 0.1065673828125, 0.06121826171875, 0.0894775390625, 0.17138671875, 0.14111328125, 0.0285186767578125, 0.1312255859375, 0.2078857421875, 0.0264892578125, 0.1278076171875, 0.12060546875, 0.0745849609...
embed
53804393_c0
53804393
fsharp
0
Title: splitting a list into sorted sublists Problem title: splitting a list into sorted sublists Tags: f%23, list, sorting, split, subsequence Problem: splitting a list into sorted sublists I'm trying to split a list with ints into sublists with ascending values. as an example: [1;2;3;3;4] should go into [[1;2;3;3;4]]...
splitting a list into sorted sublists splitting a list into sorted sublists f%23 list sorting split subsequence splitting a list into sorted sublists I'm trying to split a list with ints into sublists with ascending values. as an example: [1;2;3;3;4] should go into [[1;2;3;3;4]] and a list [1;2;3;2;4;3;5] -> [[1;2;3],[...
[ -0.005401611328125, 0.0106201171875, 0.006927490234375, -0.01373291015625, -0.01806640625, 0.0181884765625, -0.01263427734375, -0.007476806640625, -0.0013275146484375, -0.012451171875, 0.00408935546875, 0.0081787109375, -0.007476806640625, 0.017822265625, 0.012451171875, 0.002532958984...
[ 65450, 1916, 5303, 3934, 17497, 71, 1614, 6562, 7, 10, 1238, 3949, 3742, 12096, 214, 184, 944, 87, 31577, 678, 23, 933, 82800, 142424, 27781, 74, 304, 363, 617, 5608, 738, 136, 758, 33079, 96386, 4, 8305, 46741, 195625, 1830, 26366, 3...
[ 0.239990234375, 0.0628662109375, 0.2181396484375, 0.176513671875, 0.2119140625, 0.1102294921875, 0.2093505859375, 0.23828125, 0.006072998046875, 0.0249786376953125, 0.0823974609375, 0.10662841796875, 0.1607666015625, 0.2037353515625, 0.0732421875, 0.08966064453125, 0.0894775390625, ...
embed
7603509_c0
7603509
fsharp
0
Title: Haskell syntax for &#x27;or&#x27; in case expressions Problem title: Haskell syntax for &#x27;or&#x27; in case expressions Tags: haskell, f%23, functional-programming Problem: Haskell syntax for 'or' in case expressions In F#, I can use | to group cases when pattern matching. For example, let rec factorial n = m...
Haskell syntax for &#x27;or&#x27; in case expressions Haskell syntax for &#x27;or&#x27; in case expressions haskell f%23 functional-programming Haskell Haskell syntax for 'or' in case expressions In F#, I can use | to group cases when pattern matching. For example, What's the Haskell syntax for the same?
[ -0.005584716796875, 0.0096435546875, 0.0023651123046875, -0.0167236328125, -0.00482177734375, -0.010009765625, -0.0218505859375, 0.0054931640625, 0.0003204345703125, -0.00946044921875, 0.0159912109375, 0.007080078125, 0.0064697265625, -0.013671875, -0.005889892578125, 0.003509521484375...
[ 20625, 142508, 6002, 86531, 3768, 748, 23, 7225, 125195, 1556, 3742, 123309, 28966, 563, 4904, 87, 831, 4527, 58745, 47, 21115, 50218, 3229, 103510, 14858, 100, 5701 ]
[ 0.1214599609375, 0.2364501953125, 0.127197265625, 0.1827392578125, 0.105224609375, 0.20947265625, 0.044769287109375, 0.2322998046875, 0.1959228515625, 0.1044921875, 0.03533935546875, 0.117919921875, 0.0767822265625, 0.05438232421875, 0.111328125, 0.00506591796875, 0.031707763671875, ...
embed
19528782_c0
19528782
fsharp
0
Title: Target named &#x27;Build&#x27; not found Problem title: Target named &#x27;Build&#x27; not found Tags: f%23, msbuild, .net, f%23-fake Problem: Target named 'Build' not found I'm trying to build simple F# console program, using FAKE build tool which include MSBuild tool, but I got the following: FSProject.fsproj:...
Target named &#x27;Build&#x27; not found Target named &#x27;Build&#x27; not found f%23 msbuild .net f%23-fake Target Build Target named 'Build' not found I'm trying to build simple F# console program, using FAKE build tool which include MSBuild tool, but I got the following: How can I resolve this? I'm using VS2013 and...
[ -0.0028076171875, 0.03955078125, 0.00347900390625, -0.001922607421875, 0.007476806640625, 0.00830078125, -0.0035858154296875, -0.0155029296875, 0.00750732421875, 0.0184326171875, -0.006378173828125, -0.00518798828125, 0.023193359375, 0.0133056640625, 0.0213623046875, 0.00494384765625, ...
[ 160017, 24, 4806, 3768, 121137, 959, 14037, 3742, 68163, 177149, 1179, 1238, 27495, 1021, 350, 31577, 45367, 8781, 563, 4904, 130250, 1528, 17368, 119960, 55516, 16265, 25632, 103608, 903, 44160, 7735, 6, 17777, 60061 ]
[ 0.283447265625, 0.049896240234375, 0.09869384765625, 0.0379638671875, 0.264404296875, 0.1075439453125, 0.1722412109375, 0.0087890625, 0.0797119140625, 0.25634765625, 0.1204833984375, 0.022491455078125, 0.059173583984375, 0.1636962890625, 0.00830078125, 0.030670166015625, 0.1746826171...
embed
23075134_c0
23075134
fsharp
0
Title: F# data access and EF migrations Problem title: F# data access and EF migrations Tags: entity-framework, entity-framework-migrations, f%23 Problem: F# data access and EF migrations I have been using F# for some time, and really liking it. I want to use type providers for data access, but would love to have entit...
F# data access and EF migrations F# data access and EF migrations entity-framework entity-framework-migrations f%23 F# data access and EF migrations I have been using F# for some time, and really liking it. I want to use type providers for data access, but would love to have entity framework migrations. Can I use EF mi...
[ 0.017822265625, 0.0013275146484375, 0.0047607421875, -0.0203857421875, 0.0037078857421875, 0.016357421875, -0.011474609375, -0.0006866455078125, -0.00469970703125, -0.03564453125, 0.01519775390625, 0.0125732421875, -0.004730224609375, -0.0026702880859375, 0.019287109375, -0.00476074218...
[ 563, 4904, 2053, 17203, 136, 51779, 212416, 77630, 939, 160328, 18244, 266, 5739, 5256, 1238, 3742, 7, 17368, 3060, 1733, 6183, 400, 6048, 3444, 4527, 10644, 81450, 1284, 2806, 5161, 765, 170846, 4171, 15490, 5885, 32562, 18151, 3535, 21973...
[ 0.1856689453125, 0.22412109375, 0.1162109375, 0.1455078125, 0.045013427734375, 0.258056640625, 0.2176513671875, 0.149169921875, 0.114013671875, 0.1517333984375, 0.09814453125, 0.09954833984375, 0.14013671875, 0.01593017578125, 0.0902099609375, 0.036346435546875, 0.0706787109375, 0....
embed
28251197_c0
28251197
fsharp
0
Title: Xml document GetElementsByTagName Problem title: Xml document GetElementsByTagName Tags: getelementsbytagname, xml, f%23 Problem: Xml document GetElementsByTagName Is there an F# equivalent for the following syntax? document.getElementsByTagName()[0] I am trying to pull back only one record for a tag with multip...
Xml document GetElementsByTagName Xml document GetElementsByTagName getelementsbytagname xml f%23 Xml GetElementsByTagName document.getElementsByTagName Xml document GetElementsByTagName Is there an F# equivalent for the following syntax? I am trying to pull back only one record for a tag with multiple elements and som...
[ 0.0216064453125, 0.01611328125, 0.0033721923828125, 0.0019989013671875, -0.006256103515625, 0.011474609375, -0.010498046875, -0.006744384765625, 0.01007080078125, -0.05615234375, 0.03857421875, -0.033935546875, -0.038818359375, -0.0155029296875, 0.0186767578125, -0.0146484375, -0.003...
[ 1193, 7237, 12937, 20779, 647, 19929, 75358, 66448, 163612, 2046, 62766, 71832, 156992, 282, 131492, 1238, 3949, 3742, 3794, 2685, 142, 563, 4904, 183234, 25632, 6002, 86531, 31577, 50065, 4420, 4734, 1632, 17164, 7909, 678, 48716, 80854, 280...
[ 0.0821533203125, 0.2109375, 0.1644287109375, 0.10345458984375, 0.0369873046875, 0.1954345703125, 0.1148681640625, 0.17724609375, 0.188232421875, 0.0643310546875, 0.1810302734375, 0.04852294921875, 0.0665283203125, 0.1287841796875, 0.237548828125, 0.0570068359375, 0.0292816162109375, ...
embed
5334450_c0
5334450
fsharp
0
Title: How do I see the type for operators in F# interactive? Problem title: How do I see the type for operators in F# interactive? Tags: f%23 Problem: How do I see the type for operators in F# interactive? I am trying to explore the type of operators such as :: in F# interactive. But I get these kinds of messages: Une...
How do I see the type for operators in F# interactive? How do I see the type for operators in F# interactive? f%23 How Unexpected Expected How do I see the type for operators in F# interactive? I am trying to explore the type of operators such as :: in F# interactive. But I get these kinds of messages: even if I surrou...
[ 0.015625, -0.0169677734375, 0.01275634765625, 0.0284423828125, -0.00165557861328125, 0.0084228515625, 0.005462646484375, 0.01275634765625, -0.01495361328125, -0.015869140625, 0.0137939453125, -0.0341796875, 0.026123046875, -0.013427734375, -0.0023345947265625, -0.01220703125, -0.0027...
[ 11249, 1957, 10644, 100, 39933, 7, 23, 563, 4904, 212398, 87, 1238, 3742, 992, 83613, 13, 89829, 60075, 70, 31577, 88898, 1984, 8562, 89914, 3853, 2174, 613, 67688, 678, 12, 6 ]
[ 0.032470703125, 0.121826171875, 0.215087890625, 0.0626220703125, 0.2021484375, 0.058563232421875, 0.04913330078125, 0.1314697265625, 0.1949462890625, 0.1688232421875, 0.01513671875, 0.08868408203125, 0.081298828125, 0.0232391357421875, 0.04913330078125, 0.03472900390625, 0.0358886718...
embed
8919006_c0
8919006
fsharp
0
Title: Infinite sequence with repeating elements Problem title: Infinite sequence with repeating elements Tags: f%23 Problem: Infinite sequence with repeating elements I need to create an infinite sequence containing a subsequence of elements which repeats infinitely. [1; 2; 3; 4; 1; 2; 3; 4; 1; 2; 3; 4; ...] So I wrot...
Infinite sequence with repeating elements Infinite sequence with repeating elements f%23 Infinite Infinite sequence with repeating elements I need to create an infinite sequence containing a subsequence of elements which repeats infinitely. So I wrote this: Is there a standard way (function) to do this?
[ 0.006622314453125, 0.0302734375, -0.019287109375, 0.01202392578125, -0.0103759765625, -0.0269775390625, 0.00144195556640625, -0.0033111572265625, 0.0024261474609375, -0.040771484375, 0.00482177734375, 0.037109375, -0.013427734375, 0.0147705078125, 0.0155029296875, 0.021240234375, 0.0...
[ 134322, 13, 40, 944, 3956, 678, 119140, 214, 80854, 1238, 3949, 3742, 87, 3871, 47, 28282, 54241, 70541, 1614, 184, 111, 3129, 7, 21286, 1061, 54397, 903, 2071, 2685, 10, 5570, 3917, 137175, 54 ]
[ 0.1981201171875, 0.0946044921875, 0.09710693359375, 0.1824951171875, 0.1373291015625, 0.123046875, 0.25830078125, 0.1141357421875, 0.200927734375, 0.09814453125, 0.093994140625, 0.14794921875, 0.021636962890625, 0.1322021484375, 0.01617431640625, 0.14892578125, 0.18310546875, 0.123...
embed
22290277_c0
22290277
fsharp
0
Title: F# transforming and aggregating a list of lists Problem title: F# transforming and aggregating a list of lists Tags: f%23 Problem: F# transforming and aggregating a list of lists I have the following set of data let results = [[true;false;true];[true;true;false];[false;false;false]] I want to turn it into let su...
F# transforming and aggregating a list of lists F# transforming and aggregating a list of lists f%23 F# transforming and aggregating a list of lists I have the following set of data I want to turn it into Is this something that can be done of the box? I was thinking the List.Collect but I can't get it to work. Thanks i...
[ 0.012939453125, 0.02001953125, 0.00958251953125, 0.00531005859375, -0.00958251953125, -0.01080322265625, -0.0031280517578125, -0.0052490234375, -0.0032196044921875, 0.0289306640625, -0.005096435546875, 0.004852294921875, 0.0052490234375, 0.0185546875, -0.0103759765625, -0.0086059570312...
[ 563, 4904, 27198, 214, 136, 197564, 5303, 111, 1238, 3949, 3742, 7, 87, 765, 70, 25632, 5423, 2053, 3444, 47, 15504, 442, 3934, 2071, 903, 9844, 831, 186, 16940, 16530, 47644, 32036, 5, 78457, 8996, 18, 1284, 2046, 4488, 22362, 129745 ]
[ 0.134765625, 0.215576171875, 0.22119140625, 0.04119873046875, 0.092529296875, 0.2236328125, 0.2432861328125, 0.1136474609375, 0.112548828125, 0.060211181640625, 0.1298828125, 0.061004638671875, 0.0242462158203125, 0.04815673828125, 0.031646728515625, 0.1160888671875, 0.103759765625, ...
embed
1138161_c0
1138161
fsharp
0
Title: Is there a builder for F# events? Problem title: Is there a builder for F# events? Tags: f%23, events Problem: Is there a builder for F# events? Events work much like sequences in F#. You can use sequence expressions with sequences. Is there a similar builder for events? I couldn't find it. If it doesn't exist, ...
Is there a builder for F# events? Is there a builder for F# events? f%23 events Is there a builder for F# events? Events work much like sequences in F#. You can use sequence expressions with sequences. Is there a similar builder for events? I couldn't find it. If it doesn't exist, then why not? (is it imposssible or no...
[ -0.00567626953125, 0.0252685546875, 0.01025390625, -0.0196533203125, -0.01226806640625, -0.0091552734375, 0.00750732421875, 0.00433349609375, 0.0016021728515625, -0.062255859375, -0.012451171875, 0.041015625, 0.018310546875, -0.00921630859375, 0.0155029296875, -0.00982666015625, -0.0...
[ 2071, 2685, 10, 45367, 56, 100, 563, 4904, 47353, 1238, 3949, 3742, 123560, 4488, 5045, 1884, 40, 26513, 5170, 831, 4527, 944, 3956, 125195, 678, 21373, 69427, 7413, 442, 22027, 32316, 15400, 35439, 7, 55356, 202319, 29479, 14373, 9790, 1...
[ 0.044219970703125, 0.0872802734375, 0.12451171875, 0.2298583984375, 0.2352294921875, 0.10498046875, 0.15478515625, 0.225830078125, 0.22509765625, 0.07696533203125, 0.068603515625, 0.155029296875, 0.2158203125, 0.10125732421875, 0.041748046875, 0.08154296875, 0.0701904296875, 0.1196...
embed
25112412_c0
25112412
fsharp
0
Title: F#, Import library, Visual Studio, offline. How?? Stanford NLP Problem title: F#, Import library, Visual Studio, offline. How?? Stanford NLP Tags: stanford-nlp, f%23 Problem: F#, Import library, Visual Studio, offline. How?? Stanford NLP F#/ Visual studio pros, please help! How to import libraries? Please just g...
F#, Import library, Visual Studio, offline. How?? Stanford NLP F#, Import library, Visual Studio, offline. How?? Stanford NLP stanford-nlp f%23 Visual Studio How Stanford NLP F#, Import library, Visual Studio, offline. How?? Stanford NLP F#/ Visual studio pros, please help! How to import libraries? Please just give me ...
[ -0.00140380859375, 0.00872802734375, 0.00421142578125, 0.016357421875, -0.0145263671875, 0.000926971435546875, 0.006591796875, 0.007171630859375, -0.01287841796875, 0.0007781982421875, 0.0021514892578125, -0.009765625, -0.0035858154296875, 0.017822265625, 0.0126953125, -0.0131225585937...
[ 563, 4904, 4, 92966, 35773, 1294, 73372, 22968, 96083, 11249, 4767, 221107, 541, 37352, 12007, 13534, 26775, 1238, 3742, 64, 12275, 38280, 22936, 4358, 47, 24927, 10484, 30607, 163, 27781, 79, 330, 5, 846, 1326, 41925, 765, 37842, 20600, ...
[ 0.152587890625, 0.221923828125, 0.00311279296875, 0.214599609375, 0.200439453125, 0.12060546875, 0.214599609375, 0.21044921875, 0.23388671875, 0.09912109375, 0.031402587890625, 0.199462890625, 0.07373046875, 0.2235107421875, 0.0186767578125, 0.0850830078125, 0.1273193359375, 0.0796...
embed
56898415_c0
56898415
fsharp
0
Title: F# charts from csv Problem title: F# charts from csv Tags: f%23, f%23-interactive Problem: F# charts from csv I am pulling the following dataset ( https://archive.ics.uci.edu/ml/datasets/energy+efficiency ) using F# but can't figure how to match the data , I have an input and a output in X2 and Y1 (column names)...
F# charts from csv F# charts from csv f%23 f%23-interactive csv F# charts from csv I am pulling the following dataset ( https://archive.ics.uci.edu/ml/datasets/energy+efficiency ) using F# but can't figure how to match the data , I have an input and a output in X2 and Y1 (column names) but i keep having issue putting t...
[ 0.00732421875, -0.004364013671875, -0.0033416748046875, 0.0030975341796875, 0.020263671875, 0.030517578125, -0.012451171875, -0.005950927734375, -0.005279541015625, 0.0028839111328125, -0.0172119140625, -0.030517578125, -0.0013275146484375, 0.00469970703125, 0.00110626220703125, -0.000...
[ 563, 4904, 116287, 7, 1295, 20763, 334, 1238, 3742, 27495, 10433, 71232, 50065, 25632, 2053, 3509, 147488, 28021, 36340, 15246, 39060, 3432, 4240, 11044, 33, 17368, 26366, 3642, 14858, 107730, 136, 140992, 1193, 304, 990, 418, 8447, 316, 12...
[ 0.1314697265625, 0.213134765625, 0.2366943359375, 0.04107666015625, 0.1248779296875, 0.1214599609375, 0.2421875, 0.0721435546875, 0.05950927734375, 0.039215087890625, 0.0638427734375, 0.072265625, 0.1016845703125, 0.01690673828125, 0.0863037109375, 0.0894775390625, 0.056182861328125,...
embed
28713005_c0
28713005
fsharp
0
Title: How to make a list of lists into single list F# Problem title: How to make a list of lists into single list F# Tags: f%23 Problem: How to make a list of lists into single list F# I have a list of lists LL = [[1;2;3];[4;5;6];[7;8;9]] And I would like it to look like this LSimple= [1;2;3;4;5;6;7;8;9] That's as sim...
How to make a list of lists into single list F# How to make a list of lists into single list F# f%23 How LSimple How to make a list of lists into single list F# I have a list of lists And I would like it to look like this That's as simple as I can ask it, but maybe rewording helps. How can I parse this lists of lists a...
[ -0.0019378662109375, 0.00010776519775390625, -0.005645751953125, -0.00016117095947265625, -0.004547119140625, 0.002410888671875, 0.004608154296875, -0.007568359375, 0.031005859375, -0.0079345703125, 0.01239013671875, -0.01312255859375, 0.0267333984375, 0.00167083740234375, -0.01818847656...
[ 11249, 47, 3249, 10, 5303, 111, 7, 3934, 11001, 563, 4904, 1238, 3742, 8859, 33209, 765, 2806, 1884, 6713, 903, 8781, 26458, 47416, 112397, 831, 366, 184, 28282, 1295 ]
[ 0.078369140625, 0.063232421875, 0.1298828125, 0.030914306640625, 0.2744140625, 0.129638671875, 0.1400146484375, 0.1683349609375, 0.2108154296875, 0.1080322265625, 0.1253662109375, 0.051025390625, 0.098388671875, 0.05804443359375, 0.0943603515625, 0.048980712890625, 0.03497314453125, ...
embed
2687617_c0
2687617
fsharp
0
Title: F# Implement list [] operator on a class? Problem title: F# Implement list [] operator on a class? Tags: operator-overloading, f%23 Problem: F# Implement list [] operator on a class? I have a custom class in F# and I want to implement the [] list operator such that let myClass = new myClassObj() let someVal = my...
F# Implement list [] operator on a class? F# Implement list [] operator on a class? operator-overloading f%23 Implement F# Implement list [] operator on a class? I have a custom class in F# and I want to implement the [] list operator such that I can't seem to find this on the web - I probably don't know the right term...
[ 0.01043701171875, 0.006591796875, 0.0113525390625, 0.00006866455078125, -0.00933837890625, -0.00787353515625, -0.004638671875, 0.01336669921875, 0.0115966796875, 0.001922607421875, 0.004913330078125, -0.01361083984375, 0.00421142578125, -0.023193359375, -0.011474609375, -0.02685546875,...
[ 563, 4904, 153941, 5303, 378, 268, 39933, 98, 10, 18507, 32, 5465, 63033, 214, 1238, 3949, 3742, 87, 114122, 23, 3444, 29479, 6044, 831, 18, 48903, 7413, 903, 70, 1467, 31895, 3714, 7108, 13579, 33938, 27, 129745 ]
[ 0.1663818359375, 0.23681640625, 0.27734375, 0.239990234375, 0.08233642578125, 0.050140380859375, 0.2529296875, 0.0987548828125, 0.0203704833984375, 0.19775390625, 0.056488037109375, 0.13134765625, 0.212646484375, 0.0548095703125, 0.1546630859375, 0.05499267578125, 0.1475830078125, ...
embed
30684460_c0
30684460
fsharp
0
Title: Tail Recursive Combinations Problem title: Tail Recursive Combinations Tags: f%23, tail-recursion Problem: Tail Recursive Combinations I have this code: let rec combinations acc listC = match listC with | [] -> acc | h::t -> let next = [h]::List.map (fun t -> h::t) acc @ acc combinations next t It looks tail rec...
Tail Recursive Combinations Tail Recursive Combinations f%23 tail-recursion Tail Recursive Combinations h::t List.map Tail Recursive Combinations I have this code: It looks tail recursive, but I keep getting stack overflows with it. Any ideas on how to make it work?
[ -0.01055908203125, 0.037353515625, 0.002655029296875, 0.02197265625, 0.014892578125, 0.01519775390625, -0.00885009765625, -0.00994873046875, 0.006927490234375, -0.0283203125, -0.00762939453125, -0.0004749298095703125, 0.01318359375, 0.0235595703125, 0.00634765625, 0.015869140625, -0....
[ 1218, 379, 853, 48650, 5844, 106935, 19, 1238, 3949, 3742, 46741, 107, 1830, 1096, 18, 32036, 62346, 21094, 765, 903, 18151, 33342, 195625, 1284, 13695, 20949, 177261, 645, 118664, 678, 25647, 3249, 4488 ]
[ 0.1715087890625, 0.186767578125, 0.09271240234375, 0.2003173828125, 0.15380859375, 0.18115234375, 0.1591796875, 0.083251953125, 0.0751953125, 0.1539306640625, 0.26416015625, 0.07391357421875, 0.045013427734375, 0.0877685546875, 0.058258056640625, 0.1680908203125, 0.1466064453125, 0...
embed
31636180_c0
31636180
fsharp
0
Title: Rewrite a function in a more functional way Problem title: Rewrite a function in a more functional way Tags: f%23 Problem: Rewrite a function in a more functional way I wrote this function which computes the palindrome of a number : let palindrome n = let mutable current = n let mutable result = 0 while(current ...
Rewrite a function in a more functional way Rewrite a function in a more functional way f%23 Rewrite Rewrite a function in a more functional way I wrote this function which computes the palindrome of a number : How can I rewrite it in a more functional way ?
[ -0.0250244140625, 0.0020599365234375, 0.0038909912109375, -0.00019741058349609375, 0.0157470703125, 0.01806640625, 0.0177001953125, 0.004852294921875, 0.00384521484375, -0.05224609375, 0.0260009765625, 0.01708984375, -0.00311279296875, 0.0159912109375, 0.01116943359375, 0.0042114257812...
[ 853, 434, 18781, 32354, 23, 10, 1286, 123309, 3917, 1238, 3949, 3742, 54397, 903, 375, 7077, 17923, 19, 102851, 111, 14012, 11249, 831, 87, 456, 442 ]
[ 0.140380859375, 0.190673828125, 0.251708984375, 0.2354736328125, 0.107421875, 0.06787109375, 0.1766357421875, 0.2196044921875, 0.1300048828125, 0.0667724609375, 0.08038330078125, 0.154296875, 0.1278076171875, 0.0367431640625, 0.0408935546875, 0.134033203125, 0.1429443359375, 0.0784...
embed
10178706_c0
10178706
fsharp
0
Title: Infinite main loop in F# Problem title: Infinite main loop in F# Tags: design-patterns, f%23, functional-programming Problem: Infinite main loop in F# A usual pattern for CLI application is to run in infinite loop, until user types some quit command. Like, in C language: while(1){ scanf("%c", &op); ... else if(o...
Infinite main loop in F# Infinite main loop in F# design-patterns f%23 functional-programming Infinite Infinite main loop in F# A usual pattern for CLI application is to run in infinite loop, until user types some quit command. Like, in C language: What would be the pattern for such console application in F# (tried to ...
[ 0.0157470703125, -0.007598876953125, 0.01385498046875, 0.0037078857421875, -0.0023345947265625, -0.01519775390625, 0.013671875, -0.0004215240478515625, 0.0033111572265625, -0.03466796875, 0.0184326171875, -0.00567626953125, 0.0048828125, 0.006378173828125, 0.0211181640625, 0.0147094726...
[ 134322, 13, 5201, 40956, 563, 4904, 23, 4331, 4453, 22766, 1238, 3949, 3742, 123309, 28966, 115723, 103510, 100, 313, 10927, 38415, 83, 47, 11675, 54241, 24189, 38937, 52895, 569, 18, 75101, 46876, 2806, 6044, 130250, 46572, 4527, 46741, 19...
[ 0.1685791015625, 0.10113525390625, 0.1158447265625, 0.23876953125, 0.1419677734375, 0.2296142578125, 0.08294677734375, 0.1126708984375, 0.06292724609375, 0.06732177734375, 0.0767822265625, 0.0142059326171875, 0.07305908203125, 0.11376953125, 0.06439208984375, 0.127197265625, 0.219482...
embed
49820963_c0
49820963
fsharp
0
Title: FSharp.Data.Toolbox.Twitter truncates Text to 140 characters Problem title: FSharp.Data.Toolbox.Twitter truncates Text to 140 characters Tags: twitter, f%23, f%23-data Problem: FSharp.Data.Toolbox.Twitter truncates Text to 140 characters F#'s type provider for Twitter doesn't seem to have been updated to account...
FSharp.Data.Toolbox.Twitter truncates Text to 140 characters FSharp.Data.Toolbox.Twitter truncates Text to 140 characters twitter f%23 f%23-data FSharp.Data.Toolbox.Twitter Text FSharp.Data.Toolbox.Twitter truncates Text to 140 characters F#'s type provider for Twitter doesn't seem to have been updated to account for t...
[ 0.032958984375, 0.0140380859375, 0.00970458984375, 0.017333984375, -0.0107421875, -0.00897216796875, 0.0125732421875, 0.000743865966796875, -0.005218505859375, -0.00213623046875, 0.00110626220703125, -0.007781982421875, 0.000576019287109375, -0.038330078125, 0.0439453125, 0.01251220703...
[ 93774, 3467, 254, 137989, 186490, 11728, 75691, 14617, 16336, 1636, 24129, 47, 12664, 124850, 34776, 1238, 3742, 27495, 10135, 5, 563, 4904, 10644, 81450, 3610, 18, 48903, 150011, 15426, 150679, 49686, 62816, 17475, 35672, 107419, 4488, 67688, ...
[ 0.07232666015625, 0.164306640625, 0.1748046875, 0.107177734375, 0.1148681640625, 0.1339111328125, 0.2208251953125, 0.1478271484375, 0.14501953125, 0.03265380859375, 0.201416015625, 0.1080322265625, 0.2420654296875, 0.16064453125, 0.1920166015625, 0.0531005859375, 0.0792236328125, 0...
embed
33816202_c0
33816202
fsharp
0
Title: Unable to perform basic arithmetic Problem title: Unable to perform basic arithmetic Tags: f%23 Problem: Unable to perform basic arithmetic In F#, I receive an error when I write the following code: let records = {1..100} let middleElement= records |> Seq.length / 2 The type 'int' does not match the type ''a -> ...
Unable to perform basic arithmetic Unable to perform basic arithmetic f%23 Unable Seq.length Unable to perform basic arithmetic In F#, I receive an error when I write the following code: I know this error is basic. But I'm new to F# and really don't know what I need to do to resolve this error.
[ -0.007415771484375, 0.0240478515625, 0.0031280517578125, -0.0037384033203125, 0.004180908203125, 0.006103515625, -0.0030364990234375, 0.0191650390625, 0.002685546875, -0.025146484375, -0.0069580078125, 0.004058837890625, 0.0142822265625, 0.022216796875, 0.0185546875, -0.031982421875, ...
[ 992, 2886, 47, 51339, 62822, 187, 8962, 282, 9523, 1238, 3949, 3742, 503, 864, 23986, 360, 563, 4904, 53299, 18499, 3229, 87, 33022, 70, 25632, 18151, 3714, 903, 4966, 39, 3525, 6183, 2301, 18, 3871, 103608 ]
[ 0.0966796875, 0.2144775390625, 0.07574462890625, 0.1839599609375, 0.2109375, 0.048187255859375, 0.1387939453125, 0.05987548828125, 0.034637451171875, 0.1099853515625, 0.058929443359375, 0.16259765625, 0.0966796875, 0.133544921875, 0.128173828125, 0.006591796875, 0.105712890625, 0.2...
embed
2371198_c0
2371198
fsharp
0
Title: F#/JavaScript tool? Problem title: F#/JavaScript tool? Tags: f%23, javascript Problem: F#/JavaScript tool? At a UG meeting I heard about a tool called "web sharper" or "web sharpener" or something like that which is supposed to make it easy to generate JavaScript from F#. Functional JavaScript or something like ...
F#/JavaScript tool? F#/JavaScript tool? f%23 javascript JavaScript F#/JavaScript tool? At a UG meeting I heard about a tool called "web sharper" or "web sharpener" or something like that which is supposed to make it easy to generate JavaScript from F#. Functional JavaScript or something like that. Unfortunately, I seem...
[ -0.005706787109375, 0.027099609375, -0.01214599609375, -0.0299072265625, -0.006256103515625, 0.0027618408203125, -0.0079345703125, 0.01397705078125, -0.0036773681640625, -0.018798828125, 0.00148773193359375, 0.0162353515625, -0.0048828125, 0.018310546875, 0.02587890625, -0.00341796875,...
[ 563, 4904, 64, 156202, 147845, 55516, 32, 1238, 3949, 3742, 136951, 17925, 53013, 41714, 49782, 1672, 10, 35839, 14051, 189173, 56, 39060, 134598, 3249, 23468, 139392, 1295, 28670, 10763, 185397, 70, 9351, 44691, 53418, 7413, 3714, 3126 ]
[ 0.15771484375, 0.2041015625, 0.1124267578125, 0.1527099609375, 0.2060546875, 0.250244140625, 0.033660888671875, 0.126220703125, 0.0462646484375, 0.113037109375, 0.2451171875, 0.2415771484375, 0.11376953125, 0.1021728515625, 0.0924072265625, 0.061859130859375, 0.0762939453125, 0.042...
embed
36780574_c0
36780574
fsharp
0
Title: F# Equivalent of Python range Problem title: F# Equivalent of Python range Tags: f%23, python Problem: F# Equivalent of Python range I've started learning F#, and one thing I've run into is I don't know any way to express the equivalent of the range function in Python. I know [1..12] is the equivalent of range(1...
F# Equivalent of Python range F# Equivalent of Python range f%23 python Equivalent Python F# Equivalent of Python range I've started learning F#, and one thing I've run into is I don't know any way to express the equivalent of the range function in Python. I know [1..12] is the equivalent of range(1,13). But what I wan...
[ -0.01336669921875, 0.02197265625, 0.01458740234375, -0.00121307373046875, -0.002838134765625, 0.004241943359375, 0.000583648681640625, -0.00701904296875, -0.007232666015625, -0.005401611328125, 0.007781982421875, 0.01708984375, 0.0189208984375, 0.0035400390625, 0.012939453125, -0.00787...
[ 563, 4904, 145666, 85540, 111, 145581, 37457, 1238, 3949, 3742, 17198, 50828, 26859, 52080, 11675, 3934, 3714, 3917, 36510, 183234, 32354, 23, 68252, 5, 1530, 4, 63258, 3444, 19048, 86827, 387, 4958, 20625, 142508, 1556, 92714, 2947, 903 ]
[ 0.1453857421875, 0.2171630859375, 0.1309814453125, 0.1802978515625, 0.0814208984375, 0.266845703125, 0.2509765625, 0.13330078125, 0.087646484375, 0.1981201171875, 0.1165771484375, 0.087158203125, 0.002410888671875, 0.07000732421875, 0.0155487060546875, 0.00201416015625, 0.04217529296...
embed
34885716_c0
34885716
fsharp
0
Title: Why are MonoGame&#x27;s Rectangle class fields immutable in F#? Problem title: Why are MonoGame&#x27;s Rectangle class fields immutable in F#? Tags: f%23, monogame Problem: Why are MonoGame's Rectangle class fields immutable in F#? let rect = new Rectangle(x, y, sprite.Width, sprite.Height) rect.X <- 888 The sec...
Why are MonoGame&#x27;s Rectangle class fields immutable in F#? Why are MonoGame&#x27;s Rectangle class fields immutable in F#? f%23 monogame Why MonoGame Rectangle sprite.Width sprite.Height rect.X Why are MonoGame's Rectangle class fields immutable in F#? The second line fails in F#, but in C# the assignment works. I...
[ -0.00799560546875, 0.00946044921875, 0.0220947265625, 0.010986328125, 0.0103759765625, 0.0032806396484375, -0.007598876953125, -0.011962890625, 0.007171630859375, 0.0458984375, 0.006072998046875, 0.022705078125, 0.0032196044921875, -0.0074462890625, 0.0087890625, -0.005401611328125, ...
[ 44084, 621, 77879, 107576, 3768, 48224, 14525, 133, 18507, 44457, 566, 561, 22819, 23, 563, 4904, 7, 1238, 3742, 22460, 35311, 40988, 67, 532, 13025, 22553, 173247, 1542, 17932, 13315, 35782, 313, 95486, 674, 43240, 15400 ]
[ 0.1075439453125, 0.0149383544921875, 0.1953125, 0.205810546875, 0.039306640625, 0.0648193359375, 0.1644287109375, 0.1163330078125, 0.15087890625, 0.23388671875, 0.0657958984375, 0.13671875, 0.1265869140625, 0.03826904296875, 0.1099853515625, 0.180419921875, 0.0219573974609375, 0.02...
embed
7462694_c0
7462694
fsharp
0
Title: F# Type Providers and REST apis Problem title: F# Type Providers and REST apis Tags: f%23-3.0, f%23, type-providers Problem: F# Type Providers and REST apis Is there any reason why the default plug and play F# type providers to web services is soap based wsdl? Is it because of a lack of formal contracts in REST?...
F# Type Providers and REST apis F# Type Providers and REST apis f%23-3.0 f%23 type-providers Type Providers REST F# Type Providers and REST apis Is there any reason why the default plug and play F# type providers to web services is soap based wsdl? Is it because of a lack of formal contracts in REST? Such that each RES...
[ -0.00543212890625, 0.01434326171875, 0.0033416748046875, 0.0004291534423828125, -0.004425048828125, 0.017333984375, -0.00982666015625, -0.00469970703125, -0.006866455078125, -0.00035858154296875, 0.00567626953125, 0.0101318359375, -0.006622314453125, 0.005157470703125, 0.01141357421875, ...
[ 563, 4904, 60457, 123089, 4295, 136, 627, 21828, 10, 4994, 1238, 27495, 132265, 3742, 10644, 93136, 2499, 31635, 15400, 114977, 76329, 11301, 81450, 7, 47, 1467, 11374, 83, 221, 2631, 35509, 148, 20469, 92635, 23113, 18264, 31470, 129927, 2...
[ 0.115234375, 0.2088623046875, 0.199951171875, 0.1995849609375, 0.0225830078125, 0.083984375, 0.060546875, 0.1810302734375, 0.012176513671875, 0.167724609375, 0.07269287109375, 0.059906005859375, 0.13671875, 0.046234130859375, 0.1695556640625, 0.17529296875, 0.00469970703125, 0.0900...
embed
13902788_c1
13902788
fsharp
1
11 CTP of F# 2.0.0.0 from http://www.microsoft.com/en-us/download/details.aspx?id=11100 and use the install-mono.sh script. What does the error mean and how do I fix it? Code signals: System.TypeLoadException, F#, assembly, How, fslex.exe, PowerPack, Mac, Library, Frameworks, Mono.framework, Versions, FSharpPowerPack-2...
11 CTP of F# 2.0.0.0 from http://www.microsoft.com/en-us/download/details.aspx?id=11100 and use the install-mono.sh script. What does the error mean and how do I fix it? Code signals: System.TypeLoadException, F#, assembly, How, fslex.exe, PowerPack, Mac, Library, Frameworks, Mono.framework, Versions, FSharpPowerPack-2...
[ 0.00384521484375, 0.01318359375, -0.00457763671875, 0.0244140625, 0.006866455078125, 0.01287841796875, 0.0213623046875, -0.026123046875, -0.0186767578125, -0.0086669921875, 0.006622314453125, 0.0034637451171875, -0.0009765625, -0.000865936279296875, 0.01300048828125, -0.0052490234375, ...
[ 534, 23658, 111, 563, 4904, 16655, 99929, 138410, 61754, 119514, 1662, 3559, 4527, 20600, 64176, 1495, 26499, 18499, 29459, 30022, 28864, 26073, 12353, 196707, 15363, 712, 19279, 63928, 89845, 38526, 11249, 1238, 7, 74070, 46480, 17170, 205956,...
[ 0.1934814453125, 0.1854248046875, 0.001373291015625, 0.1370849609375, 0.22265625, 0.1732177734375, 0.1849365234375, 0.09686279296875, 0.08807373046875, 0.0288543701171875, 0.0242919921875, 0.068359375, 0.042236328125, 0.188720703125, 0.26611328125, 0.1326904296875, 0.1219482421875, ...
embed