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
64721872_c0
64721872
fsharp
0
Title: Why does F# find an error in my last line "disp" function? Problem title: Why does F# find an error in my last line "disp" function? Tags: f%23 Problem: Why does F# find an error in my last line "disp" function? let disp xs (d:float) = match xs with | [] -> ' ' // return the space char | (a,b...
Why does F# find an error in my last line "disp" function? Why does F# find an error in my last line "disp" function? f%23 Why d:float Found Why does F# find an error in my last line "disp" function?
[ 0.001739501953125, -0.0016326904296875, 0.01251220703125, -0.01416015625, 0.0135498046875, 0.002471923828125, 0.00750732421875, -0.0146484375, 0.0167236328125, 0.04052734375, 0.025634765625, -0.023193359375, 0.0026092529296875, -0.042724609375, -0.0155029296875, -0.00019073486328125, ...
[ 44084, 14602, 563, 4904, 7413, 18499, 23, 4568, 13315, 3827, 254, 41502, 32354, 1230, 1238, 3742, 104, 12, 52347, 257, 215624 ]
[ 0.1015625, 0.00885009765625, 0.135009765625, 0.21484375, 0.1156005859375, 0.1947021484375, 0.0693359375, 0.165771484375, 0.1231689453125, 0.13720703125, 0.1622314453125, 0.0232391357421875, 0.1551513671875, 0.00537109375, 0.06781005859375, 0.06500244140625, 0.063720703125, 0.031494...
embed
2367733_c0
2367733
fsharp
0
Title: F# how to append/join array2D and combine 1D arrays to array2D Problem title: F# how to append/join array2D and combine 1D arrays to array2D Tags: f%23 Problem: F# how to append/join array2D and combine 1D arrays to array2D in F#, array.append can join two arrays; is there a way to append 2 array2D objects into ...
F# how to append/join array2D and combine 1D arrays to array2D F# how to append/join array2D and combine 1D arrays to array2D f%23 array2D F# how to append/join array2D and combine 1D arrays to array2D in F#, array.append can join two arrays; is there a way to append 2 array2D objects into one or column-wise join sever...
[ 0.0032196044921875, 0.007293701171875, -0.01434326171875, 0.003997802734375, 0.000518798828125, 0.00170135498046875, -0.002960205078125, 0.0303955078125, 0.02734375, 0.0216064453125, -0.003997802734375, 0.015869140625, 0.004608154296875, -0.02294921875, -0.007781982421875, -0.005950927...
[ 563, 4904, 3642, 114689, 71, 64, 513, 73, 10298, 53, 304, 397, 70163, 106, 4778, 47, 1238, 3742, 9007, 3611, 831, 33284, 6626, 3917, 116, 36746, 3934, 1632, 316, 90825, 40368, 4317 ]
[ 0.1029052734375, 0.1739501953125, 0.03338623046875, 0.1798095703125, 0.08935546875, 0.0256805419921875, 0.134765625, 0.05303955078125, 0.1424560546875, 0.06982421875, 0.118408203125, 0.1544189453125, 0.1622314453125, 0.05340576171875, 0.10650634765625, 0.02520751953125, 0.06219482421...
embed
60782123_c0
60782123
fsharp
0
Title: F# combine float list to a float Problem title: F# combine float list to a float Tags: f%23 Problem: F# combine float list to a float I'm new to F# and I'm struggling to figure out how I could combine the numbers in a float list to a float. If I have the list let floatList = [ 9.0; 8.0; 3.0 ] I would like a func...
F# combine float list to a float F# combine float list to a float f%23 F# combine float list to a float I'm new to F# and I'm struggling to figure out how I could combine the numbers in a float list to a float. If I have the list let floatList = [ 9.0; 8.0; 3.0 ] I would like a function where the return value is a floa...
[ -0.00015926361083984375, 0.0133056640625, -0.004913330078125, 0.01422119140625, 0.005401611328125, 0.01153564453125, -0.0025787353515625, 0.004791259765625, -0.00543212890625, 0, -0.004241943359375, -0.007476806640625, 0.011474609375, 0.00799560546875, -0.0166015625, -0.004486083984375...
[ 563, 4904, 70163, 21917, 257, 5303, 47, 10, 1238, 3949, 3742, 3525, 237875, 26366, 3642, 5809, 101935, 2633, 154663, 3569, 2389, 74, 3217, 17596, 2806, 1884, 32354, 30646, 34292, 16193, 132265, 1672, 2967 ]
[ 0.1419677734375, 0.1978759765625, 0.2138671875, 0.2154541015625, 0.1734619140625, 0.2310791015625, 0.1021728515625, 0.065673828125, 0.1121826171875, 0.06378173828125, 0.1680908203125, 0.058319091796875, 0.06982421875, 0.057769775390625, 0.0252532958984375, 0.03948974609375, 0.1506347...
embed
52908405_c0
52908405
fsharp
0
Title: f# Number of elements in the set? Problem title: f# Number of elements in the set? Tags: f%23 Problem: f# Number of elements in the set? I am trying to get the number of elements in the set, I am getting errors while compiling the following code, can someone please help me fix it: let rec size S = match S with |...
f# Number of elements in the set? f# Number of elements in the set? f%23 Number e::rest S.length f# Number of elements in the set? I am trying to get the number of elements in the set, I am getting errors while compiling the following code, can someone please help me fix it:
[ 0.00170135498046875, 0.0179443359375, 0.017822265625, 0.005828857421875, 0.000530242919921875, -0.01123046875, -0.00848388671875, 0.0001697540283203125, 0.01531982421875, -0.0059814453125, 0.015869140625, 0.010009765625, 0.007232666015625, -0.00103759765625, 0.021484375, 0.007141113281...
[ 1238, 4904, 103332, 111, 80854, 23, 70, 5423, 32, 3949, 3742, 28, 56644, 159, 23986, 87, 31577, 47, 2046, 14012, 20949, 18499, 7, 9969, 49725, 25632, 18151, 831, 22008, 22936, 4358, 30022 ]
[ 0.13037109375, 0.1519775390625, 0.1590576171875, 0.0916748046875, 0.23876953125, 0.1240234375, 0.014190673828125, 0.2457275390625, 0.0384521484375, 0.025543212890625, 0.1597900390625, 0.09259033203125, 0.193603515625, 0.0718994140625, 0.0731201171875, 0.0108642578125, 0.0675659179687...
embed
6340399_c0
6340399
fsharp
0
Title: F# scripting: Add new directory via #I Problem title: F# scripting: Add new directory via #I Tags: f%23, f%23-scripting Problem: F# scripting: Add new directory via #I How could I make this work? #I (__SOURCE_DIRECTORY__ + @"\bin\Release") And second questions. Is it possible to do something like: let path = __S...
F# scripting: Add new directory via #I F# scripting: Add new directory via #I f%23 f%23-scripting Add __SOURCE_DIRECTORY__ Release F# scripting: Add new directory via #I How could I make this work? And second questions. Is it possible to do something like: ?
[ -0.0162353515625, -0.002838134765625, -0.0023040771484375, 0.02099609375, -0.0133056640625, 0.01031494140625, -0.01434326171875, 0.010498046875, -0.000885009765625, -0.03955078125, 0.018310546875, 0.00150299072265625, -0.00090789794921875, 0.007476806640625, 0.02392578125, -0.000984191...
[ 563, 4904, 26499, 214, 12, 29117, 3525, 14364, 53, 1829, 468, 568, 1238, 3742, 167218, 27495, 32032, 5953, 294, 76234, 10854, 123237, 16546, 208230, 152590, 11249, 5809, 3249, 903, 4488, 17932, 17582, 7722, 54, 1884 ]
[ 0.139404296875, 0.219970703125, 0.2164306640625, 0.1180419921875, 0.044952392578125, 0.1761474609375, 0.147216796875, 0.1986083984375, 0.13720703125, 0.1539306640625, 0.080078125, 0.1944580078125, 0.1097412109375, 0.07513427734375, 0.013763427734375, 0.1065673828125, 0.195556640625, ...
embed
44066_c0
44066
fsharp
0
Title: Pass functions in F# Problem title: Pass functions in F# Tags: functional-programming, f%23, lambda Problem: Pass functions in F# Is it possible to pass a reference to a function to another function in F#? Specifically, I'd like to pass lambda functions like foo(fun x -> x ** 3) More specifically, I need to know...
Pass functions in F# Pass functions in F# functional-programming f%23 lambda Pass Pass functions in F# Is it possible to pass a reference to a function to another function in F#? Specifically, I'd like to pass lambda functions like foo(fun x -> x ** 3) More specifically, I need to know how I would refer to the passed f...
[ 0.0162353515625, 0.020751953125, -0.0067138671875, -0.011962890625, 0.002716064453125, -0.0228271484375, -0.009033203125, 0.007598876953125, 0.0125732421875, -0.03759765625, 0.00628662109375, 0.01153564453125, -0.0140380859375, 0.030517578125, 0.007659912109375, 0.00007915496826171875,...
[ 28872, 32354, 7, 23, 563, 4904, 123309, 28966, 1238, 3949, 3742, 21, 6492, 85, 2071, 442, 7722, 47, 27875, 10, 91067, 15700, 1884, 5775, 31, 132, 16498, 1022, 33079, 16459, 8439, 183037, 3714, 3642, 15005, 115081, 87, 54397, 35978 ]
[ 0.2069091796875, 0.2452392578125, 0.028411865234375, 0.0966796875, 0.1605224609375, 0.239990234375, 0.139404296875, 0.07696533203125, 0.087890625, 0.026275634765625, 0.1209716796875, 0.068115234375, 0.163818359375, 0.1220703125, 0.000457763671875, 0.05841064453125, 0.154052734375, ...
embed
52130842_c0
52130842
fsharp
0
Title: Is this async pipelining operator ok Problem title: Is this async pipelining operator ok Tags: asynchronous, f%23, pipeline Problem: Is this async pipelining operator ok What if we define a |>! operator like so: let (|>!) a f = async { let! r = a return f r } Then instead of writing let! r = fetchAsync() work r ...
Is this async pipelining operator ok Is this async pipelining operator ok asynchronous f%23 pipeline Is this async pipelining operator ok What if we define a |>! operator like so: Then instead of writing we could write Is this a good idea or would it generate inefficient code?
[ 0.00093841552734375, -0.0023193359375, 0.0185546875, -0.0089111328125, -0.015869140625, -0.0152587890625, -0.00567626953125, -0.0054931640625, 0.007354736328125, -0.029296875, 0.006805419921875, 0.0341796875, 0.0228271484375, 0.00543212890625, 0.021728515625, -0.004058837890625, 0.00...
[ 2071, 903, 10, 12654, 238, 137158, 150, 592, 39933, 3664, 101966, 1238, 3949, 3742, 2256, 2174, 61924, 58745, 2740, 38, 1884, 221, 64457, 32562, 5809, 33022, 4127, 6528, 707, 2806, 139392, 24500, 45964, 18151 ]
[ 0.0706787109375, 0.1304931640625, 0.057769775390625, 0.212158203125, 0.1016845703125, 0.1849365234375, 0.1422119140625, 0.1181640625, 0.248779296875, 0.193115234375, 0.14599609375, 0.08489990234375, 0.0731201171875, 0.1947021484375, 0.162109375, 0.0278778076171875, 0.159912109375, ...
embed
5472422_c0
5472422
fsharp
0
Title: F# and OpenTK in Windows Forms Problem title: F# and OpenTK in Windows Forms Tags: visual-studio-2010, opentk, f%23 Problem: F# and OpenTK in Windows Forms Does anyone know a good tutorial of using F# and OpenTK in Windows Forms? These links I've already seen: http://fsxplat.codeplex.com/releases/view/55463 http...
F# and OpenTK in Windows Forms F# and OpenTK in Windows Forms visual-studio-2010 opentk f%23 OpenTK Windows Forms visual-studio-2010 F# and OpenTK in Windows Forms Does anyone know a good tutorial of using F# and OpenTK in Windows Forms? These links I've already seen: http://fsxplat.codeplex.com/releases/view/55463 htt...
[ 0.019775390625, 0.0098876953125, -0.0179443359375, -0.011962890625, 0.00897216796875, -0.0108642578125, -0.001373291015625, -0.0208740234375, -0.0169677734375, -0.039794921875, 0.01129150390625, -0.0286865234375, 0.01806640625, 0.01434326171875, -0.0093994140625, -0.007568359375, 0.0...
[ 563, 4904, 136, 13527, 29735, 23, 3773, 15236, 21176, 52629, 73552, 9803, 31472, 1238, 3742, 35672, 3714, 4127, 57143, 111, 17368, 22317, 21771, 51592, 17447, 425, 9189, 40899, 44974, 233707, 22751, 174333, 59636, 18949 ]
[ 0.1270751953125, 0.2315673828125, 0.123046875, 0.148681640625, 0.247314453125, 0.1007080078125, 0.159912109375, 0.2432861328125, 0.110595703125, 0.110107421875, 0.1202392578125, 0.09869384765625, 0.1566162109375, 0.061126708984375, 0.060516357421875, 0.0273895263671875, 0.04522705078...
embed
35716622_c0
35716622
fsharp
0
Title: F# pipe first parameter Problem title: F# pipe first parameter Tags: currying, f%23, pipe, parameters Problem: F# pipe first parameter is that possible to pipe the first parameter into a multiple parameter function? for example date = "20160301" Is that possible to pipe date into DateTime.ParseExact( , "yyyyMMDD...
F# pipe first parameter F# pipe first parameter currying f%23 pipe parameters DateTime.ParseExact CultureInfo.InvariantCulture F# pipe first parameter is that possible to pipe the first parameter into a multiple parameter function? for example Is that possible to pipe date into
[ -0.00732421875, -0.0218505859375, -0.0113525390625, 0.041748046875, -0.0184326171875, 0.00640869140625, -0.01165771484375, -0.001861572265625, 0.0029296875, -0.05078125, -0.00408935546875, 0.0228271484375, 0.022216796875, 0.0087890625, 0.00121307373046875, -0.0133056640625, 0.0032653...
[ 563, 4904, 137158, 5117, 171859, 198555, 214, 1238, 3949, 3742, 25512, 70059, 28636, 19279, 47013, 105141, 93147, 162591, 202, 83, 450, 7722, 47, 3934, 48716, 32354, 5622 ]
[ 0.138671875, 0.212890625, 0.2054443359375, 0.1370849609375, 0.238525390625, 0.16064453125, 0.006988525390625, 0.0533447265625, 0.03167724609375, 0.1356201171875, 0.0960693359375, 0.1317138671875, 0.054931640625, 0.0064697265625, 0.07196044921875, 0.12353515625, 0.08154296875, 0.151...
embed
37842353_c0
37842353
fsharp
0
Title: F# converting Array2D to array of arrays Problem title: F# converting Array2D to array of arrays Tags: f%23, multidimensional-array Problem: F# converting Array2D to array of arrays In F# is there a concise way of converting a float[,] to float[][]? In case this seems like a stupid thing to do it is so I can use...
F# converting Array2D to array of arrays F# converting Array2D to array of arrays f%23 multidimensional-array Array2D F# converting Array2D to array of arrays In F# is there a concise way of converting a float[,] to float[][]? In case this seems like a stupid thing to do it is so I can use Array.zip on the resulting ar...
[ 0.0137939453125, 0.0027618408203125, -0.008544921875, -0.00311279296875, -0.013671875, 0.01141357421875, -0.00494384765625, 0.00116729736328125, 0.0032196044921875, 0.0107421875, 0.0032958984375, 0.0155029296875, 0.00153350830078125, 0.01031494140625, 0.004150390625, -0.007537841796875...
[ 563, 4904, 96760, 69253, 53, 304, 397, 47, 10298, 111, 4778, 214, 1238, 3949, 3742, 6024, 157955, 19305, 2685, 10, 158, 318, 184, 3917, 21917, 257, 1065, 4, 29839, 7225, 37202, 1884, 110833, 831, 4527, 50836, 98, 16750, 4358, 77947 ]
[ 0.151611328125, 0.20556640625, 0.1778564453125, 0.154296875, 0.128662109375, 0.1248779296875, 0.1202392578125, 0.12158203125, 0.1561279296875, 0.1531982421875, 0.1187744140625, 0.07568359375, 0.106689453125, 0.014251708984375, 0.10888671875, 0.045379638671875, 0.09423828125, 0.1090...
embed
10253285_c0
10253285
fsharp
0
Title: How to define x++ (where x: int ref) in F#? Problem title: How to define x++ (where x: int ref) in F#? Tags: operators, f%23 Problem: How to define x++ (where x: int ref) in F#? I currently use this function let inc (i : int ref) = let res = !i i := res + 1 res to write things like let str = input.[inc index] Ho...
How to define x++ (where x: int ref) in F#? How to define x++ (where x: int ref) in F#? operators f%23 How How to define x++ (where x: int ref) in F#? I currently use this function to write things like How define increment operator ++, so that I could write
[ -0.00537109375, 0.00714111328125, 0.026611328125, 0.0106201171875, 0.0036468505859375, -0.01068115234375, 0.0091552734375, 0.0029144287109375, -0.006439208984375, -0.0146484375, 0.01275634765625, 0.00885009765625, 0.00124359130859375, 0.01708984375, 0.0301513671875, -0.0106201171875, ...
[ 11249, 47, 61924, 1022, 37223, 136913, 12, 23, 18, 18831, 563, 4904, 39933, 1238, 3949, 3742, 82424, 4527, 32354, 33022, 158661 ]
[ 0.054107666015625, 0.0292816162109375, 0.204833984375, 0.146728515625, 0.306884765625, 0.1220703125, 0.030242919921875, 0.1060791015625, 0.109375, 0.2568359375, 0.1185302734375, 0.201416015625, 0.1859130859375, 0.09326171875, 0.056427001953125, 0.1759033203125, 0.03399658203125, 0....
embed
55747141_c0
55747141
fsharp
0
Title: Does F# provide any map/dictionary that's not ordered? Problem title: Does F# provide any map/dictionary that's not ordered? Tags: f%23 Problem: Does F# provide any map/dictionary that's not ordered? I'm observing F#'s Map is always ordered based on its keys. Does F# provide any alternative to an order...
Does F# provide any map/dictionary that's not ordered? Does F# provide any map/dictionary that's not ordered? f%23 Does Does F# provide any map/dictionary that's not ordered? I'm observing F#'s Map is always ordered based on its keys. Does F# provide any alternative to an ordered dictionary? I wanted to ask b...
[ 0.00897216796875, 0.015869140625, 0.0118408203125, -0.031005859375, -0.0133056640625, -0.00799560546875, 0.007415771484375, -0.02099609375, -0.0023345947265625, 0.00970458984375, 0.01507568359375, 0.01904296875, 0.00286865234375, 0.00897216796875, 0.01409912109375, -0.00037765502929687...
[ 101790, 563, 4904, 22691, 2499, 22288, 64, 428, 10763, 6635, 450, 3768, 959, 12989, 297, 1238, 66339, 42719, 11343, 35509, 98, 6863, 22799, 30700, 47, 45, 26458, 313, 147638 ]
[ 0.024383544921875, 0.14990234375, 0.2244873046875, 0.09619140625, 0.033935546875, 0.180908203125, 0.035400390625, 0.0596923828125, 0.15087890625, 0.103515625, 0.03363037109375, 0.039337158203125, 0.1356201171875, 0.1986083984375, 0.1158447265625, 0.03338623046875, 0.045989990234375, ...
embed
66328359_c0
66328359
fsharp
0
Title: How to merge arrays in f# Problem title: How to merge arrays in f# Tags: f%23, c%23-to-f%23 Problem: How to merge arrays in f# Hav not find a method or func to join arrays, and the "@" and "+" operator not works is there any simple func or operator to do this like in js [...array1, element1, elment2] given let a...
How to merge arrays in f# How to merge arrays in f# f%23 c%23-to-f%23 How How to merge arrays in f# Hav not find a method or func to join arrays, and the "@" and "+" operator not works is there any simple func or operator to do this like in js [...array1, element1, elment2] given want
[ -0.004669189453125, 0.0166015625, 0.000164031982421875, 0.00982666015625, 0.0067138671875, -0.00860595703125, -0.023681640625, 0.00262451171875, -0.0002040863037109375, -0.0277099609375, 0.0006103515625, 0.016845703125, -0.001922607421875, 0.0062255859375, -0.0069580078125, -0.02722167...
[ 11249, 47, 42564, 10298, 4778, 23, 1238, 4904, 3742, 501, 27495, 188, 420, 34491, 959, 7413, 55300, 7477, 33284, 981, 136, 1328, 39933, 43240, 8781, 238, 54, 903, 1884, 1647, 7, 19305, 53, 418, 12830, 88, 674, 90173, 34475, 3444 ]
[ 0.0799560546875, 0.06512451171875, 0.26904296875, 0.220458984375, 0.216552734375, 0.091064453125, 0.164794921875, 0.2232666015625, 0.1380615234375, 0.0426025390625, 0.162353515625, 0.11376953125, 0.114013671875, 0.08026123046875, 0.049896240234375, 0.028839111328125, 0.0750732421875,...
embed
28179247_c0
28179247
fsharp
0
Title: How do multiple .. operators work in a for expression? Problem title: How do multiple .. operators work in a for expression? Tags: f%23 Problem: How do multiple .. operators work in a for expression? I'm new to F# and I had trouble searching for the .. operator. Can someone explain why this function works? let o...
How do multiple .. operators work in a for expression? How do multiple .. operators work in a for expression? f%23 How How do multiple .. operators work in a for expression? I'm new to F# and I had trouble searching for the .. operator. Can someone explain why this function works? How do multiple .. operators work?
[ 0.007354736328125, 0.004119873046875, 0.005828857421875, 0.004150390625, 0.0013427734375, 0.020263671875, 0.0166015625, 0.00628662109375, 0.006927490234375, -0.0052490234375, 0.00677490234375, -0.01068115234375, 0.0302734375, 0.0244140625, 0.000629425048828125, -0.00799560546875, 0.0...
[ 11249, 54, 48716, 1468, 39933, 7, 4488, 23, 100, 125195, 32, 10, 1238, 3949, 3742, 3525, 47, 563, 4904, 1902, 63134, 157318, 70, 4171, 22008, 73342, 15400, 903, 32354, 43240 ]
[ 0.1114501953125, 0.085205078125, 0.25244140625, 0.215087890625, 0.2626953125, 0.10308837890625, 0.1572265625, 0.0631103515625, 0.1683349609375, 0.19580078125, 0.0074462890625, 0.03045654296875, 0.1075439453125, 0.06207275390625, 0.1224365234375, 0.0288848876953125, 0.023529052734375,...
embed
69993951_c0
69993951
fsharp
0
Title: Why in F# you can write String.Join but not string.Join? Problem title: Why in F# you can write String.Join but not string.Join? Tags: f%23 Problem: Why in F# you can write String.Join but not string.Join? In C# you can write string.Join and String.Join . But in F# you cannot write string.Join but only String.Jo...
Why in F# you can write String.Join but not string.Join? Why in F# you can write String.Join but not string.Join? f%23 Why String.Join Why in F# you can write String.Join but not string.Join? In C# you can write string.Join and String.Join . But in F# you cannot write string.Join but only String.Join. Why is that? Is n...
[ -0.0262451171875, -0.0027618408203125, 0.00439453125, 0.00074005126953125, -0.0022430419921875, 0.003875732421875, 0.004974365234375, -0.005706787109375, 0.00982666015625, -0.001922607421875, -0.00531005859375, -0.01251220703125, 0.00592041015625, -0.0208740234375, 0.00994873046875, 0....
[ 44084, 23, 563, 4904, 831, 33022, 23351, 214, 5, 16604, 73, 1284, 959, 79315, 1238, 3949, 3742, 360, 313, 136, 53418, 4734, 10644, 55109, 645, 17777, 18507 ]
[ 0.09014892578125, 0.048126220703125, 0.151123046875, 0.1842041015625, 0.06610107421875, 0.1580810546875, 0.2149658203125, 0.171875, 0.0833740234375, 0.224365234375, 0.1712646484375, 0.053863525390625, 0.06103515625, 0.250732421875, 0.079833984375, 0.00201416015625, 0.08050537109375, ...
embed
4561084_c0
4561084
fsharp
0
Title: How can I read data faster? Problem title: How can I read data faster? Tags: f%23, f%23-data Problem: How can I read data faster? Hmmm... its kinda challenging to find a method for reading/writing data faster enough to get ACCEPTED in this problem ( https://www.spoj.pl/problems/INTEST/ ) using F# . My code ( htt...
How can I read data faster? How can I read data faster? f%23 f%23-data How How can I read data faster? Hmmm... its kinda challenging to find a method for reading/writing data faster enough to get ACCEPTED in this problem ( https://www.spoj.pl/problems/INTEST/ ) using F# . My code ( http://paste.ubuntu.com/548748/ ) get...
[ -0.01025390625, 0.011962890625, 0.0028076171875, -0.0299072265625, -0.002716064453125, -0.0257568359375, 0.0120849609375, -0.007080078125, -0.005126953125, -0.044677734375, 0.020751953125, -0.0142822265625, -0.021728515625, -0.01263427734375, 0.0098876953125, -0.0017242431640625, 0.0...
[ 11249, 831, 87, 12301, 2053, 4271, 56, 32, 1238, 3949, 3742, 167218, 27495, 10135, 164228, 27, 6863, 8562, 223920, 7413, 55300, 16454, 64, 199332, 20174, 2046, 12944, 136566, 66458, 2967, 26549, 2424, 38953, 59537, 21828, 17368, 563, 4904, ...
[ 0.1116943359375, 0.123291015625, 0.1055908203125, 0.247314453125, 0.2177734375, 0.1954345703125, 0.1922607421875, 0.03118896484375, 0.07965087890625, 0.03509521484375, 0.10223388671875, 0.0185089111328125, 0.08270263671875, 0.1337890625, 0.0684814453125, 0.02703857421875, 0.031036376...
embed
9565986_c0
9565986
fsharp
0
Title: Defining new keywords in F#'s computation expression Problem title: Defining new keywords in F#'s computation expression Tags: f%23-3.0, computation-expression, f%23, monads Problem: Defining new keywords in F#'s computation expression The F# 3.0 beta contains a query {} computation expression with ton...
Defining new keywords in F#'s computation expression Defining new keywords in F#'s computation expression f%23-3.0 computation-expression f%23 monads Defining Defining new keywords in F#'s computation expression The F# 3.0 beta contains a query {} computation expression with tons of new keywords. How can I de...
[ -0.001617431640625, 0.01263427734375, 0.0164794921875, 0.01080322265625, -0.0013427734375, 0.0123291015625, -0.0023040771484375, 0.00946044921875, 0.006927490234375, -0.01141357421875, -0.0203857421875, 0.00139617919921875, 0.011474609375, -0.00457763671875, 0.0107421875, 0.01544189453...
[ 88606, 449, 3525, 166117, 7, 23, 563, 4904, 3768, 181135, 125195, 1238, 27495, 132265, 204629, 3742, 2667, 712, 17596, 51703, 70541, 41, 1294, 1363, 124062, 831, 87, 61924, 759, 10002, 45367, 56 ]
[ 0.1739501953125, 0.0193939208984375, 0.16259765625, 0.2490234375, 0.1055908203125, 0.012542724609375, 0.1129150390625, 0.168212890625, 0.04241943359375, 0.158935546875, 0.175048828125, 0.074462890625, 0.041168212890625, 0.1390380859375, 0.1337890625, 0.0211029052734375, 0.08984375, ...
embed
41566014_c0
41566014
fsharp
0
Title: Function definition format Problem title: Function definition format Tags: f%23 Problem: Function definition format Please consider as example a simple function that calculate the average between two numbers. It can be defined in both those ways: let average = fun x y -> (x + y)/2 let average2 x y = (x + y)/2 Is...
Function definition format Function definition format f%23 average2 Function definition format Please consider as example a simple function that calculate the average between two numbers. It can be defined in both those ways: Is there any kind of implication in those formats? Is it just a matter of style?
[ 0.00994873046875, -0.00933837890625, -0.0002899169921875, 0.010498046875, 0.009033203125, -0.002410888671875, 0.01202392578125, -0.0037384033203125, 0.01019287109375, 0.010498046875, 0.0181884765625, -0.0220947265625, -0.025390625, -0.0162353515625, 0.02880859375, 0.02099609375, 0.01...
[ 28670, 10763, 80934, 9384, 1238, 3949, 3742, 83080, 304, 16916, 27781, 8781, 32354, 74481, 67, 17721, 6626, 101935, 1650, 831, 61924, 71, 15044, 48322, 17914, 1363, 26866, 20623 ]
[ 0.1644287109375, 0.118896484375, 0.188232421875, 0.3154296875, 0.09228515625, 0.08721923828125, 0.14208984375, 0.265869140625, 0.1500244140625, 0.03582763671875, 0.0938720703125, 0.0972900390625, 0.189453125, 0.1558837890625, 0.0247344970703125, 0.146240234375, 0.0628662109375, 0.1...
embed
19607746_c0
19607746
fsharp
0
Title: Verify p/invoke statically Problem title: Verify p/invoke statically Tags: clr, pinvoke, native, f%23, c%23 Problem: Verify p/invoke statically Is there a way to statically/against .h-files verify p/invoke so that one doesn't run up against runtime errors like 'a call to a native method unbalanced the stack'? Pr...
Verify p/invoke statically Verify p/invoke statically clr pinvoke native f%23 c%23 Verify Verify p/invoke statically Is there a way to statically/against .h-files verify p/invoke so that one doesn't run up against runtime errors like 'a call to a native method unbalanced the stack'? Preferrably it would be a way that i...
[ 0.006744384765625, 0.01556396484375, 0.01348876953125, 0.03369140625, -0.040283203125, 0.005218505859375, -0.0181884765625, -0.0118408203125, -0.00005221366882324219, -0.031982421875, -0.00115203857421875, -0.0203857421875, -0.001434326171875, 0.01483154296875, -0.005096435546875, 0.00...
[ 1446, 40383, 915, 64, 73, 23253, 13, 13254, 71407, 33139, 42, 6520, 24, 4935, 1238, 3742, 2685, 10, 3917, 47, 4729, 271, 5, 127, 29822, 493, 18, 11675, 26548, 6032, 18499, 11782, 55300, 51, 173212, 71, 177261, 176005, 41421, 172121, 448...
[ 0.205810546875, 0.2236328125, 0.143798828125, 0.1119384765625, 0.12109375, 0.2108154296875, 0.1455078125, 0.2147216796875, 0.1644287109375, 0.037109375, 0.1031494140625, 0.05426025390625, 0.114990234375, 0.1561279296875, 0.0692138671875, 0.0655517578125, 0.011688232421875, 0.034637...
embed
2841804_c0
2841804
fsharp
0
Title: something like a python's triple-quote in F# (or C#)? Problem title: something like a python's triple-quote in F# (or C#)? Tags: c%23, f%23, python, string Problem: something like a python's triple-quote in F# (or C#)? I want to assign a xml code into a string variable. I can do this without escaping s...
something like a python's triple-quote in F# (or C#)? something like a python's triple-quote in F# (or C#)? c%23 f%23 python string something like a python's triple-quote in F# (or C#)? I want to assign a xml code into a string variable. I can do this without escaping single or double-quotes by using triple-q...
[ 0.011962890625, 0.0213623046875, -0.0002727508544921875, -0.003387451171875, -0.0022735595703125, -0.020263671875, -0.00194549560546875, 0.000896453857421875, 0.003814697265625, -0.0194091796875, 0.010986328125, -0.01324462890625, 0.01226806640625, -0.0006561279296875, -0.003143310546875...
[ 9844, 1884, 17198, 50828, 3768, 7, 162738, 9, 68726, 23, 563, 4904, 501, 3742, 1238, 79315, 313, 87, 3444, 95486, 10, 131492, 18151, 3934, 77336, 831, 54, 15490, 38940, 11001, 41929, 17368, 21373, 3917, 903, 707 ]
[ 0.06072998046875, 0.08502197265625, 0.10888671875, 0.1771240234375, 0.07696533203125, 0.029205322265625, 0.226806640625, 0.0723876953125, 0.253173828125, 0.044647216796875, 0.1175537109375, 0.152587890625, 0.00506591796875, 0.1024169921875, 0.0723876953125, 0.233642578125, 0.02708435...
embed
72655098_c0
72655098
fsharp
0
Title: F# - Sorting a list of string tuple Problem title: F# - Sorting a list of string tuple Tags: list, f%23, sorting, tuples Problem: F# - Sorting a list of string tuple Ex. sortPairs [("Derek", "Christopher")] val it : (string * string) list = [("Christopher", "Derek")] sortPairs [("Parker", "Derek"); ("dora", "der...
F# - Sorting a list of string tuple F# - Sorting a list of string tuple list f%23 sorting tuples Sorting F# - Sorting a list of string tuple Ex.
[ 0.006011962890625, 0.0020751953125, 0.007476806640625, 0.0126953125, -0.01556396484375, -0.006988525390625, -0.01129150390625, -0.0198974609375, 0.0074462890625, 0.0159912109375, 0.003204345703125, 0.017822265625, -0.0026397705078125, 0.0120849609375, -0.000579833984375, -0.00093841552...
[ 563, 4904, 20, 53666, 214, 5303, 79315, 370, 8705, 10, 111, 1238, 3949, 3742, 12096, 99726, 5443 ]
[ 0.1492919921875, 0.219482421875, 0.07403564453125, 0.19482421875, 0.0830078125, 0.14990234375, 0.205078125, 0.14013671875, 0.1810302734375, 0.031646728515625, 0.0362548828125, 0.1256103515625, 0.0704345703125, 0.16064453125, 0.17333984375, 0.169677734375, 0.16845703125 ]
embed
32232921_c0
32232921
fsharp
0
Title: f# List.maxBy not typechecking the way I expect Problem title: f# List.maxBy not typechecking the way I expect Tags: f%23 Problem: f# List.maxBy not typechecking the way I expect let allEmpty xs = xs |> List.maxBy (fun x -> x |> List.length) = 0 that doesn't type check. this does: let allEmpty xs = xs |> List.ma...
f# List.maxBy not typechecking the way I expect f# List.maxBy not typechecking the way I expect f%23 List.maxBy List.length f# List.maxBy not typechecking the way I expect that doesn't type check. this does: Doesn't maxBy return an int?
[ 0.00860595703125, 0.020751953125, 0.0035400390625, 0.01214599609375, 0.000545501708984375, 0.0118408203125, 0.0130615234375, -0.0028076171875, 0.01611328125, 0.00762939453125, 0.00001823902130126953, 0.0008392333984375, 0.009765625, -0.01202392578125, 0.016845703125, -0.01708984375, ...
[ 1238, 4904, 32036, 24084, 75358, 959, 10644, 78292, 214, 3917, 41206, 70, 3742, 23986, 18, 12765, 903, 14602, 101790, 18389, 30646, 23 ]
[ 0.09844970703125, 0.1177978515625, 0.160400390625, 0.1893310546875, 0.24169921875, 0.08184814453125, 0.1568603515625, 0.19091796875, 0.017303466796875, 0.038299560546875, 0.1241455078125, 0.0301361083984375, 0.12255859375, 0.0550537109375, 0.105712890625, 0.1829833984375, 0.003936767...
embed
18670134_c0
18670134
fsharp
0
Title: How can I take last N items from a list in F#? Problem title: How can I take last N items from a list in F#? Tags: f%23 Problem: How can I take last N items from a list in F#? I would do something like let last n xs = xs |> List.rev |> Seq.take n |> List.ofSeq |> List.rev I am not sure about turning a list to a ...
How can I take last N items from a list in F#? How can I take last N items from a list in F#? f%23 a How List.rev Seq.take List.ofSeq How can I take last N items from a list in F#? I would do something like I am not sure about turning a list to a sequence and back though. Is this how you do it F#?
[ -0.01531982421875, 0.0174560546875, 0.0126953125, 0.0030975341796875, -0.0145263671875, 0.006378173828125, 0.01318359375, 0.0036468505859375, 0.0024261474609375, -0.0194091796875, 0.02392578125, -0.000492095947265625, 0.01434326171875, 0.0230712890625, -0.01397705078125, 0.003326416015...
[ 11249, 831, 87, 5646, 4568, 541, 55769, 1295, 5303, 23, 563, 4904, 1238, 3742, 32036, 65381, 503, 864, 78219, 4390, 4233, 174548, 47, 40, 944, 3956, 136, 4420 ]
[ 0.06256103515625, 0.07073974609375, 0.02252197265625, 0.15283203125, 0.200927734375, 0.209716796875, 0.1922607421875, 0.152099609375, 0.1954345703125, 0.04217529296875, 0.1387939453125, 0.208984375, 0.051971435546875, 0.0927734375, 0.170166015625, 0.1424560546875, 0.023651123046875, ...
embed
6808187_c0
6808187
fsharp
0
Title: The Little ML'er - Good training for F#? Problem title: The Little ML'er - Good training for F#? Tags: ocaml, ml, f%23 Problem: The Little ML'er - Good training for F#? I want to get up to speed on F# and was wondering if the book "The Little ML'er" would be of help since F# is based on OCaml which is ...
The Little ML'er - Good training for F#? The Little ML'er - Good training for F#? ocaml ml f%23 Little Good The Little ML'er - Good training for F#? I want to get up to speed on F# and was wondering if the book "The Little ML'er" would be of help since F# is based on OCaml which is a derivative of ML. Or, Is ...
[ 0.01336669921875, 0.0108642578125, -0.01287841796875, -0.0079345703125, 0.004180908203125, -0.006103515625, -0.01263427734375, -0.0130615234375, 0.00885009765625, -0.0267333984375, 0.01214599609375, -0.01953125, -0.0023345947265625, 0.01025390625, 0.005950927734375, -0.001861572265625,...
[ 581, 59784, 39456, 3768, 56, 18621, 23189, 100, 563, 4904, 36, 9779, 141, 7115, 1238, 3742, 25, 38352, 149016, 12877, 3957, 111, 4358, 35509, 180, 105272, 30057, 4935, 5792, 12921, 1295 ]
[ 0.0770263671875, 0.2113037109375, 0.208740234375, 0.02435302734375, 0.1845703125, 0.1517333984375, 0.1778564453125, 0.0677490234375, 0.1422119140625, 0.2177734375, 0.0987548828125, 0.1434326171875, 0.1724853515625, 0.1566162109375, 0.0621337890625, 0.01043701171875, 0.1009521484375, ...
embed
54871500_c0
54871500
fsharp
0
Title: Removing Empty or Whitespace strings from an IList<String> in F# Problem title: Removing Empty or Whitespace strings from an IList<String> in F# Tags: f%23 Problem: Removing Empty or Whitespace strings from an IList in F# How do I filter out Empty and WhiteSpace strings from a IList in FSharp? I do n...
Removing Empty or Whitespace strings from an IList<String> in F# Removing Empty or Whitespace strings from an IList<String> in F# f%23 an Removing Empty Whitespace IList Removing Empty or Whitespace strings from an IList in F# How do I filter out Empty and WhiteSpace strings from a IList in FSharp? I do not...
[ -0.01434326171875, 0.02734375, -0.0023651123046875, 0.01336669921875, -0.0196533203125, -0.0255126953125, 0.021240234375, 0.0234375, 0.0107421875, 0.0380859375, 0.0166015625, -0.0004062652587890625, -0.0213623046875, 0.0040283203125, 0.0002689361572265625, 0.01318359375, 0.0380859375...
[ 432, 6496, 31678, 939, 707, 22392, 65421, 79315, 1295, 87, 154663, 71713, 5386, 563, 4904, 214, 1238, 3742, 46312, 1810, 136, 141012, 23, 93774, 3467, 254, 117176, 32036 ]
[ 0.118896484375, 0.020843505859375, 0.1676025390625, 0.15673828125, 0.07196044921875, 0.154052734375, 0.2332763671875, 0.2431640625, 0.0592041015625, 0.13232421875, 0.2452392578125, 0.117431640625, 0.008941650390625, 0.1097412109375, 0.1663818359375, 0.027313232421875, 0.0443420410156...
embed
25286595_c0
25286595
fsharp
0
Title: RProvider does not locate package ggplot2 Problem title: RProvider does not locate package ggplot2 Tags: type-providers, f%23 Problem: RProvider does not locate package ggplot2 I have installed 'ggplot2' using install.packages("ggplot2") on the R Console. On F# side, open RProvider.ggplot2 is not able to locate ...
RProvider does not locate package ggplot2 RProvider does not locate package ggplot2 type-providers f%23 RProvider ggplot2 install.packages RProvider.ggplot2 RProvider does not locate package ggplot2 I have installed 'ggplot2' using on the R Console. On F# side, is not able to locate the namespace. Not sure how to proce...
[ 0.01275634765625, 0.006134033203125, -0.00106048583984375, -0.00518798828125, -0.0079345703125, 0.0228271484375, 0.029541015625, -0.0198974609375, -0.0103759765625, 0.02294921875, 0.00067138671875, 0.01141357421875, 0.0135498046875, -0.01434326171875, 0.017822265625, 0.02001953125, -...
[ 80026, 83220, 820, 959, 64040, 98169, 9815, 105710, 304, 10644, 93136, 14202, 1238, 3949, 3742, 20600, 29102, 67, 17368, 627, 1657, 40777, 563, 4904, 5609, 19048, 210716, 172337 ]
[ 0.049652099609375, 0.13427734375, 0.171630859375, 0.027679443359375, 0.094970703125, 0.1805419921875, 0.120361328125, 0.217529296875, 0.1607666015625, 0.1011962890625, 0.145263671875, 0.05419921875, 0.006591796875, 0.006500244140625, 0.10205078125, 0.0992431640625, 0.10791015625, 0...
embed
30205496_c0
30205496
fsharp
0
Title: Cannot Resolve console.readkey call Problem title: Cannot Resolve console.readkey call Tags: .net, f%23 Problem: Cannot Resolve console.readkey call I am having extreme difficulty with this line " console.readkey(true) " as the last line in my Visual F# file! I have "open system" at the top of the file but the c...
Cannot Resolve console.readkey call Cannot Resolve console.readkey call .net f%23 Cannot Resolve console.readkey Console Cannot Resolve console.readkey call I am having extreme difficulty with this line " console.readkey(true) " as the last line in my Visual F# file! I have "open system" at the top of the file but the ...
[ -0.00299072265625, 0.00396728515625, 0.02392578125, -0.00439453125, 0.00179290771484375, 0.0002651214599609375, 0.0146484375, -0.0174560546875, -0.017822265625, -0.004425048828125, -0.0025787353515625, 0.000713348388671875, 0.00848388671875, -0.002899169921875, 0.0107421875, -0.0212402...
[ 4171, 10869, 853, 86918, 130250, 39116, 19770, 11782, 5, 1179, 1238, 3742, 1657, 40777, 19441, 120069, 34844, 903, 13315, 9774, 13, 237, 4568, 73372, 563, 4904, 11435, 59636, 5426, 2663, 9969, 34759, 5351, 9232, 5983, 210716 ]
[ 0.04241943359375, 0.1807861328125, 0.06805419921875, 0.2138671875, 0.245361328125, 0.21484375, 0.22509765625, 0.151123046875, 0.0428466796875, 0.142578125, 0.037322998046875, 0.0987548828125, 0.05902099609375, 0.199462890625, 0.01318359375, 0.0229034423828125, 0.07470703125, 0.0204...
embed
15051223_c0
15051223
fsharp
0
Title: F# array initialization with non-consecutive numbers Problem title: F# array initialization with non-consecutive numbers Tags: arrays, f%23, initialization-list Problem: F# array initialization with non-consecutive numbers Is there a short notation to initialize F# array with multiples of N, where N > 1? For exa...
F# array initialization with non-consecutive numbers F# array initialization with non-consecutive numbers arrays f%23 initialization-list a..b F# array initialization with non-consecutive numbers Is there a short notation to initialize F# array with multiples of N, where N > 1? For example N = 2: Maybe, something analo...
[ -0.0002231597900390625, 0.006011962890625, -0.00628662109375, 0.001251220703125, -0.007537841796875, 0.00506591796875, 0.0120849609375, 0.0001316070556640625, 0.01275634765625, 0.0196533203125, 0.005859375, 0.0257568359375, 0.007354736328125, 0.014892578125, 0.01904296875, -0.020141601...
[ 563, 4904, 10298, 53, 61475, 47691, 678, 351, 2271, 166643, 272, 101935, 4778, 1238, 3742, 6562, 275, 2071, 2685, 16610, 110, 22062, 20650, 48716, 111, 541, 7440, 977, 106, 2203, 15573, 83425, 60223, 114977, 7225 ]
[ 0.151123046875, 0.218994140625, 0.194580078125, 0.14404296875, 0.1998291015625, 0.033416748046875, 0.07183837890625, 0.180419921875, 0.01873779296875, 0.1505126953125, 0.0081787109375, 0.1297607421875, 0.0226287841796875, 0.102294921875, 0.1363525390625, 0.1029052734375, 0.0529785156...
embed
2936534_c0
2936534
fsharp
0
Title: ASP.NET MVC and F# Service Problem title: ASP.NET MVC and F# Service Tags: f%23, asp.net-mvc Problem: ASP.NET MVC and F# Service My solution is split into 3 projects. Model, Services and Web. In my Service project, I'd like to use some F# features in it. Whats the best way to use 2 separate service projects, one...
ASP.NET MVC and F# Service ASP.NET MVC and F# Service f%23 asp.net-mvc ASP.NET MVC Service asp.net-mvc ASP.NET MVC and F# Service My solution is split into 3 projects. Model, Services and Web. In my Service project, I'd like to use some F# features in it. Whats the best way to use 2 separate service projects, one for C...
[ -0.0208740234375, 0.0233154296875, -0.01031494140625, -0.0230712890625, 0.01239013671875, 0.004638671875, -0.002197265625, 0.00677490234375, 0.01324462890625, -0.0220947265625, -0.01251220703125, -0.005035400390625, 0.0098876953125, 0.0260009765625, 0.02001953125, -0.0064697265625, -...
[ 147153, 17777, 276, 56349, 136, 563, 4904, 12349, 5, 1238, 3949, 3742, 237, 254, 1179, 39, 66357, 2646, 29806, 65450, 3934, 138, 77635, 13293, 40583, 4002, 360, 13452, 1884, 4527, 3060, 66139, 23, 442, 2965, 3917, 116, 84797, 4516, 1632, ...
[ 0.16845703125, 0.14990234375, 0.055572509765625, 0.234130859375, 0.1204833984375, 0.1368408203125, 0.2099609375, 0.1907958984375, 0.001678466796875, 0.046173095703125, 0.037567138671875, 0.0994873046875, 0.043914794921875, 0.133056640625, 0.1221923828125, 0.014312744140625, 0.1588134...
embed
53781314_c0
53781314
fsharp
0
Title: F# Giraffe: Different cache headers based on result Problem title: F# Giraffe: Different cache headers based on result Tags: f%23-giraffe, f%23 Problem: F# Giraffe: Different cache headers based on result Code signals: ServerErrors.internalError, Giraffe, Different, result:Result, HttpHandler, Successful.ok, Err...
F# Giraffe: Different cache headers based on result F# Giraffe: Different cache headers based on result f%23-giraffe f%23 ServerErrors.internalError Giraffe Different result:Result HttpHandler Successful.ok Error HttpFunc HttpContext ctx.Response.Headers headers.Add Cache-Control StringValues Vary Origin Some Add F# Gi...
[ -0.009765625, 0.00921630859375, -0.00131988525390625, 0.0002593994140625, 0.0118408203125, -0.01104736328125, -0.0225830078125, -0.013671875, -0.00213623046875, 0.017822265625, 0.006317138671875, 0.016845703125, -0.002471923828125, 0.023681640625, 0.01470947265625, 0.015625, -0.02563...
[ 563, 4904, 39919, 11, 16670, 242520, 82365, 10336, 1314, 35509, 98, 16750, 1238, 27495, 6920, 3742, 22687, 18468, 31611, 10433, 7, 7136, 3062, 135679, 603, 144053, 7844, 685, 212059, 97249, 22829, 425, 94399, 13025, 14202, 4028, 2041, 1430, ...
[ 0.051788330078125, 0.146240234375, 0.117431640625, 0.07403564453125, 0.204345703125, 0.222412109375, 0.2371826171875, 0.185546875, 0.14892578125, 0.1201171875, 0.04498291015625, 0.1837158203125, 0.018829345703125, 0.0050048828125, 0.06842041015625, 0.0704345703125, 0.0258636474609375...
embed
9240396_c0
9240396
fsharp
0
Title: Metaprogramming examples in F# Problem title: Metaprogramming examples in F# Tags: .net, metaprogramming, f%23 Problem: Metaprogramming examples in F# I'm interested in metaprogramming examples written in F# that demonstrate the use of F#-specific functionality such as the TryGetReflectedDefinition function in t...
Metaprogramming examples in F# Metaprogramming examples in F# .net metaprogramming f%23 Metaprogramming TryGetReflectedDefinition Metaprogramming examples in F# I'm interested in metaprogramming examples written in F# that demonstrate the use of F#-specific functionality such as the TryGetReflectedDefinition function i...
[ 0.0233154296875, 0.0135498046875, 0.0174560546875, 0.009521484375, -0.0159912109375, 0.001708984375, -0.00311279296875, 0.018310546875, -0.0025787353515625, -0.019287109375, 0.0025787353515625, -0.01287841796875, -0.0208740234375, 0.0196533203125, 0.0113525390625, 0.0201416015625, 0....
[ 36939, 28966, 214, 27781, 23, 563, 4904, 1179, 23550, 1238, 3742, 40858, 724, 126, 190015, 133, 89829, 187423, 943, 60892, 59121, 106804, 4527, 159975, 123309, 32354, 5570, 35773, 1294, 13648, 7413 ]
[ 0.2191162109375, 0.196044921875, 0.0113525390625, 0.192626953125, 0.0178680419921875, 0.1610107421875, 0.216796875, 0.1103515625, 0.198974609375, 0.049346923828125, 0.05023193359375, 0.1866455078125, 0.08740234375, 0.1077880859375, 0.166748046875, 0.1575927734375, 0.10626220703125, ...
embed
65665466_c0
65665466
fsharp
0
Title: Does CommandLineParser support testability features? Problem title: Does CommandLineParser support testability features? Tags: command-line-interface, f%23, c%23 Problem: Does CommandLineParser support testability features? The package commanddotnet provides good testability features . Does CommandLineParser sup...
Does CommandLineParser support testability features? Does CommandLineParser support testability features? command-line-interface f%23 c%23 Does CommandLineParser Does CommandLineParser support testability features? The package commanddotnet provides good testability features . Does CommandLineParser support similar fea...
[ -0.01318359375, 0.0208740234375, 0.00040435791015625, 0.00860595703125, -0.010986328125, -0.0135498046875, 0.02978515625, -0.01116943359375, -0.01361083984375, 0.03955078125, -0.002655029296875, 0.01904296875, 0.00946044921875, 0.009033203125, -0.00885009765625, 0.0179443359375, 0.00...
[ 101790, 123573, 93232, 28636, 2189, 8060, 3034, 41159, 66139, 75101, 2256, 10433, 40404, 1238, 3742, 98169, 15464, 1179, 87344, 4127, 21373, 3004 ]
[ 0.0546875, 0.1839599609375, 0.177001953125, 0.170654296875, 0.174072265625, 0.1668701171875, 0.197509765625, 0.1732177734375, 0.1441650390625, 0.1597900390625, 0.1181640625, 0.0345458984375, 0.0290374755859375, 0.043792724609375, 0.03668212890625, 0.1424560546875, 0.0748291015625, ...
embed
28783051_c0
28783051
fsharp
0
Title: Why does F# complain that a function is not defined? Problem title: Why does F# complain that a function is not defined? Tags: f%23, undefined Problem: Why does F# complain that a function is not defined? Why does compiler complain that MyAdd is not defined? type MyTest = static member MyAdd (y1 : int, y2 : int)...
Why does F# complain that a function is not defined? Why does F# complain that a function is not defined? f%23 undefined Why MyTest MyAdd Test Why does F# complain that a function is not defined? Why does compiler complain that MyAdd is not defined?
[ -0.00131988525390625, -0.0032196044921875, 0.0205078125, 0.0013580322265625, -0.0162353515625, -0.00057220458984375, 0.00592041015625, -0.0022735595703125, 0.00677490234375, -0.0113525390625, 0.005523681640625, -0.0228271484375, 0.003814697265625, 0.01287841796875, 0.038818359375, -0.0...
[ 44084, 563, 4904, 186992, 32354, 83, 959, 61924, 71, 450, 1238, 3742, 9232, 5983, 2646, 111337, 284, 4028, 8647, 14602, 9969, 34759 ]
[ 0.0823974609375, 0.1181640625, 0.204833984375, 0.1563720703125, 0.1776123046875, 0.07781982421875, 0.130859375, 0.2103271484375, 0.09796142578125, 0.004058837890625, 0.0865478515625, 0.0888671875, 0.1143798828125, 0.1641845703125, 0.13916015625, 0.2154541015625, 0.04046630859375, 0...
embed
19119427_c2
19119427
fsharp
2
0.0001 let mutable v = vst let mutable sigmadiff = 1.0 let mutable k = 1 let kmax = Code signals: Problems, Module1, System, Black76, CallPutFlag, Fwd, Strike, BlackPrice:float, Math.Log, Math.Sqrt, MathNet.Numerics.Distributions.Normal, x.valuation, Call, Math.Exp, n.InverseCumulativeDistribution, Put, Unrecognized, x...
0.0001 let mutable v = vst let mutable sigmadiff = 1.0 let mutable k = 1 let kmax = Code signals: Problems, Module1, System, Black76, CallPutFlag, Fwd, Strike, BlackPrice:float, Math.Log, Math.Sqrt, MathNet.Numerics.Distributions.Normal, x.valuation, Call, Math.Exp, n.InverseCumulativeDistribution, Put, Unrecognized, x...
[ -0.00732421875, 0.01190185546875, 0.00433349609375, -0.0123291015625, 0.029296875, 0.003875732421875, 0.0057373046875, -0.006805419921875, 0.008544921875, -0.00107574462890625, -0.0040283203125, 0.032958984375, 0.00086212158203125, 0.0023345947265625, -0.0021820068359375, 0.00454711914...
[ 89678, 34479, 2633, 842, 22819, 81, 2203, 271, 1144, 192, 152462, 53855, 472, 106, 24084, 28864, 26073, 7, 15649, 63014, 13, 418, 12353, 10074, 11835, 26265, 27559, 919, 3668, 37281, 141040, 33163, 329, 52347, 257, 78804, 113972, 864, 3198,...
[ 0.188232421875, 0.2103271484375, 0.15380859375, 0.150634765625, 0.1968994140625, 0.21142578125, 0.07501220703125, 0.1094970703125, 0.1414794921875, 0.1234130859375, 0.2427978515625, 0.117431640625, 0.0894775390625, 0.014404296875, 0.2088623046875, 0.230712890625, 0.26416015625, 0.0...
embed
34814147_c0
34814147
fsharp
0
Title: How to use Canopy with Browserstack Problem title: How to use Canopy with Browserstack Tags: f%23, canopy-web-testing Problem: How to use Canopy with Browserstack I have been user the f# test library Canopy and it works great. But I can't figure out how to have it target browsers on browser stack. I did find thi...
How to use Canopy with Browserstack How to use Canopy with Browserstack f%23 canopy-web-testing How Canopy Browserstack How to use Canopy with Browserstack I have been user the f# test library Canopy and it works great. But I can't figure out how to have it target browsers on browser stack. I did find this but so it is...
[ 0.012451171875, 0.017822265625, -0.018798828125, -0.0020904541015625, -0.00396728515625, -0.009033203125, 0.005828857421875, -0.01165771484375, -0.0047607421875, -0.03564453125, -0.005615234375, 0.006317138671875, 0.01409912109375, 0.00836181640625, 0.0191650390625, -0.005157470703125,...
[ 11249, 47, 4527, 4171, 2146, 53, 678, 86976, 590, 2594, 1238, 3742, 831, 14051, 6954, 2809, 38937, 4904, 3034, 35773, 1294, 43240, 6782, 26366, 3642, 765, 442, 30388, 31842, 98, 177261, 903, 7722, 34776, 66, 127, 29321 ]
[ 0.05718994140625, 0.0279693603515625, 0.142578125, 0.1641845703125, 0.218994140625, 0.2332763671875, 0.1290283203125, 0.197021484375, 0.18701171875, 0.18896484375, 0.0521240234375, 0.05096435546875, 0.109619140625, 0.07000732421875, 0.1375732421875, 0.011474609375, 0.0770263671875, ...
embed
1181151_c0
1181151
fsharp
0
Title: Is there any good reason why the #region and #endregion does not work in F# Problem title: Is there any good reason why the #region and #endregion does not work in F# Tags: region, f%23 Problem: Is there any good reason why the #region and #endregion does not work in F# This is very useful in organizing and brow...
Is there any good reason why the #region and #endregion does not work in F# Is there any good reason why the #region and #endregion does not work in F# region f%23 Is there any good reason why the #region and #endregion does not work in F# This is very useful in organizing and browsing the code. Why is it not implement...
[ -0.01202392578125, 0.01153564453125, 0.01226806640625, -0.005462646484375, -0.00133514404296875, 0.01025390625, -0.0184326171875, 0.00872802734375, 0.0021514892578125, 0.0087890625, 0.0079345703125, 0.0244140625, 0.01953125, -0.00897216796875, 0.0201416015625, -0.003326416015625, 0.0...
[ 4127, 31635, 15400, 468, 80938, 136, 3611, 14602, 959, 4488, 563, 4904, 2685, 2499, 23, 10776, 1238, 3742, 80234, 5808, 231602, 18151, 44084, 83, 29479, 56282, 64549, 21373 ]
[ 0.040313720703125, 0.09375, 0.0655517578125, 0.041351318359375, 0.243896484375, 0.08111572265625, 0.13818359375, 0.06195068359375, 0.097412109375, 0.10595703125, 0.1292724609375, 0.172607421875, 0.001800537109375, 0.0232391357421875, 0.0224151611328125, 0.1953125, 0.0543212890625, ...
embed
2920094_c0
2920094
fsharp
0
Title: How can i convert between F# List and F# Tuple? Problem title: How can i convert between F# List and F# Tuple? Tags: f%23 Problem: How can i convert between F# List and F# Tuple? Is there some way to convert between F# List and F# Tuple? For example: [1;2;3] -> (1,2,3) (1,2,3,4) -> [1;2;3;4] I need two Functions...
How can i convert between F# List and F# Tuple? How can i convert between F# List and F# Tuple? f%23 How List Tuple How can i convert between F# List and F# Tuple? Is there some way to convert between F# List and F# Tuple? For example: I need two Functions to do that: Thank you in advance.
[ 0.012939453125, 0.0076904296875, -0.0020294189453125, 0.00244140625, -0.0029449462890625, 0.007537841796875, -0.0185546875, -0.0059814453125, 0.0177001953125, 0.00836181640625, -0.004730224609375, 0.00164031982421875, -0.0019989013671875, 0.044677734375, -0.005126953125, -0.01104736328...
[ 11249, 831, 17, 96760, 17721, 563, 4904, 32036, 136, 1371, 8705, 1238, 3949, 3742, 3060, 3917, 47, 1326, 27781, 3871, 6626, 28670, 10763, 129745 ]
[ 0.0819091796875, 0.08734130859375, 0.1094970703125, 0.1773681640625, 0.132568359375, 0.13916015625, 0.22412109375, 0.2215576171875, 0.09197998046875, 0.1461181640625, 0.232177734375, 0.0733642578125, 0.001708984375, 0.0926513671875, 0.007965087890625, 0.042633056640625, 0.05206298828...
embed
411221_c0
411221
fsharp
0
Title: Converting float to int in F# Problem title: Converting float to int in F# Tags: f%23 Problem: Converting float to int in F# Can someone please explain why int (0.4 * 10.0) is 4 yet int ((2.4 - 2.0) * 10.0) is 3 ? And then also please explain how to get 4 . i.e. Do I really have to do int (System.Math.Round((2.4...
Converting float to int in F# Converting float to int in F# f%23 Converting System.Math.Round Converting float to int in F# Can someone please explain why int (0.4 * 10.0) is 4 yet int ((2.4 - 2.0) * 10.0) is 3 ? And then also please explain how to get 4 . i.e. Do I really have to do int (System.Math.Round((2.4 - 2.0) ...
[ -0.0022735595703125, -0.00299072265625, 0.0040283203125, -0.0108642578125, -0.00592041015625, -0.0029296875, -0.0167236328125, -0.0108642578125, 0.004730224609375, 0.0115966796875, -0.00555419921875, 0.010009765625, -0.013671875, 0.03662109375, 0.0234375, -0.01446533203125, 0.0219726...
[ 1657, 814, 1916, 21917, 257, 47, 23, 18, 563, 4904, 1238, 3949, 3742, 12353, 199450, 12724, 7030, 22936, 73342, 15400, 121254, 661, 4068, 77495, 83, 201, 14373, 116591, 20, 16655, 138, 3642, 2046, 6183, 765, 54, 84293, 221, 75, 110608, ...
[ 0.0276947021484375, 0.130126953125, 0.042999267578125, 0.2098388671875, 0.1253662109375, 0.083984375, 0.1466064453125, 0.1956787109375, 0.1396484375, 0.21240234375, 0.07196044921875, 0.013580322265625, 0.1219482421875, 0.0728759765625, 0.093505859375, 0.0706787109375, 0.091552734375,...
embed
12610001_c0
12610001
fsharp
0
Title: Why does FSharpList have no GetEnumerator method? Problem title: Why does FSharpList have no GetEnumerator method? Tags: c%23, f%23 Problem: Why does FSharpList have no GetEnumerator method? I am trying to use FSharpList in C# for implementation purposes. It says that it implements IEnumerable interface, but whe...
Why does FSharpList have no GetEnumerator method? Why does FSharpList have no GetEnumerator method? c%23 f%23 Why FSharpList GetEnumerator IEnumerable Why does FSharpList have no GetEnumerator method? I am trying to use FSharpList in C# for implementation purposes. It says that it implements IEnumerable interface, but ...
[ -0.0225830078125, 0.0208740234375, 0.0184326171875, -0.0152587890625, -0.003814697265625, 0.01324462890625, 0.01239013671875, 0.010009765625, -0.00167083740234375, -0.007171630859375, 0.011962890625, 0.00506591796875, -0.01806640625, -0.01373291015625, -0.000823974609375, -0.0065307617...
[ 44084, 93774, 3467, 254, 154663, 765, 110, 20779, 647, 2606, 56, 4597, 55300, 3742, 75536, 2886, 14602, 313, 4904, 208124, 60042, 29479, 101758, 28282, 110527, 1556, 32354 ]
[ 0.1004638671875, 0.116455078125, 0.194580078125, 0.1744384765625, 0.2371826171875, 0.0487060546875, 0.1165771484375, 0.1463623046875, 0.07232666015625, 0.21240234375, 0.1561279296875, 0.1544189453125, 0.1519775390625, 0.0258941650390625, 0.100341796875, 0.09527587890625, 0.0006408691...
embed
79286239_c2
79286239
fsharp
2
, Instruction, Take, InstrFree.show, Result, Keys, Set, TryRead, Map, Set.singleton, Map.tryFind, Some, None, map2, Set.union, x.Keys, y.Keys, x.TryRead, y.TryRead, Instr, Load, Show, InstrFree, Just, Free, Instr.map, InstrFree.Free, Instr.Show, Program, Output, Input.map2, x.Input, y.Input, x.Output, InstrFree.bind, y...
, Instruction, Take, InstrFree.show, Result, Keys, Set, TryRead, Map, Set.singleton, Map.tryFind, Some, None, map2, Set.union, x.Keys, y.Keys, x.TryRead, y.TryRead, Instr, Load, Show, InstrFree, Just, Free, Instr.map, InstrFree.Free, Instr.Show, Program, Output, Input.map2, x.Input, y.Input, x.Output, InstrFree.bind, y...
[ -0.0157470703125, 0.00775146484375, 0.0169677734375, 0.01348876953125, -0.0166015625, 0.00872802734375, 0.003662109375, -0.0013580322265625, 0.002655029296875, -0.0230712890625, 0.00066375732421875, 0.00579833984375, 0.00970458984375, 0.01177978515625, -0.00775146484375, 0.006927490234...
[ 6, 4, 72022, 10763, 46673, 360, 9297, 81437, 31374, 126684, 26824, 19943, 40858, 31345, 42719, 6953, 133, 1507, 15123, 204582, 31384, 438, 22288, 304, 87046, 1022, 162429, 113, 1294, 2091, 712, 17367, 9563, 5153, 62346, 5, 168660, 7663, 135...
[ 0.0390625, 0.063720703125, 0.2093505859375, 0.14501953125, 0.204345703125, 0.12890625, 0.240234375, 0.203369140625, 0.1656494140625, 0.199462890625, 0.17138671875, 0.2056884765625, 0.1533203125, 0.2059326171875, 0.163330078125, 0.0693359375, 0.0196685791015625, 0.1661376953125, 0...
embed
39769177_c0
39769177
fsharp
0
Title: F# - create list with conditional elements Problem title: F# - create list with conditional elements Tags: list, f%23 Problem: F# - create list with conditional elements Consider this code let a, b, c = ... let mutable l = [a] if conditionB then l <- b :: l if conditionC then l <- c :: l I feel as this goes agai...
F# - create list with conditional elements F# - create list with conditional elements list f%23 F# - create list with conditional elements Consider this code I feel as this goes against the language principles. Is this the correct way or am I missing something? Edit: l is then just returned as a result
[ 0.00885009765625, -0.0034942626953125, 0.0004425048828125, -0.0086669921875, 0.00390625, 0.01116943359375, -0.006378173828125, 0.00151824951171875, -0.000797271728515625, 0.0177001953125, 0.01312255859375, 0.001129150390625, 0.005340576171875, -0.0035858154296875, 0.00982666015625, 0.0...
[ 563, 4904, 28282, 5303, 678, 35431, 289, 80854, 1238, 3949, 3742, 137399, 903, 18151, 12319, 60899, 26548, 46876, 24702, 1577, 2071, 26785, 3917, 132283, 96, 176377, 16750 ]
[ 0.1097412109375, 0.2001953125, 0.1488037109375, 0.214599609375, 0.1224365234375, 0.2177734375, 0.1353759765625, 0.1695556640625, 0.07489013671875, 0.049346923828125, 0.141357421875, 0.04632568359375, 0.056671142578125, 0.1561279296875, 0.1143798828125, 0.0438232421875, 0.110961914062...
embed
19185316_c0
19185316
fsharp
0
Title: F# casting obj[,] to float[,] Problem title: F# casting obj[,] to float[,] Tags: casting, f%23 Problem: F# casting obj[,] to float[,] I have an obj[,] whose components are all float s. I want to convert it to a float[,] . I tried many permutations of box , unbox , Array2D.map float , Array2D.copy , System.Conver...
F# casting obj[,] to float[,] F# casting obj[,] to float[,] casting f%23 Array2D.map Array2D.copy System.Convert.ChangeType F# casting obj[,] to float[,] I have an obj[,] whose components are all float s. I want to convert it to a float[,] . I tried many permutations of box , unbox , Array2D.map float , Array2D.copy , ...
[ 0.01416015625, 0.005950927734375, -0.01171875, -0.0062255859375, -0.005279541015625, -0.0244140625, -0.025146484375, -0.01177978515625, -0.00872802734375, 0.0126953125, -0.0035552978515625, -0.01361083984375, 0.0164794921875, 0.0030059814453125, -0.013427734375, -0.033447265625, -0.0...
[ 563, 4904, 176050, 995, 170, 1065, 47, 21917, 257, 1238, 3949, 3742, 69253, 53, 304, 397, 62346, 137366, 12353, 11935, 11549, 127008, 196707, 765, 82761, 756, 91, 3444, 96760, 442, 10, 6, 37842, 5941, 117, 14311, 21094, 16530, 51, 11728, ...
[ 0.132568359375, 0.2178955078125, 0.201904296875, 0.168701171875, 0.2041015625, 0.011566162109375, 0.1260986328125, 0.2247314453125, 0.16455078125, 0.109375, 0.005645751953125, 0.120361328125, 0.0662841796875, 0.0079345703125, 0.05963134765625, 0.068359375, 0.07794189453125, 0.08850...
embed
48606250_c1
48606250
fsharp
1
;; C:\Users\loref\Workspace\source-nly10r\Untitled-1(25,17): error FS0001: This expression was expected to have type 'IData' but here has type 'Data' So, my second question is that if Data implements IData then why can't I assign a value of Data type to a variable of IData type ? Code signals: How, IData, Data, Snippe...
;; C:\Users\loref\Workspace\source-nly10r\Untitled-1(25,17): error FS0001: This expression was expected to have type 'IData' but here has type 'Data' So, my second question is that if Data implements IData then why can't I assign a value of Data type to a variable of IData type ? Code signals: How, IData, Data, Snippe...
[ 0.0174560546875, 0.0118408203125, -0.0064697265625, 0.020751953125, 0.016845703125, 0.00933837890625, -0.002777099609375, 0.021240234375, 0.0018768310546875, -0.0242919921875, 0.016845703125, 0.01708984375, 0.01519775390625, -0.0022735595703125, 0.0157470703125, -0.00750732421875, 0....
[ 1062, 7, 1314, 1484, 4240, 108259, 65421, 60427, 538, 963, 42, 14256, 5440, 71, 5759, 2588, 59741, 18499, 93774, 188735, 125195, 84751, 10644, 7146, 1724, 1284, 3688, 137989, 17932, 9655, 11809, 29479, 87, 15400, 831, 18, 95486, 34292, 47, ...
[ 0.02178955078125, 0.0645751953125, 0.0318603515625, 0.01324462890625, 0.1702880859375, 0.0789794921875, 0.1826171875, 0.1796875, 0.1492919921875, 0.10589599609375, 0.0718994140625, 0.0626220703125, 0.154052734375, 0.044952392578125, 0.0992431640625, 0.13525390625, 0.089111328125, 0...
embed
50750105_c0
50750105
fsharp
0
Title: Convert sync function to async got &quot;This construct may only be used within computation expressions&quot;? Problem title: Convert sync function to async got &quot;This construct may only be used within computation expressions&quot;? Tags: f%23 Problem: Convert sync function to async got "This construct may o...
Convert sync function to async got &quot;This construct may only be used within computation expressions&quot;? Convert sync function to async got &quot;This construct may only be used within computation expressions&quot;? f%23 Convert List.iter ERROR Async.RunSynchronously Async.Parallel Convert sync function to async ...
[ -0.033447265625, 0.0198974609375, 0.00872802734375, -0.0140380859375, -0.009521484375, 0.0159912109375, 0.0034332275390625, 0.007720947265625, 0.011962890625, -0.028076171875, -0.00970458984375, 0.0186767578125, 0.01226806640625, 0.01043701171875, 0.0089111328125, 0.0145263671875, 0....
[ 1657, 11549, 6002, 238, 32354, 47, 10, 12654, 4163, 73243, 64549, 1543, 4734, 11814, 28032, 181135, 1363, 125195, 3742, 32036, 16840, 151206, 163321, 217835, 127, 1900, 55292, 1229, 11249, 96760, 25632, 18151, 64333, 18499, 31351, 11782, 418, ...
[ 0.035125732421875, 0.1483154296875, 0.23095703125, 0.1427001953125, 0.1884765625, 0.099609375, 0.043060302734375, 0.236083984375, 0.03240966796875, 0.06805419921875, 0.174560546875, 0.0968017578125, 0.080322265625, 0.128662109375, 0.1083984375, 0.1015625, 0.041748046875, 0.15246582...
embed
1468772_c0
1468772
fsharp
0
Title: How to handle unit tests in F#? Problem title: How to handle unit tests in F#? Tags: f%23, unit-testing Problem: How to handle unit tests in F#? How do you create unit tests in F#? I typically use the UnitTest portion of Visual Studio with a [TestClass] and [TestMethod] attributes and use the Test View to run th...
How to handle unit tests in F#? How to handle unit tests in F#? f%23 unit-testing How How to handle unit tests in F#? How do you create unit tests in F#? I typically use the UnitTest portion of Visual Studio with a [TestClass] and [TestMethod] attributes and use the Test View to run these. I know I can just create a sc...
[ -0.00177001953125, 0.0220947265625, 0.0040283203125, -0.0272216796875, -0.0064697265625, -0.017333984375, 0.009521484375, -0.0028839111328125, -0.0042724609375, -0.01019287109375, -0.005401611328125, 0.0006866455078125, -0.01123046875, 0.01177978515625, -0.008056640625, 0.0108032226562...
[ 11249, 47, 34831, 25072, 109921, 23, 563, 4904, 1238, 3949, 3742, 6954, 214, 54, 28282, 205794, 4527, 46640, 111337, 126826, 73372, 22968, 678, 140803, 78572, 7352, 150380, 8647, 29805, 11675, 6097, 831, 26499, 11435, 87, 1884, 3917, 82424, ...
[ 0.07080078125, 0.0631103515625, 0.16748046875, 0.2230224609375, 0.28955078125, 0.07000732421875, 0.1639404296875, 0.22998046875, 0.0731201171875, 0.0183258056640625, 0.097412109375, 0.2242431640625, 0.0296630859375, 0.0001220703125, 0.1409912109375, 0.038848876953125, 0.0556945800781...
embed
16530466_c1
16530466
fsharp
1
tt with | Some((h, n), tt) -> match tt with | Some true -> (match h with 12 -> h | _ -> h + 12), n | Some false -> (match h with 12 -> h - 12 | _ -> h), n | None -> h, n | None -> 0, 0 try preturn (System.DateTime(y, m, d, h, n, 0)) |>> DateTime with _ -> fail "Invalid date/time format") Code signals: Parsing, FParsec...
tt with | Some((h, n), tt) -> match tt with | Some true -> (match h with 12 -> h | _ -> h + 12), n | Some false -> (match h with 12 -> h - 12 | _ -> h), n | None -> h, n | None -> 0, 0 try preturn (System.DateTime(y, m, d, h, n, 0)) |>> DateTime with _ -> fail "Invalid date/time format") Code signals: Parsing, FParsec...
[ -0.006011962890625, 0.0034637451171875, 0.00579833984375, 0.0218505859375, -0.01007080078125, -0.0216064453125, -0.0115966796875, -0.007049560546875, -0.01336669921875, -0.01416015625, -0.00311279296875, 0.046630859375, -0.0177001953125, 0.00689697265625, -0.0103759765625, -0.003067016...
[ 3062, 678, 58745, 31384, 132, 127, 653, 247, 33079, 14858, 29568, 98753, 1096, 427, 101, 997, 98320, 438, 86, 6, 757, 4, 9790, 479, 987, 19, 84293, 86291, 70059, 53, 347, 104, 25512, 35782, 4153, 7013, 5622, 64, 6032, 9384, 18939, 288...
[ 0.237548828125, 0.257080078125, 0.06915283203125, 0.1578369140625, 0.003143310546875, 0.1383056640625, 0.1143798828125, 0.047454833984375, 0.0609130859375, 0.173828125, 0.137939453125, 0.1617431640625, 0.1361083984375, 0.1566162109375, 0.037353515625, 0.089599609375, 0.1810302734375,...
embed
10870467_c0
10870467
fsharp
0
Title: Taking the content of a line without the tags from an XML file Problem title: Taking the content of a line without the tags from an XML file Tags: f%23, xml Problem: Taking the content of a line without the tags from an XML file My program has an xml file as input, and I want to take only the content of a certai...
Taking the content of a line without the tags from an XML file Taking the content of a line without the tags from an XML file f%23 xml an Taking XML Taking the content of a line without the tags from an XML file My program has an xml file as input, and I want to take only the content of a certain line, without the xml ...
[ -0.003204345703125, 0.01043701171875, -0.010986328125, 0.005889892578125, -0.0034942626953125, 0.0108642578125, 0.00518798828125, 0.0205078125, 0.00010728836059570312, 0.00019073486328125, -0.005889892578125, -0.01434326171875, -0.01153564453125, 0.01165771484375, 0.018310546875, 0.012...
[ 2561, 214, 10941, 13315, 15490, 70, 69141, 1295, 92537, 11435, 111, 1238, 3949, 3742, 131492, 142, 1528, 107730, 3444, 47, 5646, 4734, 24233, 11249, 831, 2046, 43883 ]
[ 0.1204833984375, 0.0716552734375, 0.177001953125, 0.148193359375, 0.134765625, 0.0312042236328125, 0.162109375, 0.0848388671875, 0.22216796875, 0.1375732421875, 0.007904052734375, 0.039276123046875, 0.0255126953125, 0.09521484375, 0.19287109375, 0.0478515625, 0.1103515625, 0.135375...
embed
75922303_c2
75922303
fsharp
2
.iter, item.Descendants, Seq.iter, item.AttributeValue, document.Descendants, Seq.choose, x.TryGetAttribute, Option.map, x.InnerText, a.Value, Seq.toList, mt-16, mb-12, mb-8, grid-cols-1, gap-4, md:grid-cols-2, xl:grid-cols-2, Card_wrapper__ZQ5Fp, Card_actions__HhB_f, kodis-files.s3.eu-central-1.amazonaws.com, _blank, ...
.iter, item.Descendants, Seq.iter, item.AttributeValue, document.Descendants, Seq.choose, x.TryGetAttribute, Option.map, x.InnerText, a.Value, Seq.toList, mt-16, mb-12, mb-8, grid-cols-1, gap-4, md:grid-cols-2, xl:grid-cols-2, Card_wrapper__ZQ5Fp, Card_actions__HhB_f, kodis-files.s3.eu-central-1.amazonaws.com, _blank, ...
[ -0.00469970703125, 0.0181884765625, -0.005523681640625, -0.0196533203125, 0.015869140625, -0.002166748046875, -0.010498046875, -0.02490234375, -0.017822265625, -0.0054931640625, 0.00604248046875, -0.0003948211669921875, -0.017822265625, 0.0205078125, 0.003021240234375, -0.0031127929687...
[ 6, 5, 16840, 4, 35735, 4657, 31146, 58349, 7, 503, 864, 28848, 191145, 856, 50770, 12937, 3089, 8364, 1022, 1294, 724, 126, 86769, 62346, 13857, 174379, 10, 188, 154663, 18, 13528, 39369, 9955, 17376, 120067, 9, 8447, 5759, 43599, 11565, ...
[ 0.0516357421875, 0.140869140625, 0.25439453125, 0.060577392578125, 0.2154541015625, 0.11865234375, 0.2066650390625, 0.2073974609375, 0.2041015625, 0.07476806640625, 0.15869140625, 0.0335693359375, 0.230224609375, 0.1070556640625, 0.1883544921875, 0.1776123046875, 0.067626953125, 0....
embed
34834346_c2
34834346
fsharp
2
, Date, Mon, Jan, GMT, Server, Mono.WebServer.XSP, Linux, X-AspNet-Version, Content-Length, Cache-Control, Content-Type, Keep-Alive, Connection, GET, localhost:9000, HeadersResponseHTMLCache, utf-8, DOCTYPE, W3C, DTD, XHTML, Transitional, www.w3.org, xhtml1, xhtml1-transitional, FFFFFF, Verdana, Helvetica, Sans-Serif, ...
, Date, Mon, Jan, GMT, Server, Mono.WebServer.XSP, Linux, X-AspNet-Version, Content-Length, Cache-Control, Content-Type, Keep-Alive, Connection, GET, localhost:9000, HeadersResponseHTMLCache, utf-8, DOCTYPE, W3C, DTD, XHTML, Transitional, www.w3.org, xhtml1, xhtml1-transitional, FFFFFF, Verdana, Helvetica, Sans-Serif, ...
[ -0.00665283203125, 0.036865234375, 0.003143310546875, -0.00174713134765625, 0.0017852783203125, 0.002777099609375, 0.0098876953125, 0.0021209716796875, 0.01080322265625, -0.03271484375, 0.00176239013671875, 0.000823974609375, 0.0145263671875, -0.01025390625, 0.020751953125, 0.003509521...
[ 6, 4, 25512, 7465, 3342, 99961, 22687, 77879, 5, 30474, 193348, 1542, 9434, 29908, 1193, 9, 284, 7008, 24447, 178390, 70870, 5267, 449, 2041, 1430, 175904, 196707, 83041, 24056, 62448, 1830, 79794, 4000, 40294, 147061, 44816, 1314, 94399, 1...
[ 0.0264434814453125, 0.1209716796875, 0.2188720703125, 0.1900634765625, 0.233154296875, 0.2374267578125, 0.2039794921875, 0.27294921875, 0.012725830078125, 0.1339111328125, 0.2086181640625, 0.1324462890625, 0.2254638671875, 0.255859375, 0.1650390625, 0.01544189453125, 0.03271484375, ...
embed
72485054_c0
72485054
fsharp
0
Title: F# How to append an element to the end of a list Problem title: F# How to append an element to the end of a list Tags: f%23 Problem: F# How to append an element to the end of a list How do I append a value to the end of a list? let rec add lst value = match lst with | [] -> [value] This currently only appends an...
F# How to append an element to the end of a list F# How to append an element to the end of a list f%23 How F# How to append an element to the end of a list How do I append a value to the end of a list? This currently only appends an empty list with the value x. How would I add a value to the end of a list that has elem...
[ -0.0174560546875, 0.0186767578125, 0.00848388671875, -0.01220703125, -0.00848388671875, 0.000560760498046875, -0.01092529296875, 0.0142822265625, 0.0074462890625, -0.037841796875, 0.0240478515625, -0.01116943359375, -0.014404296875, 0.00531005859375, 0.0079345703125, -0.0203857421875, ...
[ 563, 4904, 11249, 47, 114689, 71, 12830, 70, 3564, 111, 5303, 1238, 3742, 54, 87, 10, 34292, 82424, 4734, 6468, 201505, 678, 1022, 2806, 15190, 1556, 80854, 23, 21771 ]
[ 0.096923828125, 0.1431884765625, 0.0693359375, 0.1339111328125, 0.1690673828125, 0.10443115234375, 0.179443359375, 0.07672119140625, 0.20361328125, 0.117431640625, 0.1915283203125, 0.052276611328125, 0.07867431640625, 0.0227813720703125, 0.01116943359375, 0.003021240234375, 0.1751708...
embed
24588359_c0
24588359
fsharp
0
Title: How to get int from Tuple&lt;char[], int&gt;[] in f# Problem title: How to get int from Tuple&lt;char[], int&gt;[] in f# Tags: f%23, .net Problem: How to get int from Tuple [] in f# I have a (char [] * int) [] in F#. I'd like to extract the integers into an int[] . I have a wonderful, non-functional version as t...
How to get int from Tuple&lt;char[], int&gt;[] in f# How to get int from Tuple&lt;char[], int&gt;[] in f# f%23 .net Tuple How List temp.Add How to get int from Tuple [] in f# I have a (char [] * int) [] in F#. I'd like to extract the integers into an int[] . I have a wonderful, non-functional version as thus. Can someo...
[ 0.01519775390625, -0.00775146484375, 0.013916015625, 0.0223388671875, -0.010986328125, 0.01312255859375, 0.003509521484375, 0.01171875, 0.0027313232421875, -0.0179443359375, 0.0164794921875, 0.0003986358642578125, -0.02099609375, 0.020263671875, -0.007537841796875, -0.018310546875, -...
[ 11249, 47, 2046, 23, 18, 1295, 1371, 8705, 1277, 9254, 1065, 1230, 5386, 1238, 4904, 3742, 1179, 32036, 20805, 4028, 378, 765, 661, 563, 1884, 125663, 892, 26255, 3934, 58867, 351, 137175, 11389, 4358 ]
[ 0.076904296875, 0.0202178955078125, 0.1387939453125, 0.1475830078125, 0.22314453125, 0.146484375, 0.16015625, 0.24951171875, 0.055694580078125, 0.162353515625, 0.043304443359375, 0.08184814453125, 0.1597900390625, 0.1116943359375, 0.1693115234375, 0.124755859375, 0.09893798828125, ...
embed
2608114_c0
2608114
fsharp
0
Title: F# equivalent to Eval Problem title: F# equivalent to Eval Tags: eval, .net, f%23, lisp Problem: F# equivalent to Eval Is there an F# equivalent to eval? My intent is to have my app load a small code sample from a file and essentially let file = "c:\mysample" let sample = loadFromFile file let results = eval(sam...
F# equivalent to Eval F# equivalent to Eval eval .net f%23 lisp Eval F# equivalent to Eval Is there an F# equivalent to eval? My intent is to have my app load a small code sample from a file and essentially I am new to F# and trying to figure out some of the limitations before I apply it to a project. Thank you
[ 0.028076171875, 0.010986328125, 0.0087890625, 0.031494140625, -0.011962890625, 0.00628662109375, 0.025146484375, -0.006072998046875, 0.0030364990234375, -0.05078125, -0.00151824951171875, 0.005096435546875, 0.01263427734375, -0.036376953125, 0.006072998046875, 0.0028228759765625, -0....
[ 563, 4904, 183234, 47, 241, 1405, 28, 1179, 1238, 3949, 3742, 400, 7008, 2071, 2685, 142, 32, 78091, 83, 765, 4027, 72367, 19336, 18151, 121413, 1295, 11435, 85590, 3525, 31577, 26366, 205969, 8108, 59911, 13452 ]
[ 0.190185546875, 0.2371826171875, 0.2122802734375, 0.1357421875, 0.1478271484375, 0.28173828125, 0.1370849609375, 0.1619873046875, 0.1134033203125, 0.01165771484375, 0.0997314453125, 0.09613037109375, 0.1517333984375, 0.0733642578125, 0.0950927734375, 0.10394287109375, 0.0044555664062...
embed
42999296_c0
42999296
fsharp
0
Title: Why F# for loop applied to a 2D (not jagged) array yields obj type? Problem title: Why F# for loop applied to a 2D (not jagged) array yields obj type? Tags: f%23 Problem: Why F# for loop applied to a 2D (not jagged) array yields obj type? let A = array2D [[1;2;3];[4;5;6]] Then A is int [,] type. Next, let B = [f...
Why F# for loop applied to a 2D (not jagged) array yields obj type? Why F# for loop applied to a 2D (not jagged) array yields obj type? f%23 Why array2D Why F# for loop applied to a 2D (not jagged) array yields obj type? Then A is int [,] type. Next, Then B is obj list type, not int list type. I want an int -typed list...
[ 0.03564453125, -0.01080322265625, -0.00958251953125, 0.006683349609375, -0.006683349609375, 0.01092529296875, -0.006134033203125, 0.022705078125, 0.0081787109375, 0.0128173828125, 0.00830078125, 0.00396728515625, 0.0133056640625, -0.0198974609375, -0.0103759765625, -0.0245361328125, ...
[ 44084, 563, 4904, 100, 40956, 190659, 116, 397, 10869, 79, 134229, 10298, 53, 11180, 19388, 995, 170, 10644, 47, 1238, 3742, 304, 62, 23, 18, 4997, 335, 83, 5303, 959, 3444, 50986 ]
[ 0.06231689453125, 0.0919189453125, 0.1629638671875, 0.0902099609375, 0.1500244140625, 0.041900634765625, 0.07012939453125, 0.0987548828125, 0.0767822265625, 0.027252197265625, 0.058258056640625, 0.09564208984375, 0.0615234375, 0.07098388671875, 0.107666015625, 0.146240234375, 0.16784...
embed
11476203_c0
11476203
fsharp
0
Title: mixin or trait in F# Problem title: mixin or trait in F# Tags: f%23, functional-programming Problem: mixin or trait in F# Is there a way to achieve a mixin in Ruby or a trait in Scala in F#? What i want is to basically copy one module into another so that it shares the other modules functionality but is closed f...
mixin or trait in F# mixin or trait in F# f%23 functional-programming mixin or trait in F# Is there a way to achieve a mixin in Ruby or a trait in Scala in F#? What i want is to basically copy one module into another so that it shares the other modules functionality but is closed for modification. Or, an OOP way of thi...
[ 0.00927734375, 0.0093994140625, -0.002410888671875, 0.002349853515625, 0.0019989013671875, -0.004852294921875, 0.0064697265625, 0.0152587890625, 0.01263427734375, -0.0341796875, 0.006500244140625, -0.003143310546875, 0.000637054443359375, 0.028076171875, 0.0025177001953125, -0.00256347...
[ 17664, 73, 707, 110106, 23, 563, 4904, 1238, 3949, 3742, 123309, 28966, 2071, 2685, 10, 3917, 69307, 158189, 152653, 11, 3444, 198343, 43658, 1632, 88996, 3934, 15700, 12008, 1284, 155738, 100, 129344, 180, 20880, 47644, 48716, 3334, 217, 7...
[ 0.279052734375, 0.26611328125, 0.1038818359375, 0.294677734375, 0.09027099609375, 0.16357421875, 0.23828125, 0.103515625, 0.036163330078125, 0.149658203125, 0.1728515625, 0.123779296875, 0.004852294921875, 0.014373779296875, 0.03424072265625, 0.09405517578125, 0.17236328125, 0.2546...
embed
22221367_c0
22221367
fsharp
0
Title: protected virtual methods in f# Problem title: protected virtual methods in f# Tags: abstract, f%23, protected, virtual Problem: protected virtual methods in f# F# does not support the definition of protected methods. Here it is explained why F# replaces virtual methods with abstract methods defined in abstract ...
protected virtual methods in f# protected virtual methods in f# abstract f%23 protected virtual protected virtual methods in f# F# does not support the definition of protected methods. Here it is explained why F# replaces virtual methods with abstract methods defined in abstract classes (see here ). I was wondering if ...
[ 0.002532958984375, 0.005706787109375, 0.00714111328125, -0.0113525390625, 0.00323486328125, -0.0035858154296875, -0.0218505859375, 0.00124359130859375, -0.00112152099609375, -0.00848388671875, -0.006683349609375, 0.01397705078125, 0.018310546875, 0.0118408203125, -0.005126953125, -0.00...
[ 30312, 20513, 150624, 23, 1238, 4904, 164789, 3742, 563, 14602, 959, 8060, 80934, 189050, 15400, 91995, 61924, 61112, 149016, 10, 3917, 47, 56282, 17203, 1295, 50782, 16406, 4126, 756 ]
[ 0.202392578125, 0.2208251953125, 0.2125244140625, 0.050048828125, 0.110595703125, 0.202392578125, 0.22802734375, 0.0304718017578125, 0.1102294921875, 0.012451171875, 0.08038330078125, 0.1429443359375, 0.136962890625, 0.0689697265625, 0.05279541015625, 0.1087646484375, 0.109375, 0.1...
embed
47126898_c0
47126898
fsharp
0
Title: Use environment variables in F# directives Problem title: Use environment variables in F# directives Tags: f%23 Problem: Use environment variables in F# directives In FSI, is it possible to run something like #I @"%APPDATA%/npm/node_modules/blabla/bin/" instead of #I @"C:/Users/username/AppData/Roaming/npm/node_...
Use environment variables in F# directives Use environment variables in F# directives f%23 Use APPDATA node_modules Users Roaming Use environment variables in F# directives In FSI, is it possible to run something like instead of Any other options to make it not sensitive to username?
[ -0.01953125, -0.0023956298828125, -0.01104736328125, 0.0213623046875, -0.00640869140625, 0.0240478515625, 0.0201416015625, 0.0159912109375, -0.001068115234375, -0.0252685546875, -0.004058837890625, 0.0274658203125, 0.0096435546875, 0.0038299560546875, 0.00396728515625, 0.00469970703125...
[ 36836, 65998, 77336, 7, 563, 4904, 8951, 60877, 1238, 3949, 3742, 66440, 17758, 110, 112, 83279, 53400, 2777, 302, 214, 9902, 83, 7722, 11675, 9844, 1884, 64457, 111, 50717, 3249, 959, 191125, 38937, 11627 ]
[ 0.10693359375, 0.1529541015625, 0.19873046875, 0.019378662109375, 0.132080078125, 0.2037353515625, 0.1138916015625, 0.09918212890625, 0.102783203125, 0.076416015625, 0.14404296875, 0.1240234375, 0.04669189453125, 0.06109619140625, 0.07586669921875, 0.08734130859375, 0.10650634765625,...
embed
30633183_c0
30633183
fsharp
0
Title: How do you extract distinct elements from a list? Problem title: How do you extract distinct elements from a list? Tags: f%23 Problem: How do you extract distinct elements from a list? I'm pretty new to f# and I'm having a hard time trying to extract a list of distinct values from a list: let myList = [ 1; 2; 2;...
How do you extract distinct elements from a list? How do you extract distinct elements from a list? f%23 a How How do you extract distinct elements from a list? I'm pretty new to f# and I'm having a hard time trying to extract a list of distinct values from a list: How do I do that? I see that seq has a distinct method...
[ -0.006866455078125, 0.0018310546875, 0.01708984375, -0.00909423828125, 0.0186767578125, -0.01434326171875, -0.004241943359375, 0.0238037109375, 0.009033203125, -0.0208740234375, 0.00022602081298828125, -0.010009765625, 0.0087890625, 0.014892578125, -0.038330078125, 0.015869140625, 0....
[ 11249, 54, 398, 125663, 117781, 80854, 1295, 10, 5303, 32, 1238, 3949, 3742, 28875, 3525, 47, 4904, 19441, 7941, 1733, 31577, 111, 142424, 87, 450, 1957, 40, 864, 1556, 55300, 1284, 959, 7 ]
[ 0.1337890625, 0.0877685546875, 0.068115234375, 0.234619140625, 0.2685546875, 0.22216796875, 0.1644287109375, 0.0531005859375, 0.2279052734375, 0.0289154052734375, 0.1026611328125, 0.083251953125, 0.1295166015625, 0.03607177734375, 0.04193115234375, 0.055999755859375, 0.15625, 0.020...
embed
32205335_c0
32205335
fsharp
0
Title: Error in self-hosting service stack webservice in F# Problem title: Error in self-hosting service stack webservice in F# Tags: f%23, servicestack, service Problem: Error in self-hosting service stack webservice in F# I am creating service using servicestack. I have copied self-hosting code from github Wiki- serv...
Error in self-hosting service stack webservice in F# Error in self-hosting service stack webservice in F# f%23 servicestack service Error Error in self-hosting service stack webservice in F# I am creating service using servicestack. I have copied self-hosting code from github Wiki- servicestack . PFB code which i have ...
[ 0.0087890625, 0.0078125, -0.01312255859375, 0.003662109375, 0.00836181640625, -0.0087890625, 0.001983642578125, -0.0147705078125, -0.0225830078125, -0.024658203125, -0.00762939453125, -0.0191650390625, 0.017578125, 0.014892578125, 0.0279541015625, -0.00372314453125, -0.0040283203125,...
[ 212059, 23, 15970, 40294, 214, 4516, 177261, 1467, 22584, 563, 4904, 1238, 3742, 11374, 102, 2594, 105233, 71200, 18151, 62270, 32102, 39418, 436, 101865, 59121, 35064, 18499, 903 ]
[ 0.20068359375, 0.1297607421875, 0.1602783203125, 0.166748046875, 0.05731201171875, 0.1712646484375, 0.254638671875, 0.113525390625, 0.205322265625, 0.110107421875, 0.2161865234375, 0.048675537109375, 0.15283203125, 0.12890625, 0.180908203125, 0.1900634765625, 0.08001708984375, 0.11...
embed
61033691_c0
61033691
fsharp
0
Title: How to handle an .fsproj file on the command line? Problem title: How to handle an .fsproj file on the command line? Tags: command-line, f%23, fedora Problem: How to handle an .fsproj file on the command line? I would like to use exercism to solve F# exercises. I do this on Fedora. Exercism downloads an .fsproj ...
How to handle an .fsproj file on the command line? How to handle an .fsproj file on the command line? command-line f%23 fedora How Makefile How to handle an .fsproj file on the command line? I would like to use exercism to solve F# exercises. I do this on Fedora. Exercism downloads an .fsproj file. How can I handle it ...
[ -0.004150390625, 0.02099609375, -0.0018768310546875, 0.007110595703125, -0.0062255859375, -0.00897216796875, 0.0034332275390625, -0.0159912109375, 0.01171875, 0.0004367828369140625, -0.0084228515625, -0.01422119140625, -0.0037078857421875, 0.0211181640625, -0.00537109375, -0.0014572143...
[ 11249, 47, 34831, 5, 17447, 3454, 170, 11435, 98, 75101, 13315, 142, 2256, 1238, 3949, 3742, 3820, 11606, 26176, 29822, 70, 2806, 1884, 4527, 56785, 7, 39, 86869, 563, 4904, 81979, 903, 4221, 155534, 7026, 831, 1295, 3249, 100 ]
[ 0.0672607421875, 0.0716552734375, 0.1680908203125, 0.0673828125, 0.19970703125, 0.2203369140625, 0.237060546875, 0.16650390625, 0.089599609375, 0.1712646484375, 0.158447265625, 0.0238189697265625, 0.07171630859375, 0.0771484375, 0.05364990234375, 0.16943359375, 0.056976318359375, 0...
embed
29859658_c0
29859658
fsharp
0
Title: Filtering Rows in F# Problem title: Filtering Rows in F# Tags: f%23, deedle Problem: Filtering Rows in F# let dfff2 = dfff |> Frame.filterRows (fun key row -> row?year <= 1992.0 ) Why do I have to write key in Frame.filterRows (fun key row -> row?year <= 1992.0) if my function only depends on row? What role does...
Filtering Rows in F# Filtering Rows in F# f%23 deedle Filtering Rows dfff2 Frame.filterRows Filtering Rows in F# I have a code where I have the following frame and filter rows as follows: Why do I have to write key in if my function only depends on row? What role does key play here? I will appreciate if anybody could e...
[ 0.0120849609375, 0.0164794921875, -0.0038299560546875, -0.000713348388671875, -0.005279541015625, -0.0224609375, 0.022216796875, 0.0225830078125, -0.0042724609375, 0.0260009765625, -0.00469970703125, -0.0107421875, -0.0174560546875, -0.01251220703125, 0.006195068359375, 0.01025390625, ...
[ 128896, 214, 96190, 563, 4904, 1238, 3742, 8, 297, 133, 4902, 304, 42557, 120337, 12724, 19725, 18151, 25632, 123789, 46312, 15555, 44084, 765, 33022, 22799, 23, 32354, 56566, 31486, 11301, 3688, 77947, 73342, 62775 ]
[ 0.2305908203125, 0.03204345703125, 0.2205810546875, 0.1248779296875, 0.1903076171875, 0.027923583984375, 0.052734375, 0.02752685546875, 0.0791015625, 0.02728271484375, 0.08154296875, 0.00946044921875, 0.0791015625, 0.16552734375, 0.09716796875, 0.020294189453125, 0.0858154296875, 0...
embed
16494932_c0
16494932
fsharp
0
Title: Connect edge.js + node-webkit Problem title: Connect edge.js + node-webkit Tags: c%23, edge.js, node-webkit, f%23 Problem: Connect edge.js + node-webkit Edge.js connects node.js and .NET. Node-webkit is an app runtime based on Chromium and node.js. Has anybody put these two together? Is it possible? Explanation:...
Connect edge.js + node-webkit Connect edge.js + node-webkit c%23 edge.js node-webkit f%23 Connect edge.js Connect edge.js + node-webkit Edge.js connects node.js and .NET. Node-webkit is an app runtime based on Chromium and node.js. Has anybody put these two together? Is it possible? Explanation: I would like to write a...
[ 0, 0.0162353515625, -0.007293701171875, 0.0004520416259765625, 0.00677490234375, 0.0235595703125, -0.007354736328125, 0.006134033203125, 0.00171661376953125, -0.03857421875, -0.00244140625, -0.032958984375, 0.000286102294921875, 0.0250244140625, 0.00958251953125, -0.005889892578125, ...
[ 62448, 121303, 5, 28175, 997, 110, 112, 14051, 9488, 9, 3742, 1238, 69030, 37067, 136, 17777, 438, 83, 4027, 11675, 6032, 35509, 70103, 110346, 20625, 3884, 6097, 6626, 25842, 2071, 7722, 5868, 2806, 1884, 33022, 49966, 678, 12912, 3611, ...
[ 0.2181396484375, 0.272216796875, 0.030670166015625, 0.253173828125, 0.125732421875, 0.1632080078125, 0.2293701171875, 0.10888671875, 0.2374267578125, 0.020416259765625, 0.0184326171875, 0.048431396484375, 0.272705078125, 0.1798095703125, 0.08819580078125, 0.1759033203125, 0.165039062...
embed
3238406_c0
3238406
fsharp
0
Title: In F# how can I produce an expression with a type of Func&lt;obj&gt;? Problem title: In F# how can I produce an expression with a type of Func&lt;obj&gt;? Tags: f%23, c%23-to-f%23 Problem: In F# how can I produce an expression with a type of Func ? I'm working with an api that requires a value of type Func. (Spe...
In F# how can I produce an expression with a type of Func&lt;obj&gt;? In F# how can I produce an expression with a type of Func&lt;obj&gt;? f%23 c%23-to-f%23 Func In F# how can I produce an expression with a type of Func ? I'm working with an api that requires a value of type Func. (Specifically, I'm trying to call Mod...
[ 0.00738525390625, -0.005035400390625, -0.0019989013671875, -0.0078125, -0.007232666015625, 0.0022125244140625, 0.0159912109375, 0.006256103515625, 0.00909423828125, -0.037353515625, -0.00335693359375, -0.00049591064453125, -0.0003452301025390625, -0.0169677734375, 0.025146484375, 0.004...
[ 360, 563, 4904, 3642, 831, 27489, 125195, 678, 10644, 28670, 238, 1277, 3522, 170, 5386, 74, 111, 1238, 3742, 501, 167218, 27495, 188, 420, 20697, 31470, 144570, 34292, 11782, 13293, 6696, 8656, 102, 177997, 14, 14202, 474, 15724, 724, 12...
[ 0.048370361328125, 0.14013671875, 0.2115478515625, 0.052276611328125, 0.060638427734375, 0.187255859375, 0.2666015625, 0.136962890625, 0.229736328125, 0.2139892578125, 0.1043701171875, 0.0404052734375, 0.1142578125, 0.1605224609375, 0.12353515625, 0.005340576171875, 0.0908203125, 0...
embed
46667017_c0
46667017
fsharp
0
Title: How can you count vowels in string in f# Problem title: How can you count vowels in string in f# Tags: f%23, string Problem: How can you count vowels in string in f# How do you do count vowels in string in f# ? let inputText = "sdhkjhsakdnadwqerdsdasefds" let vowels = ["a";"e";"i";"o";"u"] let count inputText = ...
How can you count vowels in string in f# How can you count vowels in string in f# f%23 string How Seq.filter Seq.length Console.ReadLine How can you count vowels in string in f# How do you do count vowels in string in f# ?
[ 0.009033203125, 0.0126953125, 0.00067138671875, 0.0220947265625, 0.007171630859375, -0.01544189453125, 0.01043701171875, -0.006439208984375, -0.0086669921875, -0.0245361328125, 0.0091552734375, -0.025146484375, 0.00823974609375, 0.0196533203125, -0.007598876953125, -0.012451171875, 0...
[ 11249, 831, 54529, 2244, 8420, 7, 23, 79315, 1238, 4904, 3742, 864, 120337, 40777, 31345, 93232 ]
[ 0.026092529296875, 0.044281005859375, 0.19775390625, 0.1845703125, 0.227783203125, 0.0657958984375, 0.0555419921875, 0.216796875, 0.1405029296875, 0.1966552734375, 0.1358642578125, 0.0743408203125, 0.125, 0.06671142578125, 0.0601806640625, 0.0280609130859375 ]
embed
33075932_c0
33075932
fsharp
0
Title: How to create a CSV file and write data into in f# Problem title: How to create a CSV file and write data into in f# Tags: f%23, f%23-data Problem: How to create a CSV file and write data into in f# How can i can i create a csv file in f sharp and write the following record type in it? type test = { G:array<doub...
How to create a CSV file and write data into in f# How to create a CSV file and write data into in f# f%23 f%23-data How CSV G:array P:array GG:array PP:array Un0.Length Un0 G_0 PP0 How to create a CSV file and write data into in f# How can i can i create a csv file in f sharp and write the following record type in it?
[ 0.004180908203125, 0.00860595703125, 0.00732421875, 0.0130615234375, 0.0101318359375, -0.01153564453125, -0.0169677734375, -0.01239013671875, 0.0087890625, 0.028076171875, -0.0125732421875, 0.01123046875, 0.01513671875, -0.0009765625, 0.007171630859375, 0.01263427734375, 0.0013504028...
[ 11249, 47, 28282, 313, 43486, 11435, 136, 33022, 2053, 3934, 23, 1238, 4904, 3742, 27495, 10135, 527, 19305, 53, 46754, 12211, 2389, 20763, 334, 189173, 25632, 17164, 10644, 442 ]
[ 0.04901123046875, 0.022674560546875, 0.132080078125, 0.1077880859375, 0.298828125, 0.1607666015625, 0.06109619140625, 0.159423828125, 0.1158447265625, 0.1617431640625, 0.0589599609375, 0.1236572265625, 0.1968994140625, 0.07501220703125, 0.0963134765625, 0.0911865234375, 0.02116394042...
embed
2894872_c0
2894872
fsharp
0
Title: Initialize and assign values to list of ints without a loop Problem title: Initialize and assign values to list of ints without a loop Tags: f%23, c%23 Problem: Initialize and assign values to list of ints without a loop is there a shorter way to do this: List<int> mins = new List<int>(); for(int i = 0; i<60; i+...
Initialize and assign values to list of ints without a loop Initialize and assign values to list of ints without a loop f%23 c%23 Initialize List mins.Add Initialize and assign values to list of ints without a loop is there a shorter way to do this: Functional version also appreciated if available in c#, also f# versio...
[ -0.00069427490234375, 0.00860595703125, 0.01318359375, -0.0010223388671875, -0.030029296875, -0.023681640625, 0.00897216796875, 0.0012359619140625, 0.002899169921875, -0.0115966796875, 0.019287109375, -0.008056640625, 0.016357421875, 0.02001953125, 0.0244140625, 0.0091552734375, 0.00...
[ 360, 40705, 119066, 136, 95486, 142424, 47, 5303, 23, 933, 15490, 10, 40956, 111, 1238, 3949, 3742, 32036, 881, 7, 284, 4028, 16610, 56, 3917, 54, 903, 28670, 10763, 289, 11389, 77947, 71, 19882, 501, 4904 ]
[ 0.10693359375, 0.1849365234375, 0.13037109375, 0.08367919921875, 0.26123046875, 0.2252197265625, 0.0985107421875, 0.1827392578125, 0.1546630859375, 0.191650390625, 0.169189453125, 0.058624267578125, 0.2130126953125, 0.0143890380859375, 0.077392578125, 0.0048828125, 0.137451171875, ...
embed
68607957_c0
68607957
fsharp
0
Title: Return exact result from Async function F# Problem title: Return exact result from Async function F# Tags: asynchronous, async-await, f%23 Problem: Return exact result from Async function F# So, here is C# code and I`d like to do something like this in F#: class Main { private Task<bool> A() { return Task<bool>....
Return exact result from Async function F# Return exact result from Async function F# asynchronous async-await f%23 Async Main Task FromResult Return exact result from Async function F# So, here is C# code and I`d like to do something like this in F#: I haven`t seen anything similar in MS docs. Any ideas how can i do t...
[ -0.0021209716796875, 0.011474609375, 0.01092529296875, -0.00125885009765625, -0.0027923583984375, -0.0020599365234375, 0.007232666015625, 0.0023040771484375, 0.01019287109375, -0.0064697265625, 0.004180908203125, 0.00982666015625, -0.01129150390625, 0.01007080078125, 0.026611328125, 0....
[ 173340, 24763, 16750, 1295, 62, 12654, 238, 32354, 563, 4904, 10, 101966, 7978, 217, 1238, 3949, 3742, 12321, 9598, 92, 28090, 4332, 7, 7136, 3688, 313, 18151, 1884, 54, 9844, 903, 23, 51592, 21373, 16265, 4439, 25647, 3642, 831 ]
[ 0.2042236328125, 0.2327880859375, 0.214111328125, 0.12255859375, 0.07562255859375, 0.211669921875, 0.11328125, 0.178466796875, 0.138916015625, 0.20166015625, 0.0210418701171875, 0.12255859375, 0.1392822265625, 0.1085205078125, 0.10321044921875, 0.04071044921875, 0.1583251953125, 0....
embed
70145013_c0
70145013
fsharp
0
Title: Ternary conditional operator in interpolated strings in F# Problem title: Ternary conditional operator in interpolated strings in F# Tags: string-interpolation, f%23 Problem: Ternary conditional operator in interpolated strings in F# Is it possible to use the ternary conditional operator in an interpolated strin...
Ternary conditional operator in interpolated strings in F# Ternary conditional operator in interpolated strings in F# string-interpolation f%23 Ternary Ternary conditional operator in interpolated strings in F# Is it possible to use the ternary conditional operator in an interpolated string? Something like:
[ 0.0074462890625, -0.0091552734375, 0.005340576171875, 0.009521484375, -0.011962890625, 0.00274658203125, 0.0303955078125, 0.0145263671875, -0.019775390625, 0.031494140625, -0.0086669921875, 0.0107421875, 0.015380859375, -0.0078125, 0.012451171875, 0.029296875, -0.01165771484375, 0....
[ 2994, 76, 1294, 35431, 289, 39933, 1940, 5877, 27686, 79315, 563, 4904, 10433, 1238, 3949, 3742, 23, 2071, 442, 7722, 47, 4527, 31586, 1884 ]
[ 0.1895751953125, 0.1220703125, 0.1448974609375, 0.1695556640625, 0.086669921875, 0.200927734375, 0.12109375, 0.1241455078125, 0.0694580078125, 0.209716796875, 0.0968017578125, 0.154296875, 0.0533447265625, 0.047698974609375, 0.00274658203125, 0.08056640625, 0.05487060546875, 0.0072...
embed
8396582_c0
8396582
fsharp
0
Title: Hindley Milner Type Inference in F# Problem title: Hindley Milner Type Inference in F# Tags: f%23, type-inference, hindley-milner Problem: Hindley Milner Type Inference in F# Can somebody explain step by step type inference in following F# program: let rec sumList lst = match lst with | [] -> 0 | hd :: tl -> hd ...
Hindley Milner Type Inference in F# Hindley Milner Type Inference in F# f%23 type-inference hindley-milner Hindley Milner Type Inference Hindley Milner Type Inference in F# Can somebody explain step by step type inference in following F# program: I specifically want to see step by step how process of unification in Hin...
[ 0.005401611328125, -0.0150146484375, 0.01165771484375, 0.01483154296875, -0.0084228515625, -0.01953125, 0.00445556640625, 0.0179443359375, 0.004791259765625, -0.01361083984375, 0.003265380859375, -0.028076171875, -0.0081787109375, -0.009033203125, 0.02197265625, 0.0034637451171875, 0...
[ 67944, 4293, 10663, 1679, 60457, 360, 69988, 13, 563, 4904, 23, 1238, 3742, 10644, 73, 34866, 12397, 176256, 73342, 29954, 390, 53498, 6620, 25632, 1528, 1957, 3642, 9433, 51, 41274, 43240 ]
[ 0.161376953125, 0.1707763671875, 0.1575927734375, 0.1524658203125, 0.20654296875, 0.051361083984375, 0.156494140625, 0.01055908203125, 0.129150390625, 0.186279296875, 0.0283660888671875, 0.0677490234375, 0.0931396484375, 0.20849609375, 0.004486083984375, 0.1182861328125, 0.1350097656...
embed
42863562_c0
42863562
fsharp
0
Title: F# Namespace not defined Problem title: F# Namespace not defined Tags: reference, namespaces, f%23, build Problem: F# Namespace not defined my F# project, working up til now, started erroring on: Error 54 The namespace 'Vision' is not defined I've include some images from Visual Studio that show the situation: S...
F# Namespace not defined F# Namespace not defined reference namespaces f%23 build Namespace F# Namespace not defined my F# project, working up til now, started erroring on: I've include some images from Visual Studio that show the situation: SO, I don't get why this built before and now won't build. The refs are there,...
[ -0.0040283203125, 0.0152587890625, 0.01251220703125, 0.018798828125, 0.01275634765625, 0.002716064453125, -0.01080322265625, -0.0218505859375, -0.000713348388671875, 0.041748046875, 0.000774383544921875, -0.01068115234375, 0.00469970703125, -0.00927734375, 0.0186767578125, -0.003555297...
[ 563, 4904, 2096, 109164, 959, 61924, 91067, 210716, 1238, 3949, 3742, 45367, 13452, 20697, 139, 5036, 18499, 98, 26698, 43079, 73372, 22968, 16648, 15969, 2301, 18, 2046, 15400, 903, 88303, 8108, 136, 23742, 18831, 2685, 70, 23, 132283 ]
[ 0.133056640625, 0.214599609375, 0.1558837890625, 0.22998046875, 0.1370849609375, 0.216796875, 0.134033203125, 0.1849365234375, 0.09228515625, 0.01092529296875, 0.1240234375, 0.1734619140625, 0.103515625, 0.039154052734375, 0.010833740234375, 0.07122802734375, 0.1416015625, 0.009735...
embed
22440165_c0
22440165
fsharp
0
Title: How to provoke a module to initialize itself in natural order from top to bottom? Problem title: How to provoke a module to initialize itself in natural order from top to bottom? Tags: f%23, module Problem: How to provoke a module to initialize itself in natural order from top to bottom? Module initialization ru...
How to provoke a module to initialize itself in natural order from top to bottom? How to provoke a module to initialize itself in natural order from top to bottom? f%23 module top How How to provoke a module to initialize itself in natural order from top to bottom? Module initialization rules in F# are unexpectedly str...
[ 0.01025390625, 0.0035400390625, -0.004486083984375, 0.00848388671875, 0.0033111572265625, 0.000701904296875, 0.0203857421875, -0.0096435546875, -0.0014495849609375, -0.027099609375, -0.005340576171875, -0.0084228515625, 0.007537841796875, 0.0198974609375, 0.01513671875, -0.024291992187...
[ 11249, 47, 80675, 13, 88996, 61475, 20650, 68034, 6083, 12989, 1295, 2663, 103136, 32, 1238, 3949, 3742, 23, 63014, 47691, 91736, 563, 4904, 621, 241957, 114453, 136, 1076, 32502, 142027, 756, 7, 128239, 163846, 8108, 38415, 4034 ]
[ 0.095703125, 0.126953125, 0.2314453125, 0.11669921875, 0.27880859375, 0.2099609375, 0.1402587890625, 0.1207275390625, 0.1641845703125, 0.1749267578125, 0.06890869140625, 0.1405029296875, 0.1910400390625, 0.0150909423828125, 0.1087646484375, 0.0413818359375, 0.147216796875, 0.050201...
embed
49888156_c0
49888156
fsharp
0
Title: What&#x27;s the difference between seq.nth and seq.item? Problem title: What&#x27;s the difference between seq.nth and seq.item? Tags: f%23 Problem: What's the difference between seq.nth and seq.item? Looking at the MSDN docs for Seq.nth and Seq.item , they appear to do exactly the same thing. Both have the same...
What&#x27;s the difference between seq.nth and seq.item? What&#x27;s the difference between seq.nth and seq.item? f%23 What seq.nth seq.item What's the difference between seq.nth and seq.item? Looking at the MSDN docs for Seq.nth and Seq.item , they appear to do exactly the same thing. Both have the same description......
[ 0.00982666015625, 0.0059814453125, 0.01483154296875, 0.00041961669921875, 0.00762939453125, -0.0040283203125, 0.0036163330078125, 0.00994873046875, 0.00714111328125, -0.0152587890625, 0.02783203125, -0.0096435546875, -0.006927490234375, 0.023681640625, -0.0145263671875, 0.0006561279296...
[ 4865, 3768, 70, 60212, 17721, 40, 864, 5, 19, 927, 136, 217, 195, 3742, 7, 16265, 51671, 54, 4439, 503, 1836, 108975, 66161, 5701, 13580, 149766, 765, 76811, 159415, 653, 12830, 23, 42486, 15400, 15044 ]
[ 0.03466796875, 0.0548095703125, 0.1058349609375, 0.2303466796875, 0.125, 0.1279296875, 0.2315673828125, 0.087158203125, 0.1705322265625, 0.252197265625, 0.0958251953125, 0.1964111328125, 0.203125, 0.010345458984375, 0.01123046875, 0.051483154296875, 0.11181640625, 0.042816162109375...
embed
12010316_c0
12010316
fsharp
0
Title: Creating a generic List &lt;T&gt; in F# Problem title: Creating a generic List &lt;T&gt; in F# Tags: f%23 Problem: Creating a generic List in F# I am trying to create a standard .NET List<T> in F# like this: module Csv open System; type Sheet () = let rows = new List<Object>() but I get the following error: No c...
Creating a generic List &lt;T&gt; in F# Creating a generic List &lt;T&gt; in F# f%23 Creating List Csv System Sheet Object Csv.fs Creating a generic List in F# I am trying to create a standard .NET List<T> in F# like this: but I get the following error: What am I doing wrong?
[ -0.000896453857421875, 0.0164794921875, 0.0002079010009765625, 0.01031494140625, 0.0152587890625, -0.0137939453125, -0.00160980224609375, 0.0091552734375, 0.003326416015625, 0.00836181640625, -0.01104736328125, -0.0302734375, 0.01470947265625, 0.002288818359375, -0.00665283203125, 0.00...
[ 56781, 189534, 32036, 1277, 618, 1230, 5386, 563, 4904, 1916, 1238, 3742, 67756, 12353, 4687, 126, 134549, 17447, 31577, 28282, 5570, 17777, 23, 1884, 903, 25632, 18499, 444, 20594, 44691 ]
[ 0.12939453125, 0.2261962890625, 0.2301025390625, 0.018768310546875, 0.143310546875, 0.03271484375, 0.0771484375, 0.12158203125, 0.19873046875, 0.00213623046875, 0.023529052734375, 0.082275390625, 0.19287109375, 0.035125732421875, 0.1051025390625, 0.005889892578125, 0.1549072265625, ...
embed
41962513_c0
41962513
fsharp
0
Title: F# on List of Elements Problem title: F# on List of Elements Tags: f%23 Problem: F# on List of Elements I am trying to write a F# function that finds the biggest value. I am new to F# and am confused as to how to implement this with the correct type and recursion. Any help would be greatly appreciated along with...
F# on List of Elements F# on List of Elements f%23 List Elements F# on List of Elements I am trying to write a F# function that finds the biggest value. I am new to F# and am confused as to how to implement this with the correct type and recursion. Any help would be greatly appreciated along with an explanation of how ...
[ -0.01214599609375, 0.0157470703125, -0.0029296875, 0.01080322265625, -0.0120849609375, 0.0045166015625, 0.00799560546875, -0.00958251953125, 0.0196533203125, -0.0078125, 0.006561279296875, -0.00970458984375, -0.014892578125, 0.002960205078125, 0.0191650390625, -0.002655029296875, 0.0...
[ 563, 4904, 98, 32036, 111, 48325, 1238, 3949, 3742, 87, 444, 31577, 33022, 32354, 7413, 7, 70, 129058, 34292, 3525, 47, 55681, 5281, 3642, 29479, 903, 678, 26785, 10644, 136, 195625, 1830, 4358, 2806, 77947, 187136, 43240, 6183, 3871, 282...
[ 0.1788330078125, 0.240966796875, 0.1090087890625, 0.1610107421875, 0.083251953125, 0.2144775390625, 0.1201171875, 0.0389404296875, 0.145263671875, 0.037078857421875, 0.005218505859375, 0.08837890625, 0.09820556640625, 0.206298828125, 0.1474609375, 0.025360107421875, 0.1064453125, 0...
embed
2866789_c0
2866789
fsharp
0
Title: Enum (flags) member composed of other members Problem title: Enum (flags) member composed of other members Tags: f%23 Problem: Enum (flags) member composed of other members [<Flags>] type LikeMatch = | None = 0 | Start = 1 | End = 2 | All = Start ||| End //ERROR: Unexpected identifier in union case I've also tri...
Enum (flags) member composed of other members Enum (flags) member composed of other members f%23 Enum Flags LikeMatch None Start End All ERROR Unexpected Enum (flags) member composed of other members I've also tried qualifying the members with the enum type. Is there a way to do this in F#?
[ -0.0177001953125, -0.0185546875, 0.00262451171875, 0.0186767578125, -0.009033203125, -0.0031890869140625, 0.004638671875, -0.00112152099609375, 0.00836181640625, 0.0010986328125, 0.0174560546875, 0.028076171875, 0.037353515625, 0.00701904296875, 0.006103515625, -0.01202392578125, -0....
[ 357, 316, 190872, 7, 32786, 150350, 71, 111, 3789, 43032, 1238, 3949, 3742, 125726, 18852, 79520, 438, 13794, 18878, 3164, 151206, 24638, 992, 83613, 13, 37842, 7002, 151138, 678, 22, 10644, 3917, 54, 903, 563, 4904 ]
[ 0.1533203125, 0.2744140625, 0.1961669921875, 0.06378173828125, 0.2332763671875, 0.180908203125, 0.027679443359375, 0.06195068359375, 0.1263427734375, 0.222900390625, 0.092041015625, 0.002655029296875, 0.142333984375, 0.210205078125, 0.12158203125, 0.151123046875, 0.0234375, 0.07073...
embed
72039701_c0
72039701
fsharp
0
Title: Do eager pipes create multiple lists in F#? Problem title: Do eager pipes create multiple lists in F#? Tags: lazy-evaluation, f%23 Problem: Do eager pipes create multiple lists in F#? When using a list an pipes does it create mutliple intermediate lists? If so is this not very bad for garbage collection? let myl...
Do eager pipes create multiple lists in F#? Do eager pipes create multiple lists in F#? lazy-evaluation f%23 Do eager pipes create multiple lists in F#? When using a list an pipes does it create mutliple intermediate lists? If so is this not very bad for garbage collection?
[ 0.0189208984375, 0.01092529296875, -0.010498046875, 0.00543212890625, -0.01055908203125, 0.0086669921875, -0.00982666015625, 0.00244140625, 0.0208740234375, -0.014892578125, -0.0064697265625, 0.01177978515625, 0.03369140625, 0.005767822265625, 0.0084228515625, 0.006256103515625, 0.03...
[ 984, 28, 33730, 137158, 7, 28282, 48716, 5303, 563, 4904, 21, 3285, 159258, 3742, 23, 17368, 21144, 150, 8705, 81814, 2182, 4552, 6494, 3671, 402, 42486 ]
[ 0.013641357421875, 0.06494140625, 0.1978759765625, 0.1844482421875, 0.06884765625, 0.1304931640625, 0.1727294921875, 0.21142578125, 0.10662841796875, 0.181396484375, 0.0291290283203125, 0.10540771484375, 0.113037109375, 0.03497314453125, 0.00091552734375, 0.0537109375, 0.034881591796...
embed
48209787_c1
48209787
fsharp
1
ails (textT) (x.Tail)) -> phraseProcessor (textH) (textT) (t) (n+1) | _ -> phraseProcessor (textH) (textT) (t) (n) let rec wordChanger (phrases : string list list) (text:string list) (n:int)= match text with | [] -> n | h :: t -> wordChanger phrases t (phraseProcessor (h) (t) (phrases) (n)) Code signals: FsCheck.NUnit,...
ails (textT) (x.Tail)) -> phraseProcessor (textH) (textT) (t) (n+1) | _ -> phraseProcessor (textH) (textT) (t) (n) let rec wordChanger (phrases : string list list) (text:string list) (n:int)= match text with | [] -> n | h :: t -> wordChanger phrases t (phraseProcessor (h) (t) (phrases) (n)) Code signals: FsCheck.NUnit,...
[ -0.0079345703125, 0.00677490234375, -0.0133056640625, 0.0299072265625, 0.0164794921875, -0.00494384765625, 0.01116943359375, -0.00872802734375, 0.0205078125, 0.016845703125, 0.009521484375, 0.036865234375, 0.01531982421875, -0.00482177734375, 0.01422119140625, 0.017333984375, 0.01867...
[ 10, 7870, 22829, 618, 425, 9874, 379, 113860, 10752, 26531, 748, 841, 18, 21748, 101, 19, 2633, 21954, 2565, 127008, 1505, 179665, 5908, 79315, 5303, 91693, 12, 4288, 14858, 7986, 678, 653, 1096, 1984, 808, 184, 127, 28864, 26073, 563, ...
[ 0.1400146484375, 0.239013671875, 0.1668701171875, 0.1519775390625, 0.0675048828125, 0.15478515625, 0.12744140625, 0.204833984375, 0.050018310546875, 0.1226806640625, 0.0980224609375, 0.12060546875, 0.057708740234375, 0.1619873046875, 0.00390625, 0.038604736328125, 0.024810791015625, ...
embed
52381049_c0
52381049
fsharp
0
Title: How to deal with ValueTask&lt;T&gt; in F#? Problem title: How to deal with ValueTask&lt;T&gt; in F#? Tags: asynchronous, .net, async-await, c%23-to-f%23, f%23 Problem: How to deal with ValueTask in F#? So apparently .NET's brand new ValueTask<T> is the leaner version of Task<T> . That's cool, but if before I had...
How to deal with ValueTask&lt;T&gt; in F#? How to deal with ValueTask&lt;T&gt; in F#? asynchronous .net async-await c%23-to-f%23 f%23 How ValueTask Task Async.AwaitTask How to deal with ValueTask in F#? So apparently .NET's brand new ValueTask<T> is the leaner version of Task<T> . That's cool, but if before I had to us...
[ -0.00494384765625, -0.01544189453125, 0.009521484375, -0.0089111328125, 0.013427734375, -0.00159454345703125, -0.014892578125, -0.006988525390625, 0.0087890625, -0.00543212890625, 0.01470947265625, 0.0166015625, -0.015869140625, 0.007171630859375, 0.018310546875, -0.0024566650390625, ...
[ 11249, 35142, 678, 190060, 9874, 1042, 1277, 618, 1230, 5386, 23, 563, 4904, 47, 12654, 101966, 1179, 238, 7978, 217, 27495, 188, 3742, 9598, 92, 62, 634, 17777, 3525, 65342, 56, 11389, 21185, 4527, 78779, 118664, 5608, 54, 5036 ]
[ 0.055419921875, 0.1661376953125, 0.1578369140625, 0.269287109375, 0.265625, 0.2059326171875, 0.0863037109375, 0.147216796875, 0.05096435546875, 0.1409912109375, 0.054901123046875, 0.1519775390625, 0.2176513671875, 0.02490234375, 0.182861328125, 0.0869140625, 0.1312255859375, 0.0724...
embed
74763937_c1
74763937
fsharp
1
32Exception, numpy, How, Python, Python.NET, Runtime.PythonDLL, Users, miniconda3, python39.dll, Python.Runtime, FSharp.Interop.Dynamic, System.Collections.Generic, EntryPoint, Py.GIL, Py.Import, HResult, Message, Delegates, Source, StackTrace, Python.Runtime.Runtime.Delegates.get_PyGILState_Ensure, Python.Runtime.Runt...
32Exception, numpy, How, Python, Python.NET, Runtime.PythonDLL, Users, miniconda3, python39.dll, Python.Runtime, FSharp.Interop.Dynamic, System.Collections.Generic, EntryPoint, Py.GIL, Py.Import, HResult, Message, Delegates, Source, StackTrace, Python.Runtime.Runtime.Delegates.get_PyGILState_Ensure, Python.Runtime.Runt...
[ -0.0026702880859375, 0.023193359375, -0.01171875, 0.0022735595703125, -0.000583648681640625, 0.002471923828125, 0.0235595703125, -0.008544921875, 0.0125732421875, -0.0086669921875, 0.0036163330078125, 0.003936767578125, -0.0118408203125, 0.00185394287109375, -0.000762939453125, -0.0061...
[ 2789, 19279, 63928, 4, 13269, 6493, 11249, 145581, 5, 17777, 28398, 6032, 683, 53, 50828, 397, 23708, 53400, 7, 140301, 55540, 363, 17198, 9323, 71, 1181, 163321, 93774, 3467, 254, 44851, 2146, 29673, 21068, 12353, 78457, 8996, 5256, 135932...
[ 0.251220703125, 0.1494140625, 0.30908203125, 0.072509765625, 0.16796875, 0.24853515625, 0.1834716796875, 0.3115234375, 0.04901123046875, 0.187744140625, 0.1121826171875, 0.1517333984375, 0.043487548828125, 0.1527099609375, 0.2093505859375, 0.024566650390625, 0.2109375, 0.2048339843...
embed
69283641_c0
69283641
fsharp
0
Title: Does Protobuf support Tuples? Problem title: Does Protobuf support Tuples? Tags: grpc, f%23, c%23, protocol-buffers Problem: Does Protobuf support Tuples? I would like to stream a string tuple from a grpc Server. I can't seem to find a clever way (if there is any) that this can be done. Have any of you had any l...
Does Protobuf support Tuples? Does Protobuf support Tuples? grpc f%23 c%23 protocol-buffers Does Protobuf Tuples Does Protobuf support Tuples? I would like to stream a string tuple from a grpc Server. I can't seem to find a clever way (if there is any) that this can be done. Have any of you had any luck with tuples in ...
[ 0.009033203125, 0.006744384765625, 0.005706787109375, 0.0211181640625, -0.017578125, -0.020751953125, -0.00225830078125, -0.0166015625, -0.0019683837890625, 0.02197265625, 0.01129150390625, -0.03076171875, 0.0120849609375, 0.0189208984375, 0.0027923583984375, 0.0194091796875, 0.00552...
[ 101790, 67241, 978, 420, 8060, 1371, 99726, 4452, 57095, 1238, 3742, 91363, 123759, 1314, 1884, 75973, 79315, 370, 8705, 1295, 22687, 27571, 84434, 678, 563, 4904 ]
[ 0.050048828125, 0.2064208984375, 0.1712646484375, 0.169921875, 0.15869140625, 0.1514892578125, 0.2275390625, 0.0869140625, 0.1361083984375, 0.001495361328125, 0.09039306640625, 0.14306640625, 0.115234375, 0.0221099853515625, 0.011199951171875, 0.1820068359375, 0.156005859375, 0.124...
embed
14130080_c0
14130080
fsharp
0
Title: single and double cannot be augmented with a Measure Problem title: single and double cannot be augmented with a Measure Tags: units-of-measurement, f%23 Problem: single and double cannot be augmented with a Measure Code signals: Measure, FooType, FooByte, Error, FooSbyte, FooInt16, int16, FooUint16, uint16, Foo...
single and double cannot be augmented with a Measure single and double cannot be augmented with a Measure units-of-measurement f%23 Measure FooType FooByte Error FooSbyte FooInt16 int16 FooUint16 uint16 FooInt FooInt32 uint32 FooInt64 int64 FooUint64 uint64 FooNativeint FooUnativeint FooChar FooDecimal FooFloat32 float...
[ 0.007232666015625, 0.015625, -0.0079345703125, -0.0029296875, -0.01177978515625, -0.005584716796875, -0.006683349609375, 0.0123291015625, 0.0218505859375, 0.028076171875, -0.0142822265625, -0.044677734375, 0.01422119140625, -0.00390625, 0.00439453125, 0.00049591064453125, 0.007598876...
[ 11001, 136, 41929, 53418, 9620, 1183, 678, 10, 1215, 11, 56851, 25072, 4390, 37440, 1238, 3949, 3742, 9572, 31, 196707, 75358, 212059, 61028, 2485, 4288, 18, 6460, 13307, 4935, 84068, 318, 365, 21917, 213039, 8331, 34, 2661, 35672, 3714, ...
[ 0.2093505859375, 0.111083984375, 0.236083984375, 0.161376953125, 0.196044921875, 0.1849365234375, 0.1558837890625, 0.06231689453125, 0.1707763671875, 0.189697265625, 0.2154541015625, 0.16650390625, 0.08935546875, 0.1378173828125, 0.0850830078125, 0.048583984375, 0.142578125, 0.0909...
embed
53140929_c0
53140929
fsharp
0
Title: printing with format is printing quotation marks? Problem title: printing with format is printing quotation marks? Tags: f%23 Problem: printing with format is printing quotation marks? When I run printfn "hello" , the outcome is hello (without quotation marks). However, when I run let mystring = "hello" printfn ...
printing with format is printing quotation marks? printing with format is printing quotation marks? f%23 printing with format is printing quotation marks? When I run printfn "hello" , the outcome is hello (without quotation marks). However, when I run the outcome is "hello" (with quotation marks). Why is this and how c...
[ 0.00011396408081054688, 0.0023040771484375, 0.0123291015625, 0.0341796875, -0.0108642578125, -0.00897216796875, 0.0252685546875, 0.0196533203125, 0.01043701171875, 0.0296630859375, 0.0194091796875, -0.0238037109375, -0.01116943359375, -0.012451171875, 0.01123046875, 0.005401611328125, ...
[ 2448, 1916, 678, 9384, 83, 81732, 1363, 16188, 32, 1238, 3949, 3742, 7, 11675, 28412, 14783, 127, 13817, 184345, 33600, 31, 76228, 6056, 33306, 3229, 44084, 6276, 29089, 15490, 19441, 108975 ]
[ 0.183349609375, 0.0946044921875, 0.1507568359375, 0.260498046875, 0.0745849609375, 0.184326171875, 0.07647705078125, 0.130126953125, 0.001983642578125, 0.083740234375, 0.033843994140625, 0.1365966796875, 0.022308349609375, 0.115478515625, 0.1873779296875, 0.158203125, 0.0799560546875...
embed
59314517_c0
59314517
fsharp
0
Title: Recursive map function on tree type Problem title: Recursive map function on tree type Tags: f%23, functional-programming Problem: Recursive map function on tree type Suppose I have the following tree type: type T<'a> = N of 'a * T<'a> list How do I declare a recursive map function for it? Currently I have this,...
Recursive map function on tree type Recursive map function on tree type f%23 functional-programming Recursive Recursive map function on tree type Suppose I have the following tree type: type T<'a> = N of 'a * T<'a> list How do I declare a recursive map function for it? Currently I have this, but it's an infinite loop: ...
[ -0.00592041015625, 0.022705078125, 0.00885009765625, -0.0120849609375, -0.003814697265625, -0.01458740234375, -0.00555419921875, 0.0167236328125, 0.007080078125, -0.03955078125, -0.000514984130859375, -0.0262451171875, -0.00921630859375, 0.0211181640625, 0.0302734375, 0.00225830078125,...
[ 853, 48650, 5844, 22288, 32354, 98, 53201, 10644, 1238, 3949, 3742, 123309, 28966, 121691, 765, 25632, 384, 11, 541, 111, 661, 5303, 11249, 54, 87, 159978, 10, 195625, 100, 442, 114063, 903, 1284, 7, 54241, 13, 40956, 71, 77947, 5122, 1...
[ 0.1046142578125, 0.22998046875, 0.1790771484375, 0.2208251953125, 0.2109375, 0.07098388671875, 0.22802734375, 0.17919921875, 0.05047607421875, 0.0352783203125, 0.1402587890625, 0.141357421875, 0.1197509765625, 0.03399658203125, 0.0226898193359375, 0.0943603515625, 0.10125732421875, ...
embed
42570370_c0
42570370
fsharp
0
Title: How to apply optional value to an optional function in F# Problem title: How to apply optional value to an optional function in F# Tags: f%23 Problem: How to apply optional value to an optional function in F# In F# I have an optional function with signature type func= (string-> string list) option . How to pass ...
How to apply optional value to an optional function in F# How to apply optional value to an optional function in F# f%23 How How to apply optional value to an optional function in F# In F# I have an optional function with signature type func= (string-> string list) option . How to pass an optional string parameter of s...
[ 0, -0.001495361328125, 0.008056640625, -0.00012111663818359375, -0.01214599609375, -0.0177001953125, 0.01513671875, -0.0255126953125, -0.006072998046875, 0.0140380859375, 0.00933837890625, -0.00665283203125, -0.01153564453125, -0.00130462646484375, 0.011962890625, -0.00396728515625, ...
[ 11249, 47, 59911, 35829, 289, 34292, 32354, 23, 563, 4904, 1238, 3742, 138256, 10644, 7477, 238, 1369, 91693, 103607, 79315, 5303, 27875, 171859, 121, 39, 70, 55300, 3917, 54, 15490, 8512, 71, 2174 ]
[ 0.0802001953125, 0.093505859375, 0.1851806640625, 0.2373046875, 0.18359375, 0.2037353515625, 0.197021484375, 0.03875732421875, 0.1417236328125, 0.20751953125, 0.09368896484375, 0.09417724609375, 0.1751708984375, 0.08544921875, 0.13037109375, 0.08990478515625, 0.05474853515625, 0.13...
embed
49800729_c0
49800729
fsharp
0
Title: How to set breakpoint inside with part of try-with expression? Problem title: How to set breakpoint inside with part of try-with expression? Tags: f%23 Problem: How to set breakpoint inside with part of try-with expression? try raise (InvalidOperationException()) with e -> printfn "WTF" I want debugger to stop a...
How to set breakpoint inside with part of try-with expression? How to set breakpoint inside with part of try-with expression? f%23 InvalidOperationException How WTF How to set breakpoint inside with part of try-with expression? I want debugger to stop at line printfn "WTF" , but this does not happen. Neither in Visual ...
[ -0.009033203125, 0.00125885009765625, 0.0045166015625, -0.0146484375, 0.005462646484375, 0.001556396484375, -0.0026397705078125, 0.005157470703125, 0.017333984375, -0.0177001953125, 0.00101470947265625, 0.02294921875, 0.00677490234375, 0.004302978515625, 0.03564453125, -0.0022277832031...
[ 11249, 47, 5423, 36356, 38496, 46132, 678, 2831, 9790, 76228, 125195, 1238, 3949, 3742, 7013, 156823, 63928, 601, 30992, 3444, 8, 978, 21407, 7279, 13315, 28412, 14783, 1456, 959, 53383, 73372, 22968, 44982, 113954, 44691 ]
[ 0.056732177734375, 0.026947021484375, 0.162353515625, 0.185302734375, 0.2332763671875, 0.2060546875, 0.09326171875, 0.1328125, 0.201904296875, 0.213134765625, 0.195556640625, 0.031463623046875, 0.0020751953125, 0.1365966796875, 0.10504150390625, 0.11279296875, 0.0689697265625, 0.01...
embed
44360348_c1
44360348
fsharp
1
7651D3EE", actual.Id ) Assert.Equal ( DateTimeOffset( 636322011751405346L, TimeSpan.FromHours(-4.0) ), actual.Created ) Assert.Equal ( item, actual.Item ) Code signals: Unit, Test, Error, xUnit.net, TestDriven.Net, Ploeh.Samples, System, Messaging, Envelope, Guid, Created, DateTimeOffset, Item, BC86-77227651D3EE, DateT...
7651D3EE", actual.Id ) Assert.Equal ( DateTimeOffset( 636322011751405346L, TimeSpan.FromHours(-4.0) ), actual.Created ) Assert.Equal ( item, actual.Item ) Code signals: Unit, Test, Error, xUnit.net, TestDriven.Net, Ploeh.Samples, System, Messaging, Envelope, Guid, Created, DateTimeOffset, Item, BC86-77227651D3EE, DateT...
[ -0.01129150390625, 0.01251220703125, 0.0010833740234375, 0.004119873046875, 0.0203857421875, -0.00048828125, -0.0213623046875, -0.018310546875, 0.004791259765625, 0.0224609375, 0.014892578125, 0.0380859375, 0.006072998046875, 0.01312255859375, 0.004730224609375, 0.0157470703125, 0.00...
[ 361, 196819, 397, 363, 24821, 830, 8561, 568, 71, 1301, 33657, 647, 71723, 25512, 70059, 150369, 3509, 12069, 169771, 10680, 14226, 9271, 866, 19055, 3180, 168407, 11193, 12824, 9, 151152, 63784, 27686, 35735, 2982, 1388, 28864, 26073, 7, 1...
[ 0.06640625, 0.2293701171875, 0.07763671875, 0.1033935546875, 0.1683349609375, 0.02398681640625, 0.2418212890625, 0.061859130859375, 0.0880126953125, 0.0665283203125, 0.188232421875, 0.05303955078125, 0.1641845703125, 0.1072998046875, 0.1251220703125, 0.162841796875, 0.10211181640625,...
embed
11144481_c0
11144481
fsharp
0
Title: Is there a way of knowing if a certain path is a directory path Problem title: Is there a way of knowing if a certain path is a directory path Tags: .net, f%23 Problem: Is there a way of knowing if a certain path is a directory path I have a string var (path) that represents a path: printfn "Please enter a path"...
Is there a way of knowing if a certain path is a directory path Is there a way of knowing if a certain path is a directory path .net f%23 Please System.Console.ReadLine Is there a way of knowing if a certain path is a directory path I have a string var (path) that represents a path: Is there a way of knowing wheter thi...
[ 0.0027313232421875, -0.006011962890625, 0.004791259765625, 0.019287109375, -0.00897216796875, 0.0169677734375, -0.0111083984375, -0.005035400390625, -0.004486083984375, -0.0228271484375, 0.01446533203125, 0.0033721923828125, -0.0218505859375, 0.00970458984375, 0.014892578125, 0.0269775...
[ 2071, 2685, 10, 3917, 111, 141956, 2174, 24233, 60875, 83, 14364, 53, 1179, 1238, 3949, 3742, 30607, 12353, 40777, 31345, 93232, 79315, 285, 128405, 33636, 38325, 903, 100, 707, 20324, 11435 ]
[ 0.035186767578125, 0.06561279296875, 0.084228515625, 0.1226806640625, 0.06976318359375, 0.1702880859375, 0.113037109375, 0.11279296875, 0.241455078125, 0.123291015625, 0.1566162109375, 0.1075439453125, 0.1785888671875, 0.07342529296875, 0.0236358642578125, 0.14208984375, 0.0349121093...
embed
1550986_c0
1550986
fsharp
0
Title: What am I doing wrong in this F# code? Problem title: What am I doing wrong in this F# code? Tags: f%23, parallel-processing Problem: What am I doing wrong in this F# code? let parallelTest n = Color(Color.DeepPink, Triangles(sphere n));; Parallel.For(0,10,new Action(parallelTest));; Error message : error FS0001...
What am I doing wrong in this F# code? What am I doing wrong in this F# code? f%23 parallel-processing What What am I doing wrong in this F# code? let parallelTest n = Color(Color.DeepPink, Triangles(sphere n));; Parallel.For(0,10,new Action(parallelTest));; Error message : error FS0001: Type mismatch. Expecting a int ...
[ -0.0157470703125, 0.002685546875, -0.020751953125, -0.0224609375, -0.00640869140625, -0.01214599609375, 0.01153564453125, -0.0018157958984375, -0.01275634765625, 0.01348876953125, 0.0052490234375, 0.021484375, 0.0185546875, -0.000530242919921875, -0.00579833984375, 0.01397705078125, ...
[ 4865, 444, 87, 20594, 44691, 23, 903, 563, 4904, 18151, 1238, 3949, 3742, 95103, 63923, 111337, 653, 51193, 1484, 4657, 4517, 683, 14068, 4699, 109217, 157695, 211485, 18537, 2389, 963, 54936, 57945, 6276, 1229, 141, 212059, 26008, 18499, 9...
[ 0.020660400390625, 0.07763671875, 0.06451416015625, 0.0758056640625, 0.16357421875, 0.058837890625, 0.042388916015625, 0.08905029296875, 0.165771484375, 0.125732421875, 0.094970703125, 0.0120849609375, 0.1820068359375, 0.2232666015625, 0.1298828125, 0.2154541015625, 0.0609130859375, ...
embed
15825034_c0
15825034
fsharp
0
Title: what is use cases of F# explicit type parameters? Problem title: what is use cases of F# explicit type parameters? Tags: f%23, type-parameter Problem: what is use cases of F# explicit type parameters? As I know, explicit type parameters in value definitions is a one way to overcome "value restriction" problem. I...
what is use cases of F# explicit type parameters? what is use cases of F# explicit type parameters? f%23 type-parameter what is use cases of F# explicit type parameters? As I know, explicit type parameters in value definitions is a one way to overcome "value restriction" problem. Is there another cases when I need to u...
[ -0.006683349609375, -0.01031494140625, -0.005157470703125, -0.00970458984375, 0.0140380859375, -0.005096435546875, 0.0011749267578125, 0.0146484375, 0.0072021484375, 0.00013446807861328125, 0.0189208984375, -0.01123046875, 0.0018310546875, -0.016845703125, 0.006378173828125, -0.0143432...
[ 2367, 83, 4527, 50218, 563, 4904, 143726, 10644, 171859, 7, 1238, 3742, 6276, 29089, 111, 87, 34292, 80934, 3917, 47, 645, 45738, 27494, 13, 185190, 2967, 3229, 3871, 2856, 83613, 60923, 189534, 64549, 155648, 55291, 1620, 27853 ]
[ 0.0194549560546875, 0.03753662109375, 0.1365966796875, 0.174072265625, 0.1175537109375, 0.2125244140625, 0.246826171875, 0.197021484375, 0.1990966796875, 0.06268310546875, 0.0872802734375, 0.127197265625, 0.0858154296875, 0.1114501953125, 0.0191650390625, 0.0001220703125, 0.123657226...
embed
8462741_c0
8462741
fsharp
0
Title: Find maximum, minimum and average in F# Problem title: Find maximum, minimum and average in F# Tags: f%23, f%23-interactive Problem: Find maximum, minimum and average in F# I want to find maximum, minimum and average in an array without .NET in F#. I used this code but it is not working: let mutable max = 0 let ...
Find maximum, minimum and average in F# Find maximum, minimum and average in F# f%23 f%23-interactive Find arrX.Length Find maximum, minimum and average in F# I want to find maximum, minimum and average in an array without .NET in F#. I used this code but it is not working:
[ 0.00927734375, 0.00238037109375, 0.021728515625, 0.00872802734375, -0.0081787109375, 0.0162353515625, 0.034423828125, 0.0106201171875, 0.0191650390625, 0.0146484375, 0.00150299072265625, 0.0050048828125, -0.00286865234375, -0.005828857421875, 0.033935546875, -0.00927734375, 0.0026855...
[ 26040, 38132, 15440, 136, 83080, 23, 563, 4904, 4, 1238, 3742, 10433, 71232, 187, 1542, 449, 3444, 7413, 10298, 53, 15490, 17777, 903, 18151, 959, 20697 ]
[ 0.109375, 0.184814453125, 0.1846923828125, 0.0762939453125, 0.213623046875, 0.0621337890625, 0.1390380859375, 0.2176513671875, 0.03472900390625, 0.024200439453125, 0.0711669921875, 0.003997802734375, 0.00372314453125, 0.01080322265625, 0.106201171875, 0.0149078369140625, 0.0530090332...
embed
48113281_c0
48113281
fsharp
0
Title: How to create nested JSON objects in FSharp Problem title: How to create nested JSON objects in FSharp Tags: json, f%23 Problem: How to create nested JSON objects in FSharp What is the best and readable solution for creating complex nexted JSON objects in F#? Something like the following JavaScript code: { data:...
How to create nested JSON objects in FSharp How to create nested JSON objects in FSharp json f%23 How JSON FSharp first_name last_name How to create nested JSON objects in FSharp What is the best and readable solution for creating complex nexted JSON objects in F#? Something like the following JavaScript code:
[ -0.001922607421875, 0.023681640625, -0.006134033203125, 0.01434326171875, 0.0037994384765625, 0.0037689208984375, -0.013916015625, 0.0027923583984375, 0.005126953125, -0.0224609375, 0.0087890625, 0.001617431640625, 0.0064697265625, 0.0140380859375, 0.021728515625, 0.0081787109375, -0...
[ 11249, 47, 28282, 8512, 71, 821, 58627, 36746, 7, 23, 93774, 3467, 254, 1647, 1681, 1238, 3949, 3742, 5117, 11627, 4568, 2965, 12301, 2886, 29806, 105233, 27140, 11737, 297, 563, 4904, 200905, 1884, 25632, 17925, 18151 ]
[ 0.03643798828125, 0.05084228515625, 0.1666259765625, 0.250732421875, 0.17724609375, 0.1497802734375, 0.2353515625, 0.1988525390625, 0.013946533203125, 0.0243682861328125, 0.124755859375, 0.1922607421875, 0.205810546875, 0.0849609375, 0.16357421875, 0.04107666015625, 0.012420654296875...
embed
37923322_c0
37923322
fsharp
0
Title: why will [2..3..10] be interpreted as [2;5;8] Problem title: why will [2..3..10] be interpreted as [2;5;8] Tags: f%23, functional-programming Problem: why will [2..3..10] be interpreted as [2;5;8] When I declare the following list let list = [2..3..10] F# interactive will interpret it as a list containing [2; 5;...
why will [2..3..10] be interpreted as [2;5;8] why will [2..3..10] be interpreted as [2;5;8] f%23 functional-programming why will [2..3..10] be interpreted as [2;5;8] When I declare the following list F# interactive will interpret it as a list containing [2; 5; 8] . The console output would be: What's the math behind? I...
[ 0.004791259765625, -0.00051116943359375, -0.00006079673767089844, 0.0035400390625, -0.000759124755859375, 0.02978515625, -0.01116943359375, 0.0126953125, -0.00092315673828125, 0.0196533203125, 0.00543212890625, -0.0008087158203125, 0.004486083984375, 0.00958251953125, 0.001556396484375, ...
[ 15400, 1221, 5442, 28705, 963, 29481, 237, 304, 758, 1019, 74, 1238, 3742, 123309, 28966, 159978, 25632, 5303, 563, 4904, 212398, 70541, 190, 382, 130250, 140992, 4865, 70, 48909, 50155, 1957, 107730, 62548, 5 ]
[ 0.0992431640625, 0.0182037353515625, 0.08154296875, 0.126953125, 0.1793212890625, 0.1978759765625, 0.03778076171875, 0.07342529296875, 0.09674072265625, 0.1568603515625, 0.0253753662109375, 0.06298828125, 0.132080078125, 0.1568603515625, 0.09893798828125, 0.1806640625, 0.093994140625...
embed
49778198_c0
49778198
fsharp
0
Title: More instructions in lambda function body Problem title: More instructions in lambda function body Tags: f%23, f%23-interactive Problem: More instructions in lambda function body As I know, I am able to define lambda functions in F# like that (fun arg -> arg * arg) But how can I extend the body of that definitio...
More instructions in lambda function body More instructions in lambda function body f%23 f%23-interactive More More instructions in lambda function body As I know, I am able to define lambda functions in F# like that But how can I extend the body of that definition to more than one expression? In some pseudo-code, it c...
[ 0.013916015625, 0.007598876953125, 0.0123291015625, 0.00506591796875, 0.006500244140625, -0.00653076171875, 0.02734375, 0.01068115234375, 0.00860595703125, -0.035400390625, 0.00616455078125, -0.007049560546875, -0.01007080078125, 0.0025787353515625, 0.0126953125, -0.004669189453125, ...
[ 5455, 167934, 21, 6492, 85, 32354, 14361, 1238, 3742, 27495, 10433, 71232, 3714, 19048, 61924, 7, 23, 563, 4904, 1884, 450, 3642, 831, 65042, 70, 80934, 47, 1286, 3501, 1632, 125195, 74189, 40899, 6713, 87, 3871, 442, 54, 5609, 93425 ]
[ 0.1199951171875, 0.22705078125, 0.0858154296875, 0.1951904296875, 0.15771484375, 0.191650390625, 0.1749267578125, 0.0692138671875, 0.071533203125, 0.038330078125, 0.08111572265625, 0.07330322265625, 0.0396728515625, 0.057098388671875, 0.1590576171875, 0.0081787109375, 0.0142517089843...
embed
44947719_c0
44947719
fsharp
0
Title: F# yield! (yieldbang) operator Problem title: F# yield! (yieldbang) operator Tags: yield, f%23 Problem: F# yield! (yieldbang) operator I am learning F# at the moment but I'm having a hard time understanding this: let allPrimes = let rec allPrimes' n = seq { if isPrime n then yield n yield! allPrimes' (n + 1) } a...
F# yield! (yieldbang) operator F# yield! (yieldbang) operator yield f%23 F# yield! (yieldbang) operator I am learning F# at the moment but I'm having a hard time understanding this: I am not able to figure out what the yield! operator exactly does even though I've read other simpler examples and it seems yield! returns...
[ 0.0262451171875, 0.0162353515625, 0.013916015625, 0.0272216796875, 0.0242919921875, 0.00531005859375, 0.0135498046875, -0.00762939453125, 0.0069580078125, -0.035888671875, 0.00811767578125, 0.01397705078125, 0.01531982421875, -0.01165771484375, -0.003570556640625, -0.006317138671875, ...
[ 563, 4904, 11180, 19388, 38, 2387, 8900, 39933, 16, 1238, 3949, 3742, 87, 52080, 99, 70, 3095, 19441, 7941, 1733, 100094, 903, 959, 19048, 26366, 1810, 2367, 66161, 14602, 12301, 8781, 27781, 442, 37202, 30646, 7, 75414, 40, 944, 3956 ]
[ 0.15576171875, 0.227294921875, 0.20947265625, 0.300048828125, 0.1929931640625, 0.133544921875, 0.270263671875, 0.2578125, 0.007965087890625, 0.1328125, 0.10260009765625, 0.193359375, 0.00408935546875, 0.0714111328125, 0.00238037109375, 0.02679443359375, 0.051239013671875, 0.0044555...
embed
29004174_c0
29004174
fsharp
0
Title: F# autocomplete doesn&#x27;t start until autocompleting members Problem title: F# autocomplete doesn&#x27;t start until autocompleting members Tags: f%23, visual-studio Problem: F# autocomplete doesn't start until autocompleting members In visual studio and monodevelop, F# autocomplete doesn't start until you st...
F# autocomplete doesn&#x27;t start until autocompleting members F# autocomplete doesn&#x27;t start until autocompleting members f%23 visual-studio Syst System.TimeSp F# autocomplete doesn't start until autocompleting members In visual studio and monodevelop, F# autocomplete doesn't start until you start looking at clas...
[ 0.0010223388671875, -0.00286865234375, -0.00848388671875, -0.00408935546875, -0.0299072265625, 0.0087890625, 0.0186767578125, 0.0133056640625, -0.006683349609375, -0.01324462890625, 0.01055908203125, 0.02490234375, -0.00061798095703125, 0.0245361328125, 0.0150146484375, -0.02099609375,...
[ 563, 4904, 1809, 277, 131801, 22027, 3768, 18, 4034, 24189, 54572, 214, 43032, 1238, 21176, 52629, 4843, 12353, 70059, 31923, 12275, 136, 22460, 229815, 16487, 18507, 707, 210716, 3688, 23742, 4966, 1221, 44084, 903 ]
[ 0.171142578125, 0.2364501953125, 0.221923828125, 0.1727294921875, 0.224609375, 0.042633056640625, 0.0318603515625, 0.080322265625, 0.1627197265625, 0.0831298828125, 0.188720703125, 0.0106201171875, 0.2135009765625, 0.0123291015625, 0.174072265625, 0.143798828125, 0.01068115234375, ...
embed
44092863_c0
44092863
fsharp
0
Title: Force any object to be null in F# Problem title: Force any object to be null in F# Tags: f%23, .net, types, option-type Problem: Force any object to be null in F# Objects can be casted in either direction, which is unsafe. How can I force any object to be null and use them in production code? For example, in Opt...
Force any object to be null in F# Force any object to be null in F# f%23 .net types option-type Force Option Some Unchecked.defaultof None Force any object to be null in F# Objects can be casted in either direction, which is unsafe. How can I force any object to be null and use them in production code? For example, in ...
[ 0.023681640625, 0.010498046875, 0.03466796875, 0.002899169921875, -0.006072998046875, -0.0289306640625, -0.0079345703125, -0.0264892578125, -0.00531005859375, 0.005828857421875, -0.0081787109375, -0.0086669921875, 0.0087890625, 0.010498046875, -0.00119781494140625, -0.00543212890625, ...
[ 59591, 2499, 36746, 47, 186, 56574, 563, 4904, 23, 1238, 3742, 1179, 52895, 35829, 50986, 86769, 31384, 992, 78292, 297, 214810, 4390, 438, 134549, 831, 377, 14437, 40101, 48225, 51, 115840, 11249, 37772, 4527, 36049, 18151, 618, 72546, 138...
[ 0.2188720703125, 0.1092529296875, 0.2078857421875, 0.087646484375, 0.1300048828125, 0.244384765625, 0.134521484375, 0.2064208984375, 0.016143798828125, 0.054443359375, 0.0838623046875, 0.1015625, 0.132080078125, 0.14453125, 0.139892578125, 0.1749267578125, 0.0948486328125, 0.074768...
embed
32050142_c0
32050142
fsharp
0
Title: how to simulated multiple inheritance pattern in F#? Problem title: how to simulated multiple inheritance pattern in F#? Tags: f%23, inheritance Problem: how to simulated multiple inheritance pattern in F#? I have one class Service and One interface IService . I want to implement this two to ExampleService class...
how to simulated multiple inheritance pattern in F#? how to simulated multiple inheritance pattern in F#? f%23 inheritance ExampleService Service IService how to simulated multiple inheritance pattern in F#? I have one class Service and One interface IService . I want to implement this two to ExampleService class. I kn...
[ -0.004547119140625, -0.00445556640625, -0.010498046875, 0.0250244140625, -0.0164794921875, 0.00335693359375, 0.00135040283203125, 0.016845703125, 0.00946044921875, -0.004669189453125, 0.005218505859375, -0.003326416015625, 0.0126953125, 0.0206298828125, -0.00146484375, -0.008056640625,...
[ 3642, 47, 40226, 3674, 48716, 23, 3334, 217, 7154, 103510, 563, 4904, 32, 1238, 3949, 3742, 89536, 8705, 121979, 12349, 87, 1632, 18507, 136, 6561, 101758, 3444, 29479, 903, 6626, 3714, 831, 54, 17368, 35064, 18151, 17 ]
[ 0.0855712890625, 0.09173583984375, 0.27197265625, 0.0885009765625, 0.253173828125, 0.07843017578125, 0.1502685546875, 0.0836181640625, 0.056793212890625, 0.190185546875, 0.140380859375, 0.2117919921875, 0.0133056640625, 0.09716796875, 0.015045166015625, 0.1082763671875, 0.14660644531...
embed
37388418_c0
37388418
fsharp
0
Title: Using algebraic data types for F# to solve algebra problems Problem title: Using algebraic data types for F# to solve algebra problems Tags: algebra, algebraic-data-types, f%23 Problem: Using algebraic data types for F# to solve algebra problems How do algebraic data types in f# work? I want to see a basic sampl...
Using algebraic data types for F# to solve algebra problems Using algebraic data types for F# to solve algebra problems algebra algebraic-data-types f%23 Using Using algebraic data types for F# to solve algebra problems How do algebraic data types in f# work? I want to see a basic sample program to explain it but can't...
[ 0.0130615234375, 0.01531982421875, 0.00286865234375, 0.0162353515625, -0.01953125, 0.003265380859375, -0.0198974609375, 0.0177001953125, 0.00103759765625, -0.01055908203125, 0.000698089599609375, -0.0255126953125, 0.00072479248046875, 0.01361083984375, 0.00836181640625, -0.007690429687...
[ 345, 6953, 144, 429, 2844, 1771, 2053, 52895, 100, 563, 4904, 47, 86869, 44402, 10135, 50986, 1238, 3742, 11249, 54, 23, 4488, 3444, 1957, 10, 62822, 121413, 1528, 73342, 1284, 7413, 27781, 51139, 18151, 68587, 9523, 26168, 51347, 90791, ...
[ 0.055419921875, 0.03387451171875, 0.06011962890625, 0.0958251953125, 0.16064453125, 0.10888671875, 0.14892578125, 0.2271728515625, 0.04473876953125, 0.12744140625, 0.22509765625, 0.05181884765625, 0.1103515625, 0.1138916015625, 0.10504150390625, 0.208740234375, 0.116455078125, 0.06...
embed
50448336_c1
50448336
fsharp
1
<IGame> interfaceType = match; But when I try to do the same with my F# library like this: var match = new SoccerMatch(new List<SoccerGame>()); IMatch<IGame> interfaceType = match; I get the following error: Error CS0029 Cannot implicitly convert type 'FSharp.SoccerMatch' to 'FSharp.IMatch' Im thinking that something m...
<IGame> interfaceType = match; But when I try to do the same with my F# library like this: var match = new SoccerMatch(new List<SoccerGame>()); IMatch<IGame> interfaceType = match; I get the following error: Error CS0029 Cannot implicitly convert type 'FSharp.SoccerMatch' to 'FSharp.IMatch' Im thinking that something m...
[ -0.017333984375, 0.0157470703125, -0.007568359375, 0.002593994140625, -0.002044677734375, -0.009765625, -0.0272216796875, 0.01025390625, -0.001739501953125, 0.008544921875, 0.0079345703125, -0.00096893310546875, 0.005279541015625, -0.01129150390625, 0.0147705078125, -0.007537841796875,...
[ 568, 107576, 101758, 196707, 2203, 14858, 4966, 9790, 5701, 563, 4904, 35773, 1294, 903, 285, 3525, 183845, 79520, 206, 54936, 32036, 8912, 10060, 56, 87, 25632, 18499, 212059, 25841, 7049, 4235, 4171, 10869, 165164, 96760, 10644, 36381, 3467...
[ 0.132080078125, 0.2318115234375, 0.214111328125, 0.224853515625, 0.0816650390625, 0.21826171875, 0.00946044921875, 0.045928955078125, 0.039031982421875, 0.10162353515625, 0.1796875, 0.1328125, 0.01873779296875, 0.12109375, 0.173583984375, 0.037811279296875, 0.194091796875, 0.189331...
embed
60147779_c0
60147779
fsharp
0
Title: How can I easily Ignore [&lt;Fact(Skip=&quot;~~&quot;)&gt;] annotation? Problem title: How can I easily Ignore [&lt;Fact(Skip=&quot;~~&quot;)&gt;] annotation? Tags: xunit, f%23 Problem: How can I easily Ignore [ ] annotation? I have many test code lines annotated with [<Fact(Skip="~~")>] expression. However, whe...
How can I easily Ignore [&lt;Fact(Skip=&quot;~~&quot;)&gt;] annotation? How can I easily Ignore [&lt;Fact(Skip=&quot;~~&quot;)&gt;] annotation? xunit f%23 How Ignore Fact Skip How can I easily Ignore [ ] annotation? I have many test code lines annotated with [<Fact(Skip="~~")>] expression. However, when I run test with...
[ -0.00007104873657226562, 0.0086669921875, 0.004608154296875, -0.006195068359375, -0.0169677734375, 0.003936767578125, 0.00885009765625, -0.003143310546875, 0.0155029296875, 0.03955078125, 0.01434326171875, 0.0223388671875, -0.0272216796875, 0.0283203125, -0.00055694580078125, 0.0136108...
[ 11249, 831, 72546, 87, 11137, 107, 135518, 18, 294, 301, 254, 26236, 8668, 22062, 10438, 6773, 3742, 132640, 91958, 378, 5941, 3034, 18151, 124519, 132, 125195, 11675, 20633, 1179, 75101, 959, 90698, 36457, 50218, 96760 ]
[ 0.0335693359375, 0.024169921875, 0.1624755859375, 0.03521728515625, 0.13037109375, 0.1134033203125, 0.1636962890625, 0.03369140625, 0.0423583984375, 0.1851806640625, 0.14404296875, 0.1092529296875, 0.191162109375, 0.1251220703125, 0.004241943359375, 0.1060791015625, 0.05810546875, ...
embed
75728592_c0
75728592
fsharp
0
Title: F# - Determine if an argument is a function Problem title: F# - Determine if an argument is a function Tags: f%23 Problem: F# - Determine if an argument is a function let isFunction ``functionOrValue`` = ??? let aFunction p1 p2 ... = <code> let aValue = 5 // or obj() or whatever type isFunction aFunction // true...
F# - Determine if an argument is a function F# - Determine if an argument is a function f%23 Determine F# - Determine if an argument is a function How to check in a function body if a passed argument is a function? Or in other words, what would isFunction code look like?
[ -0.002960205078125, -0.006072998046875, 0.0040283203125, 0.0146484375, -0.0213623046875, -0.0026092529296875, -0.00518798828125, -0.0220947265625, -0.0098876953125, -0.0125732421875, 0.005157470703125, -0.00086212158203125, -0.026123046875, 0.0087890625, 0.0286865234375, -0.0048828125,...
[ 563, 4904, 262, 30524, 13, 2174, 10750, 83, 10, 32354, 20, 142, 1238, 3949, 3742, 11249, 47, 12765, 23, 14361, 115081, 2367, 2806, 97249, 10763, 18151, 6713, 1884 ]
[ 0.101318359375, 0.177490234375, 0.06427001953125, 0.1497802734375, 0.08087158203125, 0.123291015625, 0.2467041015625, 0.1468505859375, 0.11328125, 0.23095703125, 0.005645751953125, 0.0181732177734375, 0.06976318359375, 0.016143798828125, 0.1123046875, 0.011566162109375, 0.03872680664...
embed