chunk_id
large_stringlengths
7
11
question_id
large_stringlengths
4
8
language
large_stringclasses
1 value
chunk_index
int64
0
6
chunk_text
large_stringlengths
127
3.8k
sparse_text
large_stringlengths
120
5.55k
dense_vector
listlengths
3.58k
3.58k
sparse_indices
listlengths
2
238
sparse_values
listlengths
2
238
export_source
large_stringclasses
1 value
60629486_c0
60629486
haskell
0
Title: Weird Haskell 'stack' error: "can't load .so/.DLL" "not a writable segment" Problem title: Weird Haskell 'stack' error: "can't load .so/.DLL" "not a writable segment" Tags: haskell-stack, haskell, macos Problem: Weird Haskell 'stack' error: "c...
Weird Haskell 'stack' error: "can't load .so/.DLL" "not a writable segment" Weird Haskell 'stack' error: "can't load .so/.DLL" "not a writable segment" haskell-stack haskell macos Weird Haskell DLL While aeson-1.1.2.0 Users x86_64-osx Cabal-simple_mP...
[ -0.000804901123046875, 0.0255126953125, -0.0089111328125, -0.01129150390625, -0.00124359130859375, -0.00482177734375, -0.0172119140625, -0.00372314453125, -0.008056640625, -0.0169677734375, -0.0179443359375, -0.0185546875, 0.01214599609375, 0.0028533935546875, 0.00531005859375, -0.0028...
[ 1401, 82249, 20625, 142508, 3768, 590, 2594, 18499, 4398, 18, 72367, 5, 991, 397, 23708, 10869, 148, 416, 22819, 33180, 1556, 291, 7840, 391, 10, 90, 191, 92134, 73011, 53400, 15276, 13307, 232, 30438, 289, 191560, 54259, 25582, 20682, 94...
[ 0.0457763671875, 0.2081298828125, 0.15966796875, 0.271240234375, 0.153076171875, 0.1414794921875, 0.142578125, 0.176513671875, 0.115478515625, 0.08197021484375, 0.2010498046875, 0.0677490234375, 0.2269287109375, 0.06329345703125, 0.2274169921875, 0.1273193359375, 0.034698486328125, ...
embed
34983308_c0
34983308
haskell
0
Title: Haskell - Extract Maybe in Monad Problem title: Haskell - Extract Maybe in Monad Tags: monads, haskell Problem: Haskell - Extract Maybe in Monad I am working on problem 9 of Project Euler, and I have a question about the best way to extract a maybe value inside another monad. The problem asks to find 'a', 'b', '...
Haskell - Extract Maybe in Monad Haskell - Extract Maybe in Monad monads haskell Haskell Extract Maybe Monad problem9 Integral Just Nothing Haskell - Extract Maybe in Monad I am working on problem 9 of Project Euler, and I have a question about the best way to extract a maybe value inside another monad. The problem ask...
[ -0.0069580078125, 0.0054931640625, 0.03271484375, 0.0057373046875, 0.019287109375, 0.0166015625, 0.0081787109375, -0.002960205078125, 0.0033111572265625, -0.040771484375, -0.006744384765625, -0.014892578125, -0.0240478515625, -0.0072021484375, -0.0115966796875, -0.0019683837890625, -...
[ 20625, 142508, 31501, 15390, 83425, 23, 60331, 71, 2667, 712, 1556, 2967, 1126, 204681, 9563, 182747, 20697, 483, 27331, 5177, 603, 2965, 3917, 125663, 10, 51139, 34292, 46132, 15700, 26458, 7413, 11, 4, 275, 238, 40407, 304, 997, 876, 50...
[ 0.1331787109375, 0.2626953125, 0.1988525390625, 0.1142578125, 0.317626953125, 0.11279296875, 0.210693359375, 0.1968994140625, 0.144775390625, 0.1763916015625, 0.1019287109375, 0.146484375, 0.153076171875, 0.1876220703125, 0.0999755859375, 0.1865234375, 0.0546875, 0.1387939453125, ...
embed
39773551_c1
39773551
haskell
1
it as evidence that this can be done in some fashion. The function is named downstreamOr . All of the other functions are just mutually recursive helper functions: downstreamOr :: Monad m => (b' -> Pipes.Proxy a' a b' b m r) -> (c' -> Pipes.Proxy a' a c' b m r) -> Either b' c' -> Pipes.Proxy a' a (Either b' c') b m r ...
it as evidence that this can be done in some fashion. The function is named downstreamOr . All of the other functions are just mutually recursive helper functions: downstreamOr :: Monad m => (b' -> Pipes.Proxy a' a b' b m r) -> (c' -> Pipes.Proxy a' a c' b m r) -> Either b' c' -> Pipes.Proxy a' a (Either b' c') b m r ...
[ -0.00360107421875, 0.0054931640625, 0.002899169921875, 0.002410888671875, -0.01312255859375, 0.01025390625, -0.032470703125, 0.000514984130859375, -0.00028228759765625, -0.006622314453125, -0.01068115234375, 0.00543212890625, 0.0189208984375, 0.007293701171875, 0.000762939453125, -0.00...
[ 442, 237, 77950, 450, 903, 831, 186, 16940, 23, 3060, 54543, 5, 581, 32354, 83, 24, 4806, 7565, 86429, 19060, 6, 3164, 111, 3789, 621, 1660, 199849, 538, 195625, 5844, 4358, 56, 7, 12, 1984, 60331, 71, 347, 275, 25, 93128, 90, 10752...
[ 0.2044677734375, 0.1441650390625, 0.241943359375, 0.16064453125, 0.177734375, 0.2132568359375, 0.13232421875, 0.2025146484375, 0.121826171875, 0.0989990234375, 0.1920166015625, 0.046417236328125, 0.05657958984375, 0.27001953125, 0.0714111328125, 0.06890869140625, 0.1075439453125, 0...
embed
53072255_c1
53072255
haskell
1
_a1uE = case (Test.$con2tag_7MvV0ZqFtYZ8X4oGLC1npJ a_a1uD) of { a#_a1uF -> case (Test.$con2tag_7MvV0ZqFtYZ8X4oGLC1npJ b_a1uE) of { b#_a1uG -> (GHC.Prim.tagToEnum# (a#_a1uF GHC.Prim.==# b#_a1uG)) } } Test.$con2tag_7MvV0ZqFtYZ8X4oGLC1npJ :: Test.Test -> GHC.Prim.Int# Test.$con2tag_7MvV0ZqFtYZ8X4oGLC1npJ a_a1uC = GHC.Base...
_a1uE = case (Test.$con2tag_7MvV0ZqFtYZ8X4oGLC1npJ a_a1uD) of { a#_a1uF -> case (Test.$con2tag_7MvV0ZqFtYZ8X4oGLC1npJ b_a1uE) of { b#_a1uG -> (GHC.Prim.tagToEnum# (a#_a1uF GHC.Prim.==# b#_a1uG)) } } Test.$con2tag_7MvV0ZqFtYZ8X4oGLC1npJ :: Test.Test -> GHC.Prim.Int# Test.$con2tag_7MvV0ZqFtYZ8X4oGLC1npJ a_a1uC = GHC.Base...
[ -0.01043701171875, -0.01116943359375, 0.01531982421875, 0.002532958984375, -0.006439208984375, -0.00921630859375, -0.01556396484375, -0.004638671875, 0.011962890625, 0.0093994140625, 0.0069580078125, 0.0098876953125, 0.0079345703125, 0.004852294921875, 0.00031280517578125, -0.013793945...
[ 101, 11, 34, 647, 2203, 7225, 111337, 2271, 304, 6936, 856, 2389, 864, 919, 18, 1723, 1511, 1019, 1542, 31, 26943, 418, 16, 111, 10, 594, 617, 724, 1375, 876, 454, 33079, 15, 41877, 5, 145111, 7763, 2606, 4904, 527, 73265, 8647, 415...
[ 0.0655517578125, 0.04400634765625, 0.042816162109375, 0.0833740234375, 0.059173583984375, 0.1923828125, 0.1876220703125, 0.098388671875, 0.0241546630859375, 0.13623046875, 0.00189208984375, 0.002471923828125, 0.046417236328125, 0.0272979736328125, 0.0133056640625, 0.002227783203125, ...
embed
27850363_c0
27850363
haskell
0
Title: Implementing channels in haskell -- Tackling the awkward squad Problem title: Implementing channels in haskell -- Tackling the awkward squad Tags: squad, concurrency, haskell Problem: Implementing channels in haskell -- Tackling the awkward squad In the paper Tackling the awkward squad , Simon Peyton Jones has p...
Implementing channels in haskell -- Tackling the awkward squad Implementing channels in haskell -- Tackling the awkward squad squad concurrency haskell Implementing Tackling Channel MVar Stream Read Write Item MkItem new_hole old_hole Implementing channels in haskell -- Tackling the awkward squad In the paper Tackling ...
[ -0.03369140625, 0.0186767578125, 0.0118408203125, 0.0196533203125, 0.02001953125, 0.0206298828125, -0.038330078125, -0.0164794921875, 0.0159912109375, -0.0054931640625, 0.0072021484375, -0.002655029296875, 0.01556396484375, 0.01361083984375, 0.01025390625, -0.00946044921875, -0.02294...
[ 153941, 86723, 7, 1556, 142508, 42989, 2069, 434, 92, 19364, 91526, 108636, 982, 55969, 66160, 147, 115061, 4764, 601, 18781, 78426, 2982, 3525, 70919, 10332, 26328, 129420, 1507, 29304, 7522, 55356, 208124, 29479, 32354, 3884, 127008, 1984, ...
[ 0.199951171875, 0.22607421875, 0.009490966796875, 0.1312255859375, 0.2398681640625, 0.1866455078125, 0.0640869140625, 0.0775146484375, 0.07452392578125, 0.1209716796875, 0.1405029296875, 0.09930419921875, 0.0244598388671875, 0.2388916015625, 0.082275390625, 0.16943359375, 0.148193359...
embed
28100650_c0
28100650
haskell
0
Title: Generate All Possible Trees Problem title: Generate All Possible Trees Tags: list-comprehension, haskell, catalan, binary-tree Problem: Generate All Possible Trees Given the following data type definition: data FormTree = Empty | Node FormTree FormTree deriving Show I want to write a function which generates an ...
Generate All Possible Trees Generate All Possible Trees list-comprehension haskell catalan binary-tree Generate All Possible Trees FormTree Empty Node Show Nodes Generate All Possible Trees Given the following data type definition: I want to write a function which generates an infinite list containing all possible tree...
[ 0.0303955078125, 0.0159912109375, -0.01806640625, -0.02099609375, 0.013671875, 0.006256103515625, -0.016845703125, -0.0108642578125, 0.01361083984375, -0.0341796875, 0.00164794921875, -0.03173828125, 0.00909423828125, 0.021484375, 0.01275634765625, -0.01324462890625, 0.00860595703125...
[ 155370, 67, 3164, 115861, 2661, 4804, 90, 5303, 4692, 3220, 1556, 142508, 377, 19642, 2394, 6635, 62600, 15236, 62731, 31678, 939, 438, 17367, 988, 2053, 10644, 80934, 3444, 33022, 32354, 139392, 54241, 70541, 756, 7722, 1360, 17497, 7103, ...
[ 0.189208984375, 0.04180908203125, 0.1666259765625, 0.185791015625, 0.1678466796875, 0.23876953125, 0.0703125, 0.15869140625, 0.0150604248046875, 0.0452880859375, 0.0916748046875, 0.1868896484375, 0.053955078125, 0.0938720703125, 0.0970458984375, 0.043975830078125, 0.1689453125, 0.1...
embed
19072648_c0
19072648
haskell
0
Title: gfoldl / Data.Data.Data instance for HLists without unsafeCoerce Problem title: gfoldl / Data.Data.Data instance for HLists without unsafeCoerce Tags: haskell Problem: gfoldl / Data.Data.Data instance for HLists without unsafeCoerce The Data class mentions the c type variable only in the method so it seems I can...
gfoldl / Data.Data.Data instance for HLists without unsafeCoerce gfoldl / Data.Data.Data instance for HLists without unsafeCoerce haskell Data.Data.Data HLists Data HBuild Typeable HList HFoldl GfoldlK gfoldl / Data.Data.Data instance for HLists without unsafeCoerce The Data class mentions the c type variable only in t...
[ -0.006622314453125, 0.01904296875, 0.009765625, -0.0130615234375, -0.0045166015625, 0.00689697265625, 0.005523681640625, -0.01336669921875, 0.00897216796875, -0.03076171875, -0.0091552734375, -0.04638671875, -0.01446533203125, 0.00555419921875, -0.01190185546875, -0.008544921875, -0....
[ 706, 42822, 141, 248, 11809, 137989, 110527, 100, 572, 154663, 15490, 51, 115840, 56, 329, 1556, 142508, 121137, 60457, 2886, 6, 66882, 18345, 527, 605, 18507, 41392, 70, 501, 10644, 77336, 4734, 55300, 53418, 442, 23, 158, 2816, 4288, 83...
[ 0.045684814453125, 0.190673828125, 0.143798828125, 0.0203704833984375, 0.1495361328125, 0.134033203125, 0.1971435546875, 0.0215606689453125, 0.1444091796875, 0.247802734375, 0.1051025390625, 0.053131103515625, 0.15771484375, 0.0675048828125, 0.00262451171875, 0.0831298828125, 0.17858...
embed
21034040_c0
21034040
haskell
0
Title: Haskell createProcess and read from Handle Problem title: Haskell createProcess and read from Handle Tags: handle, createprocess, haskell, smt Problem: Haskell createProcess and read from Handle when i use Haskell createProcess do i need to fork before as if i was using exec in c? From the example's i have seen ...
Haskell createProcess and read from Handle Haskell createProcess and read from Handle handle createprocess haskell smt Handle Haskell Process Just std_in std_out smt2 Haskell createProcess and read from Handle when i use Haskell createProcess do i need to fork before as if i was using exec in c? From the example's i ha...
[ 0.0033416748046875, 0.002410888671875, -0.01220703125, 0.02099609375, -0.021240234375, 0.004150390625, 0.0002574920654296875, -0.024169921875, 0.00311279296875, -0.0419921875, 0.0155029296875, 0.0250244140625, -0.00311279296875, 0.00037384033203125, 0.0172119140625, 0.004058837890625, ...
[ 20625, 142508, 28282, 10752, 26531, 12301, 1295, 10639, 133, 34831, 63923, 1556, 14050, 18, 123996, 6138, 71, 73, 6056, 304, 136, 4527, 3871, 100, 92, 8108, 17368, 1119, 3240, 23, 501, 27781, 37842, 140992, 84751, 16750, 9790, 186351, 22027...
[ 0.123291015625, 0.205322265625, 0.1973876953125, 0.14794921875, 0.17578125, 0.177978515625, 0.15625, 0.1942138671875, 0.139404296875, 0.1669921875, 0.1939697265625, 0.1070556640625, 0.07037353515625, 0.048583984375, 0.192626953125, 0.08428955078125, 0.03997802734375, 0.000793457031...
embed
610956_c1
610956
haskell
1
clear and concise with mutable variables and couldn't be written so without them. My favorite examples so far (and the best objection I expect to them): Paul Johnson's Fisher-Yates algorithm answer, which is pretty strong when you include the big-O constraints. But then, as catulahoops points out, the big-O issue isn'...
clear and concise with mutable variables and couldn't be written so without them. My favorite examples so far (and the best objection I expect to them): Paul Johnson's Fisher-Yates algorithm answer, which is pretty strong when you include the big-O constraints. But then, as catulahoops points out, the big-O issue isn'...
[ 0.0068359375, 0.00628662109375, 0.00238037109375, -0.01116943359375, -0.0169677734375, -0.0023651123046875, -0.009033203125, -0.00152587890625, 0.03369140625, -0.01312255859375, -0.007354736328125, 0.01953125, 0.006683349609375, 0.005157470703125, 0.01470947265625, -0.00897216796875, ...
[ 34735, 136, 158, 318, 184, 678, 842, 22819, 77336, 69427, 59121, 221, 15490, 5, 2646, 40304, 27781, 7, 2060, 2965, 36746, 1830, 41206, 10208, 59520, 169247, 9, 21566, 1636, 234873, 35166, 28875, 37515, 6957, 670, 2816, 4288, 9723, 68818, ...
[ 0.272705078125, 0.10418701171875, 0.1082763671875, 0.236328125, 0.141845703125, 0.096435546875, 0.1409912109375, 0.175048828125, 0.232421875, 0.074951171875, 0.1781005859375, 0.0882568359375, 0.056396484375, 0.055206298828125, 0.0193939208984375, 0.163818359375, 0.191162109375, 0.0...
embed
14307789_c2
14307789
haskell
2
libwxc.dylib 0x000000010bc8a9a4 ELJApp_InitializeC + 116 12 ??? 0x000000010beb9702 0x0 + 4494956290 ) 2013-01-14 00:21:03.024 ghc[13403:1303] *** Assertion failure in +[NSUndoManager _endTopLevelGroupings], /SourceCache/Foundation/Foundation-945.11/Misc.subproj/NSUndoManager.m:328 When I'm compile and macosx-app it, i...
libwxc.dylib 0x000000010bc8a9a4 ELJApp_InitializeC + 116 12 ??? 0x000000010beb9702 0x0 + 4494956290 ) 2013-01-14 00:21:03.024 ghc[13403:1303] *** Assertion failure in +[NSUndoManager _endTopLevelGroupings], /SourceCache/Foundation/Foundation-945.11/Misc.subproj/NSUndoManager.m:328 When I'm compile and macosx-app it, i...
[ -0.004486083984375, 0.0274658203125, -0.01336669921875, -0.00049591064453125, -0.010986328125, 0.01483154296875, 0.01348876953125, 0.00173187255859375, -0.0023956298828125, -0.01904296875, -0.007354736328125, -0.0250244140625, 0.018798828125, 0.0076904296875, 0.007110595703125, -0.0063...
[ 25474, 434, 425, 238, 1459, 5612, 197094, 76327, 1126, 617, 241, 141240, 6366, 4153, 40705, 119066, 441, 45773, 427, 37336, 134131, 2389, 5896, 176857, 13683, 124916, 1210, 45669, 31380, 114082, 9513, 43955, 24428, 62, 16865, 1363, 137578, 99...
[ 0.1126708984375, 0.0438232421875, 0.1534423828125, 0.09527587890625, 0.06793212890625, 0.2081298828125, 0.0914306640625, 0.03594970703125, 0.0032958984375, 0.054718017578125, 0.00537109375, 0.106689453125, 0.155517578125, 0.0135498046875, 0.12841796875, 0.0760498046875, 0.05813598632...
embed
24636129_c0
24636129
haskell
0
Title: Creating an GtkGLExt drawing area after the top level window has been shown Problem title: Creating an GtkGLExt drawing area after the top level window has been shown Tags: gtk, haskell, opengl Problem: Creating an GtkGLExt drawing area after the top level window has been shown I've been trying to solve the foll...
Creating an GtkGLExt drawing area after the top level window has been shown Creating an GtkGLExt drawing area after the top level window has been shown gtk haskell opengl Creating GtkGLExt Creating an GtkGLExt drawing area after the top level window has been shown I've been trying to solve the following problem: I need...
[ -0.000946044921875, 0.014404296875, 0.0322265625, -0.0220947265625, 0.0235595703125, 0.000446319580078125, 0.005340576171875, -0.00958251953125, 0.00188446044921875, -0.005706787109375, 0.01434326171875, -0.0712890625, -0.00250244140625, -0.00762939453125, -0.00482177734375, -0.0216064...
[ 56781, 1916, 527, 31472, 126833, 29062, 188304, 16128, 7103, 2663, 17366, 76896, 127887, 706, 1556, 142508, 9803, 11016, 142, 2809, 86869, 2967, 28282, 17368, 13527, 78703, 23, 20625, 38415, 12960, 51042, 8561, 1221, 157176, 74305, 20928, 1286,...
[ 0.146240234375, 0.0018310546875, 0.069091796875, 0.154541015625, 0.1480712890625, 0.2271728515625, 0.206787109375, 0.1832275390625, 0.1143798828125, 0.1124267578125, 0.1669921875, 0.1585693359375, 0.142578125, 0.001983642578125, 0.09344482421875, 0.2200927734375, 0.077392578125, 0....
embed
48737541_c0
48737541
haskell
0
Title: Conduit Source depending on MVar Problem title: Conduit Source depending on MVar Tags: concurrency, haskell, conduit Problem: Conduit Source depending on MVar I am implementing a Conduit Source for some client that subscribes to a queue and puts all the arriving messages into an MVar. The problem is that I canno...
Conduit Source depending on MVar Conduit Source depending on MVar concurrency haskell conduit Conduit Source MVar Monad MonadIO MonadResource MqttOptions liftIO.hookToChan liftIO.disconnectClient Conduit Source depending on MVar I am implementing a Conduit Source for some client that subscribes to a queue and puts all ...
[ -0.003997802734375, 0.0084228515625, 0.0001659393310546875, -0.0029754638671875, 0.024658203125, -0.00384521484375, -0.00726318359375, 0.0033416748046875, 0.00150299072265625, -0.0517578125, 0.004730224609375, -0.009521484375, 0.037841796875, -0.00714111328125, 0.00531005859375, -0.001...
[ 1657, 112061, 77641, 96819, 66160, 147, 108636, 982, 1556, 142508, 120565, 60331, 71, 17780, 60427, 3062, 39029, 60520, 497, 685, 7763, 127008, 135457, 150, 29479, 23282, 1614, 34601, 41, 13388, 24387, 89914, 2967, 53418, 12301, 1295, 11180, ...
[ 0.09442138671875, 0.2178955078125, 0.253173828125, 0.0927734375, 0.14501953125, 0.2269287109375, 0.139892578125, 0.0894775390625, 0.1048583984375, 0.22900390625, 0.2144775390625, 0.1214599609375, 0.05145263671875, 0.17431640625, 0.1756591796875, 0.007659912109375, 0.1177978515625, ...
embed
33490143_c0
33490143
haskell
0
Title: Recursive feedback in Karplus-Strong Algo - arrows Problem title: Recursive feedback in Karplus-Strong Algo - arrows Tags: arrow-abstraction, haskell, reactive-programming Problem: Recursive feedback in Karplus-Strong Algo - arrows I am trying to implement the simplest version of Karplus-Strong algorithm using E...
Recursive feedback in Karplus-Strong Algo - arrows Recursive feedback in Karplus-Strong Algo - arrows arrow-abstraction haskell reactive-programming Recursive Karplus-Strong Algo AudSF Double test1 test1.wav Recursive feedback in Karplus-Strong Algo - arrows I am trying to implement the simplest version of Karplus-Stro...
[ 0.0118408203125, 0.0218505859375, -0.01263427734375, 0.000965118408203125, -0.0022125244140625, 0.0135498046875, 0.011474609375, -0.00677490234375, -0.001068115234375, -0.0245361328125, 0.007659912109375, -0.0064697265625, -0.010498046875, 0.040283203125, 0.01220703125, -0.006896972656...
[ 48650, 5844, 58269, 3423, 32108, 71713, 4021, 109847, 118201, 2055, 117474, 1556, 142508, 71232, 28966, 1674, 38406, 107172, 3034, 418, 634, 334, 29479, 30362, 18, 11389, 234873, 5177, 720, 29518, 18151, 134926, 94131, 35011, 110, 3075, 6818, ...
[ 0.15283203125, 0.045318603515625, 0.24169921875, 0.1234130859375, 0.27685546875, 0.1204833984375, 0.1370849609375, 0.148193359375, 0.146728515625, 0.00347900390625, 0.074951171875, 0.03460693359375, 0.1585693359375, 0.077392578125, 0.045013427734375, 0.02069091796875, 0.1168212890625...
embed
31516829_c1
31516829
haskell
1
lift (putStrLn txt) >> -- Could not deduce ... :( loop next) main:: IO () main = -- print $ run $ runLogger verboseAddition -- ok runLift (runIOLogger verboseAddition) >>= print Could not deduce (extensible-effects-1.11.0.0:Data.OpenUnion.Internal.Base.M emberUImpl extensible-effects-1.11.0.0:Data.OpenUnion.Internal.O...
lift (putStrLn txt) >> -- Could not deduce ... :( loop next) main:: IO () main = -- print $ run $ runLogger verboseAddition -- ok runLift (runIOLogger verboseAddition) >>= print Could not deduce (extensible-effects-1.11.0.0:Data.OpenUnion.Internal.Base.M emberUImpl extensible-effects-1.11.0.0:Data.OpenUnion.Internal.O...
[ 0.01153564453125, -0.01141357421875, 0.0191650390625, 0.01190185546875, 0.0172119140625, 0.0028839111328125, -0.004913330078125, -0.002655029296875, 0.016845703125, -0.03125, 0.0225830078125, 0.0054931640625, -0.002471923828125, -0.003692626953125, 0.012939453125, -0.01495361328125, ...
[ 60520, 15, 7077, 71713, 866, 19, 124326, 6396, 191147, 959, 8, 106357, 31124, 40956, 11737, 5201, 17780, 2203, 28412, 3650, 11675, 113972, 1505, 57823, 184, 12071, 3664, 9506, 2480, 16428, 3355, 510, 55356, 171760, 14556, 99929, 137989, 10326...
[ 0.3251953125, 0.02447509765625, 0.12353515625, 0.1500244140625, 0.072265625, 0.07293701171875, 0.1993408203125, 0.013427734375, 0.142822265625, 0.1466064453125, 0.1766357421875, 0.2200927734375, 0.001434326171875, 0.179931640625, 0.1632080078125, 0.12548828125, 0.1727294921875, 0.0...
embed
5739249_c1
5739249
haskell
1
out all but the last n of those numbers. import Prelude as P import Data.Enumerator as E import Data.Enumerator.List as EL import Data.List (sort, insert) import IO import Control.Monad.Trans (lift) import Control.Monad (liftM) import Control.Exception as Exc import Debug.Trace test = run_ (readLines "numbers.txt" $$ ...
out all but the last n of those numbers. import Prelude as P import Data.Enumerator as E import Data.Enumerator.List as EL import Data.List (sort, insert) import IO import Control.Monad.Trans (lift) import Control.Monad (liftM) import Control.Exception as Exc import Debug.Trace test = run_ (readLines "numbers.txt" $$ ...
[ -0.010009765625, -0.005950927734375, 0.01385498046875, -0.0004138946533203125, 0.00372314453125, 0.022216796875, 0.00537109375, -0.0390625, 0.0213623046875, -0.00244140625, -0.001190185546875, 0.0113525390625, 0.0128173828125, -0.0166015625, 0.015869140625, -0.0213623046875, -0.00964...
[ 1810, 756, 1284, 70, 4568, 653, 111, 8382, 101935, 5, 24927, 1914, 822, 112, 237, 436, 11809, 2606, 56, 4597, 241, 154663, 9780, 62351, 183540, 17780, 27131, 46674, 712, 62624, 104501, 15, 594, 19279, 63928, 110823, 262, 85779, 28542, 303...
[ 0.2142333984375, 0.097900390625, 0.129638671875, 0.00518798828125, 0.1619873046875, 0.1009521484375, 0.0302886962890625, 0.10479736328125, 0.209228515625, 0.06170654296875, 0.23486328125, 0.1123046875, 0.208740234375, 0.09857177734375, 0.080078125, 0.1080322265625, 0.1138916015625, ...
embed
63055723_c0
63055723
haskell
0
Title: Is Void an initial or zero element? Problem title: Is Void an initial or zero element? Tags: category-theory, haskell, types Problem: Is Void an initial or zero element? ZeroObject of Control.Category.Constrained defaults to Void . It is obvious that Void is an initial object : {-# LANGUAGE EmptyCase #-} absurd ...
Is Void an initial or zero element? Is Void an initial or zero element? category-theory haskell types ZeroObject LANGUAGE EmptyCase UnitObject Is Void an initial or zero element? ZeroObject of Control.Category.Constrained defaults to Void . It is obvious that Void is an initial object : But why is it called ZeroObject ...
[ 0.016845703125, -0.01141357421875, 0.0224609375, 0.0233154296875, 0.0054931640625, -0.0079345703125, 0.00518798828125, -0.007476806640625, 0.0089111328125, 0.007720947265625, -0.007232666015625, -0.022705078125, -0.00091552734375, 0.0023193359375, -0.012939453125, -0.0186767578125, 0...
[ 2071, 22591, 71, 142, 61475, 707, 45234, 12830, 95487, 2347, 1556, 142508, 52895, 83947, 46471, 75161, 98064, 31678, 441, 46640, 111, 27131, 76775, 3081, 9297, 122009, 114977, 47, 162520, 83, 36746, 15400, 35839, 26267, 14858, 8962, 13579, 11...
[ 0.0360107421875, 0.294189453125, 0.207275390625, 0.06903076171875, 0.20751953125, 0.0501708984375, 0.2265625, 0.215087890625, 0.12353515625, 0.0182952880859375, 0.10150146484375, 0.2066650390625, 0.06646728515625, 0.21728515625, 0.21533203125, 0.2188720703125, 0.0849609375, 0.05645...
embed
6732272_c1
6732272
haskell
1
<|> (lookAhead keywordparser >> return ())) statementparser = do key <- keywordparser stuff <- stuffparser return $ Branch key [Leaf (trim stuff)] <?> "statementparser" tp = parse (many statementparser) "" The key here is the stuffparser. That is the stuff in between the keywords that could be anything from column lis...
<|> (lookAhead keywordparser >> return ())) statementparser = do key <- keywordparser stuff <- stuffparser return $ Branch key [Leaf (trim stuff)] <?> "statementparser" tp = parse (many statementparser) "" The key here is the stuffparser. That is the stuff in between the keywords that could be anything from column lis...
[ 0.021240234375, 0.01953125, 0.00823974609375, 0.01519775390625, 0.00069427490234375, 0.01446533203125, 0.02490234375, -0.01055908203125, 0.00099945068359375, -0.0128173828125, -0.0233154296875, 0.0224609375, -0.01409912109375, -0.00994873046875, -0.007476806640625, 0.026123046875, -0...
[ 64747, 284, 31251, 166117, 2500, 2189, 30646, 63805, 2203, 54, 22799, 41884, 3650, 21110, 206, 5267, 2407, 3996, 39, 61340, 674, 92790, 366, 184, 669, 581, 3688, 83, 70, 17721, 5809, 23937, 1295, 3365, 316, 5303, 7440, 55738, 3293, 32354,...
[ 0.158935546875, 0.050537109375, 0.255615234375, 0.2440185546875, 0.2130126953125, 0.2181396484375, 0.175048828125, 0.2308349609375, 0.011962890625, 0.056884765625, 0.2349853515625, 0.2108154296875, 0.020477294921875, 0.0914306640625, 0.040191650390625, 0.03643798828125, 0.15454101562...
embed
58924523_c0
58924523
haskell
0
Title: Is there an empty character in Haskell? Problem title: Is there an empty character in Haskell? Tags: haskell Problem: Is there an empty character in Haskell? This is my code: reverseEncode :: Char -> String -> Int -> Char reverseEncode _ [] _ = ? reverseEncode c (x:xs) offset | alphaPos c == (alphaPos x + offset...
Is there an empty character in Haskell? Is there an empty character in Haskell? haskell Haskell Char x:xs Non-exhaustive Is there an empty character in Haskell? This is my code: It's just a small method used in a virtual Enigma Machine. After writing the function without the second line and testing it, I got this excep...
[ -0.010498046875, 0.006591796875, 0.0137939453125, 0.0181884765625, -0.0128173828125, 0.01361083984375, 0.02880859375, 0.0030059814453125, 0.0111083984375, 0.010009765625, 0.006988525390625, -0.01458740234375, 0.0048828125, 0.0162353515625, -0.00848388671875, 0.017822265625, 0.0194091...
[ 2071, 2685, 142, 201505, 62816, 23, 20625, 142508, 1556, 21656, 1022, 425, 3775, 3355, 18391, 4935, 18151, 19336, 55300, 11814, 20513, 872, 192, 68311, 32562, 32354, 15490, 17932, 13315, 134234, 131527, 2773, 18, 14192, 3229, 7279, 195625, 21...
[ 0.047271728515625, 0.080078125, 0.0660400390625, 0.27392578125, 0.231201171875, 0.10791015625, 0.1380615234375, 0.268798828125, 0.1109619140625, 0.16015625, 0.06561279296875, 0.09783935546875, 0.0770263671875, 0.0079345703125, 0.096923828125, 0.07275390625, 0.1400146484375, 0.03430...
embed
37195146_c0
37195146
haskell
0
Title: how to structure monads in haskell programs which compute on random values? Problem title: how to structure monads in haskell programs which compute on random values? Tags: montecarlo, haskell, monads, random Problem: how to structure monads in haskell programs which compute on random values? I have a program th...
how to structure monads in haskell programs which compute on random values? how to structure monads in haskell programs which compute on random values? montecarlo haskell monads random how to structure monads in haskell programs which compute on random values? I have a program that's almost pure mathematical computatio...
[ -0.0146484375, -0.008544921875, 0.0047607421875, 0.0091552734375, 0.00970458984375, 0.0279541015625, 0.01141357421875, -0.0216064453125, -0.004669189453125, -0.059326171875, -0.0023040771484375, 0.018798828125, -0.0267333984375, -0.00860595703125, 0.01123046875, -0.00469970703125, -0...
[ 3642, 47, 45646, 2667, 712, 7, 23, 1556, 142508, 103391, 9969, 6743, 98, 96759, 142424, 46869, 3284, 365, 1528, 39555, 34166, 140363, 181135, 2967, 160404, 2258, 139392, 6626, 4331, 50717, 756, 32354, 78301, 171859, 70541, 479, 48281, 121293,...
[ 0.08782958984375, 0.0377197265625, 0.26513671875, 0.1531982421875, 0.2313232421875, 0.124267578125, 0.033447265625, 0.142333984375, 0.2393798828125, 0.1488037109375, 0.087890625, 0.06884765625, 0.09832763671875, 0.205078125, 0.1702880859375, 0.1376953125, 0.11328125, 0.1572265625, ...
embed
74917525_c0
74917525
haskell
0
Title: Debug Haskell composition chain without converting to point-full representation Problem title: Debug Haskell composition chain without converting to point-full representation Tags: pointfree, debugging, function-composition, haskell, syntactic-sugar Problem: Debug Haskell composition chain without converting to ...
Debug Haskell composition chain without converting to point-full representation Debug Haskell composition chain without converting to point-full representation pointfree debugging function-composition haskell syntactic-sugar Debug Haskell T.take T.pack T.unpack Debug Haskell composition chain without converting to poin...
[ -0.01239013671875, -0.00555419921875, 0.0244140625, 0.041015625, -0.00848388671875, 0.01239013671875, -0.00921630859375, 0.007659912109375, 0.0211181640625, -0.01318359375, -0.01171875, 0.0031280517578125, 0.030029296875, 0.0029144287109375, -0.006805419921875, 0.01611328125, -0.0094...
[ 262, 85779, 20625, 142508, 166577, 121293, 15490, 96760, 6275, 25724, 18811, 32087, 8, 978, 32354, 277, 40322, 1556, 102, 1159, 1970, 384, 78219, 29102, 309, 20623, 12601, 2822, 26908, 27983, 33022, 125195, 1884, 903, 119140, 3650, 39933, 201...
[ 0.080810546875, 0.256591796875, 0.11181640625, 0.223388671875, 0.1973876953125, 0.1776123046875, 0.0655517578125, 0.09588623046875, 0.144287109375, 0.1363525390625, 0.148193359375, 0.152587890625, 0.1357421875, 0.1827392578125, 0.134521484375, 0.07269287109375, 0.0908203125, 0.0917...
embed
55431050_c0
55431050
haskell
0
Title: Generator, Selector Pattern to calculate approximations in Haskell Problem title: Generator, Selector Pattern to calculate approximations in Haskell Tags: haskell Problem: Generator, Selector Pattern to calculate approximations in Haskell I am trying to implement a generator, selector pattern to approximately ca...
Generator, Selector Pattern to calculate approximations in Haskell Generator, Selector Pattern to calculate approximations in Haskell haskell Generator Selector Pattern Haskell Double Generator, Selector Pattern to calculate approximations in Haskell I am trying to implement a generator, selector pattern to approximate...
[ -0.005828857421875, 0.0201416015625, 0.00750732421875, 0.0023345947265625, 0.00159454345703125, 0.0021820068359375, -0.0174560546875, -0.0169677734375, 0.0064697265625, 0.003204345703125, -0.004241943359375, 0.0341796875, -0.015380859375, -0.0177001953125, 0.00836181640625, -0.01147460...
[ 222518, 51620, 748, 9876, 22766, 74481, 35707, 53950, 21094, 20625, 142508, 4, 47, 1556, 107172, 31577, 29479, 145823, 40, 187075, 103510, 189275, 108047, 74855, 33342, 1884, 903, 2646, 425, 32354, 26265, 107754, 48281, 1290, 29062, 21162, 4958...
[ 0.28125, 0.19921875, 0.16796875, 0.185302734375, 0.09326171875, 0.1962890625, 0.173583984375, 0.208984375, 0.0592041015625, 0.1451416015625, 0.240478515625, 0.00897216796875, 0.012115478515625, 0.1412353515625, 0.134521484375, 0.05987548828125, 0.1285400390625, 0.27197265625, 0.0...
embed
61257901_c0
61257901
haskell
0
Title: Trouble deducing the Read type constraint Problem title: Trouble deducing the Read type constraint Tags: types, haskell, functional-programming Problem: Trouble deducing the Read type constraint Consider a type data MyBool a = TRUE | FALSE Notice that MyBool a doesn't really depend on a , but let's make it so ju...
Trouble deducing the Read type constraint Trouble deducing the Read type constraint types haskell functional-programming Trouble Read MyBool Trouble deducing the Read type constraint Consider a type Notice that MyBool a doesn't really depend on a , but let's make it so just for fun. Now imagine I want to define a funct...
[ 0.000759124755859375, -0.00390625, 0.02001953125, 0.0242919921875, -0.0135498046875, 0.019287109375, 0.000934600830078125, -0.0247802734375, 0.006805419921875, -0.025146484375, -0.00167083740234375, -0.036376953125, -0.003509521484375, -0.010498046875, -0.0011749267578125, -0.009887695...
[ 119671, 2661, 8, 39367, 4764, 10644, 158, 2816, 4288, 52895, 1556, 142508, 123309, 28966, 2646, 12647, 929, 438, 24494, 10, 56566, 7477, 28987, 61924, 32354, 83, 28636, 7, 2886, 1984, 31345, 44357, 23351, 214, 28288, 79315, 366, 237, 140992...
[ 0.1187744140625, 0.03857421875, 0.157470703125, 0.1888427734375, 0.20703125, 0.1817626953125, 0.043914794921875, 0.1597900390625, 0.060546875, 0.146240234375, 0.1138916015625, 0.2095947265625, 0.087158203125, 0.0775146484375, 0.16650390625, 0.1275634765625, 0.1593017578125, 0.06207...
embed
12301506_c0
12301506
haskell
0
Title: Selective running of tests in HUnit Problem title: Selective running of tests in HUnit Tags: haskell, unit-testing Problem: Selective running of tests in HUnit Test.HUnit provides a big red button to run a test: runTestTT :: Test -> IO Counts As there is a need to structure large test suites, Test is not a singl...
Selective running of tests in HUnit Selective running of tests in HUnit haskell unit-testing Selective HUnit Test.HUnit Test Counts Assertion TestCase TestList TestLabel Defined Test.HUnit.Base Selective running of tests in HUnit Test.HUnit provides a big red button to run a test: As there is a need to structure large ...
[ 0.003662109375, 0.000965118408203125, 0.00994873046875, -0.003662109375, -0.00982666015625, -0.016845703125, -0.007293701171875, -0.0079345703125, -0.000579833984375, -0.00799560546875, -0.0096435546875, 0.0086669921875, -0.01263427734375, 0.0224609375, 0.00537109375, 0.005462646484375...
[ 51620, 5844, 51042, 109921, 22438, 6773, 1556, 142508, 25072, 6954, 8647, 27204, 108210, 16865, 441, 6991, 154663, 4063, 5983, 63473, 87344, 6957, 4842, 77679, 47, 11675, 3034, 2685, 3871, 45646, 21334, 14947, 959, 11001, 20653, 67967, 6259, ...
[ 0.1822509765625, 0.10321044921875, 0.176025390625, 0.2437744140625, 0.16162109375, 0.25244140625, 0.1124267578125, 0.231689453125, 0.146484375, 0.19384765625, 0.2335205078125, 0.1552734375, 0.1190185546875, 0.172607421875, 0.02410888671875, 0.035614013671875, 0.084228515625, 0.1085...
embed
23715645_c1
23715645
haskell
1
Add container widget main = do initGUI window <- windowNew --These buttons do not work buttonDescs <- getButtonDescs buttons <- return $ map genButton buttonDescs vbox <- vBoxNew True 0 _ <- sequence $ map ((addIoToContainer vbox) . buttonIo) buttons _ <- sequence $ map applyAction buttons _ <- containerAdd window vbox...
Add container widget main = do initGUI window <- windowNew --These buttons do not work buttonDescs <- getButtonDescs buttons <- return $ map genButton buttonDescs vbox <- vBoxNew True 0 _ <- sequence $ map ((addIoToContainer vbox) . buttonIo) buttons _ <- sequence $ map applyAction buttons _ <- containerAdd window vbox...
[ -0.00016307830810546875, 0.03076171875, 0.0002918243408203125, -0.01055908203125, 0.0172119140625, 0.01129150390625, 0.00115966796875, -0.0023193359375, 0.00147247314453125, -0.03662109375, 0.00506591796875, -0.034423828125, -0.01190185546875, 0.000667572021484375, -0.00909423828125, -...
[ 29117, 116419, 148631, 5201, 23, 217, 43578, 568, 76896, 46568, 77679, 959, 4488, 73347, 4439, 82212, 1507, 22288, 9226, 81, 11728, 72295, 87599, 757, 944, 4028, 103579, 31, 11935, 25500, 59911, 10763, 3293, 43240, 4063, 12662, 34, 7228, 98...
[ 0.16748046875, 0.30078125, 0.297607421875, 0.0889892578125, 0.031707763671875, 0.05609130859375, 0.126953125, 0.0694580078125, 0.123779296875, 0.0970458984375, 0.2073974609375, 0.06829833984375, 0.09393310546875, 0.1890869140625, 0.054168701171875, 0.140380859375, 0.057342529296875, ...
embed
71193262_c2
71193262
haskell
2
end-users, and a great freedom for library authors who want their updates to be picked up everywhere silently. And I am just a user here, wanting to install a binary. Of course the project haddocset as it is does not build with cabal anymore, although nothing has changed, because (I think) of the said madness, either ...
in the release notes so 4.14.3.0 browse through hackage to find which version of that package has a compatible base library so its haddock-api-2.24.0 same for finding hsdev-0.3.1.4 hdocs-0.4.4.1 then stack build suggests to add which look compatible on hackage. Then I get an error from ghc-syb-utils which says somethi...
[ -0.0208740234375, 0.006134033203125, 0.00946044921875, -0.01123046875, 0.0013885498046875, 0.0125732421875, -0.0283203125, -0.006561279296875, 0.006683349609375, 0.0098876953125, -0.00119781494140625, -0.052490234375, 0.000492095947265625, 0.0029449462890625, 0.0235595703125, -0.001342...
[ 54452, 73048, 1398, 2592, 132265, 140773, 85526, 4588, 7413, 11389, 98169, 146731, 3647, 35773, 1294, 1902, 138414, 40897, 70147, 151152, 5701, 90791, 1096, 7, 18548, 170179, 91977, 29713, 121254, 120518, 177261, 45367, 42459, 15190, 6713, 18499,...
[ 0.048095703125, 0.150390625, 0.0738525390625, 0.15625, 0.1639404296875, 0.0494384765625, 0.192626953125, 0.146728515625, 0.0218963623046875, 0.0819091796875, 0.162841796875, 0.1641845703125, 0.138427734375, 0.1292724609375, 0.0185699462890625, 0.1505126953125, 0.242431640625, 0.158...
embed
78224748_c0
78224748
haskell
0
Title: Extract a Maybe from a heterogeneous collection Problem title: Extract a Maybe from a heterogeneous collection Tags: types, haskell Problem: Extract a Maybe from a heterogeneous collection I have a project where I define a "heterogenous list" like the following. I'm not sure what this trick is called but I've fo...
Extract a Maybe from a heterogeneous collection Extract a Maybe from a heterogeneous collection types haskell a Data.Kind Extract Maybe LANGUAGE KindSignatures TypeOperators Type Show Bool Just Nothing Data.Typeable Extract a Maybe from a heterogeneous collection I have a project where I define a "heterogenous list" li...
[ -0.00007867813110351562, -0.0032501220703125, 0.01165771484375, 0.00750732421875, -0.00823974609375, 0.007415771484375, -0.00130462646484375, -0.00982666015625, 0.01318359375, -0.0157470703125, -0.005767822265625, -0.0296630859375, -0.0009307861328125, 0.00933837890625, -0.00921630859375...
[ 31501, 15390, 10, 83425, 1295, 77099, 15292, 42486, 10821, 52895, 1556, 142508, 11809, 7250, 3358, 98064, 27435, 218723, 60457, 156823, 22230, 17367, 2460, 929, 9563, 182747, 196707, 2886, 13452, 61924, 38325, 62976, 5303, 1884, 25632, 903, 883...
[ 0.226806640625, 0.098876953125, 0.11962890625, 0.326416015625, 0.1151123046875, 0.2344970703125, 0.2139892578125, 0.2452392578125, 0.061614990234375, 0.2396240234375, 0.1151123046875, 0.2281494140625, 0.101806640625, 0.130859375, 0.0141143798828125, 0.1170654296875, 0.1209716796875, ...
embed
79007966_c0
79007966
haskell
0
Title: Why Does This Haskell Closure Keep Giving Me &#x27;No instance for (Integral (IO t0))&#x27; Error? Problem title: Why Does This Haskell Closure Keep Giving Me &#x27;No instance for (Integral (IO t0))&#x27; Error? Tags: closures, haskell Problem: Why Does This Haskell Closure Keep Giving Me 'No instance for (Inte...
Why Does This Haskell Closure Keep Giving Me &#x27;No instance for (Integral (IO t0))&#x27; Error? Why Does This Haskell Closure Keep Giving Me &#x27;No instance for (Integral (IO t0))&#x27; Error? closures haskell a Why Does Haskell Closure Keep Giving Integral Error testfunc1 Num Why Does This Haskell Closure Keep Gi...
[ -0.0030517578125, 0.0137939453125, 0.0089111328125, -0.002716064453125, 0.019287109375, 0.01080322265625, 0.00482177734375, 0.005645751953125, 0.0064697265625, -0.018310546875, -0.0255126953125, -0.037841796875, -0.0037994384765625, 0.00125885009765625, 0.031005859375, -0.011962890625,...
[ 44084, 3293, 20625, 142508, 51053, 56851, 83041, 1215, 3768, 5021, 110527, 100, 67, 5739, 17780, 77495, 212059, 170224, 1556, 10, 5174, 204681, 3034, 16498, 418, 52782, 808, 152028, 70523, 1528, 12877, 27958, 17106, 27781, 117615, 1892, 29479, ...
[ 0.0830078125, 0.088134765625, 0.1348876953125, 0.2381591796875, 0.1468505859375, 0.1116943359375, 0.131591796875, 0.10418701171875, 0.07904052734375, 0.128662109375, 0.2464599609375, 0.095458984375, 0.127685546875, 0.088623046875, 0.160888671875, 0.181640625, 0.1849365234375, 0.196...
embed
32170103_c0
32170103
haskell
0
Title: Digit Counter Fibonacci List Haskell trouble Problem title: Digit Counter Fibonacci List Haskell trouble Tags: haskell Problem: Digit Counter Fibonacci List Haskell trouble So, for problem 25 in Project Euler, I have to find the position of the first number in the Fibonacci sequence with a thousand digits. -- La...
Digit Counter Fibonacci List Haskell trouble Digit Counter Fibonacci List Haskell trouble haskell Digit Counter Fibonacci List Haskell Lazily Checks Bool p25 Digit Counter Fibonacci List Haskell trouble So, for problem 25 in Project Euler, I have to find the position of the first number in the Fibonacci sequence with a...
[ 0.0091552734375, -0.01055908203125, -0.007080078125, -0.004241943359375, -0.0201416015625, 0.00543212890625, 0.005889892578125, -0.01434326171875, 0.029296875, -0.0223388671875, 0.01324462890625, -0.0035247802734375, 0.013427734375, -0.005035400390625, -0.0064697265625, -0.000762939453...
[ 51174, 18, 197956, 3698, 20990, 52544, 32036, 20625, 142508, 63134, 1556, 239, 708, 38679, 2460, 929, 915, 2588, 2967, 714, 27331, 5177, 603, 765, 7413, 19069, 5117, 14012, 23, 40, 944, 678, 199823, 153939, 903, 51515, 37202, 10756, 49919, ...
[ 0.134033203125, 0.0721435546875, 0.2030029296875, 0.1380615234375, 0.15966796875, 0.1722412109375, 0.1541748046875, 0.12890625, 0.2291259765625, 0.191162109375, 0.12548828125, 0.07098388671875, 0.095703125, 0.164306640625, 0.064208984375, 0.1240234375, 0.02728271484375, 0.232299804...
embed
70464343_c0
70464343
haskell
0
Title: Haskell Servant: Construct URL from API Problem title: Haskell Servant: Construct URL from API Tags: haskell, servant, type-level-computation Problem: Haskell Servant: Construct URL from API Suppose we have this simple API: type FooAPI = "foo" :> QueryParam "age" Int :> Get '[PlainText] Text Is there a way to li...
Haskell Servant: Construct URL from API Haskell Servant: Construct URL from API haskell servant type-level-computation API Haskell Servant Construct URL FooAPI QueryParam Get PlainText Text Proxy SomeTypeFamily Maybe Just Nothing Haskell Servant: Construct URL from API Suppose we have this simple API: Is there a way to...
[ -0.007110595703125, -0.0015716552734375, 0.01385498046875, -0.002349853515625, -0.005584716796875, -0.0010528564453125, -0.0028228759765625, 0.00982666015625, -0.00543212890625, -0.025390625, -0.0177001953125, -0.017333984375, 0.000232696533203125, 0.0216064453125, -0.00872802734375, -...
[ 20625, 142508, 5406, 30624, 1657, 36716, 31862, 1295, 61687, 1556, 187646, 10644, 67919, 7077, 9572, 31, 74220, 58836, 55292, 8950, 174379, 24129, 1250, 50878, 196707, 1191, 83425, 9563, 182747, 8781, 3917, 3126, 678, 32354, 139392, 100, 3444, ...
[ 0.1190185546875, 0.1910400390625, 0.1484375, 0.1851806640625, 0.063720703125, 0.1739501953125, 0.2310791015625, 0.09326171875, 0.2296142578125, 0.109619140625, 0.25439453125, 0.1700439453125, 0.1639404296875, 0.027435302734375, 0.1204833984375, 0.0980224609375, 0.211669921875, 0.07...
embed
74093850_c0
74093850
haskell
0
Title: What does `forall` mean in this specific signature? (definition of Task in a build system in Haskell) Problem title: What does `forall` mean in this specific signature? (definition of Task in a build system in Haskell) Tags: forall, haskell Problem: What does `forall` mean in this specific signature? (definition...
What does `forall` mean in this specific signature? (definition of Task in a build system in Haskell) What does `forall` mean in this specific signature? (definition of Task in a build system in Haskell) forall haskell What Task Haskell Applicative Monad What does `forall` mean in this specific signature? (definition o...
[ 0.00958251953125, 0.0198974609375, -0.0113525390625, -0.00482177734375, -0.0025787353515625, -0.00469970703125, 0.0169677734375, -0.004913330078125, 0.00726318359375, -0.005035400390625, 0.00469970703125, -0.04052734375, -0.0125732421875, 0.01080322265625, -0.03564453125, 0.00221252441...
[ 4865, 2472, 5584, 29459, 903, 29458, 138256, 49919, 9598, 92, 45367, 5426, 20625, 142508, 100, 1556, 5659, 11048, 4935, 60331, 71, 14602, 23, 121137, 76519, 253, 21, 17734, 28585, 181798, 1507, 29304, 23755, 61924, 111, 10, 10644, 501, 2816...
[ 0.0287017822265625, 0.125732421875, 0.251220703125, 0.1297607421875, 0.029754638671875, 0.0838623046875, 0.197265625, 0.1263427734375, 0.221435546875, 0.225830078125, 0.1429443359375, 0.1304931640625, 0.1173095703125, 0.236328125, 0.1279296875, 0.08935546875, 0.09765625, 0.13452148...
embed
66490803_c0
66490803
haskell
0
Title: What is the correct way to use fromIntegral to convert an Integer to real-fractional types? Problem title: What is the correct way to use fromIntegral to convert an Integer to real-fractional types? Tags: haskell Problem: What is the correct way to use fromIntegral to convert an Integer to real-fractional types?...
What is the correct way to use fromIntegral to convert an Integer to real-fractional types? What is the correct way to use fromIntegral to convert an Integer to real-fractional types? haskell What Integer Integral Num Real Fractional Fraction What is the correct way to use fromIntegral to convert an Integer to real-fra...
[ -0.0277099609375, -0.004425048828125, 0.006072998046875, -0.0096435546875, 0.0012664794921875, 0.01312255859375, -0.0115966796875, -0.021484375, -0.01068115234375, -0.01055908203125, -0.018798828125, -0.0184326171875, 0.00518798828125, -0.007415771484375, 0.0052490234375, -0.0034484863...
[ 26785, 3917, 4527, 1295, 4153, 67, 5739, 141, 96760, 44401, 47, 2773, 175921, 289, 52895, 1556, 142508, 4865, 204681, 52782, 5120, 7868, 10763, 142, 31577, 10644, 6528, 4358, 56, 55300, 14432, 11814, 225490, 17721, 6626, 110527, 5701, 12301, ...
[ 0.1500244140625, 0.07232666015625, 0.1063232421875, 0.2388916015625, 0.09271240234375, 0.177978515625, 0.164306640625, 0.140625, 0.152099609375, 0.24755859375, 0.0889892578125, 0.2265625, 0.2191162109375, 0.07257080078125, 0.1934814453125, 0.1258544921875, 0.218994140625, 0.0599975...
embed
34756441_c1
34756441
haskell
1
be found. cabal: Error: some packages failed to install: ghcjs-dom-0.2.3.1 depends on gtk3-0.14.2 which failed to install. gtk3-0.14.2 failed during the configure step. The exception was: ExitFailure 1 webkitgtk3-0.14.1.1 depends on gtk3-0.14.2 which failed to install. After failing to brew install it, I try to instal...
be found. cabal: Error: some packages failed to install: ghcjs-dom-0.2.3.1 depends on gtk3-0.14.2 which failed to install. gtk3-0.14.2 failed during the configure step. The exception was: ExitFailure 1 webkitgtk3-0.14.1.1 depends on gtk3-0.14.2 which failed to install. After failing to brew install it, I try to instal...
[ -0.0130615234375, 0.013916015625, 0.0089111328125, -0.033935546875, 0.00982666015625, -0.003570556640625, -0.006591796875, -0.0022735595703125, -0.00872802734375, 0.02001953125, -0.004730224609375, -0.06591796875, -0.0220947265625, -0.01446533203125, -0.010986328125, 0.004150390625, ...
[ 186, 14037, 109524, 212059, 3060, 98169, 165523, 47, 20600, 31380, 238, 28175, 3815, 133684, 97109, 56566, 706, 31472, 27495, 102014, 117904, 222495, 29954, 131527, 5443, 217, 17647, 379, 3408, 106, 1467, 9488, 5386, 92, 363, 23320, 2592, 837...
[ 0.09130859375, 0.1387939453125, 0.265380859375, 0.1455078125, 0.038330078125, 0.2193603515625, 0.1888427734375, 0.037322998046875, 0.193359375, 0.10986328125, 0.0665283203125, 0.2020263671875, 0.1663818359375, 0.1328125, 0.1529541015625, 0.20068359375, 0.08447265625, 0.219482421875...
embed
22445761_c0
22445761
haskell
0
Title: Name parametrized Data type Problem title: Name parametrized Data type Tags: haskell Problem: Name parametrized Data type I am learning (once again) haskell and I have the following code: import qualified Data.Map as Map data Union = Union { father :: Int, mother :: Int, offspring :: [Int] } deriving Show data P...
Name parametrized Data type Name parametrized Data type haskell qualified Name Data Data.Map Map Union Show Person Maybe Map.Map Map.fromList Map.member Repeated Map.insert Family Name parametrized Data type I am learning (once again) haskell and I have the following code: Now with more functions, I will have quite a l...
[ 0.0006866455078125, 0.01904296875, -0.00286865234375, -0.00079345703125, -0.01904296875, 0.00173187255859375, 0.01190185546875, -0.0031585693359375, 0.01165771484375, -0.0260009765625, 0.0096435546875, -0.0167236328125, 0.002471923828125, 0.01177978515625, -0.004425048828125, -0.013061...
[ 15757, 39850, 29367, 11809, 10644, 1556, 142508, 217225, 166179, 42719, 32528, 17367, 15270, 83425, 5, 161063, 154663, 39, 27417, 33742, 13, 33657, 59745, 52080, 13438, 25632, 18151, 1286, 32354, 1221, 32233, 5915, 360, 18, 52895, 3917, 61924, ...
[ 0.166748046875, 0.24462890625, 0.10638427734375, 0.159423828125, 0.251953125, 0.15625, 0.214599609375, 0.1785888671875, 0.158447265625, 0.16259765625, 0.1644287109375, 0.11962890625, 0.152587890625, 0.06524658203125, 0.0203704833984375, 0.0687255859375, 0.0643310546875, 0.000213623...
embed
5479807_c2
5479807
haskell
2
Crypto.Hash.Skein256 ( Crypto/Hash/Skein256.hs, dist/build/Crypto/Hash/Skein256.p_o ) [ 4 of 13] Compiling Crypto.Hash.RIPEMD160 ( Crypto/Hash/RIPEMD160.hs, dist/build/Crypto/Hash/RIPEMD160.p_o ) [ 5 of 13] Compiling Crypto.Hash.MD5 ( Crypto/Hash/MD5.hs, dist/build/Crypto/Hash/MD5.p_o ) [ 6 of 13] Compiling Crypto.Has...
Crypto.Hash.Skein256 ( Crypto/Hash/Skein256.hs, dist/build/Crypto/Hash/Skein256.p_o ) [ 4 of 13] Compiling Crypto.Hash.RIPEMD160 ( Crypto/Hash/RIPEMD160.hs, dist/build/Crypto/Hash/RIPEMD160.p_o ) [ 5 of 13] Compiling Crypto.Hash.MD5 ( Crypto/Hash/MD5.hs, dist/build/Crypto/Hash/MD5.p_o ) [ 6 of 13] Compiling Crypto.Has...
[ -0.01153564453125, 0.0118408203125, -0.000560760498046875, 0.003631591796875, 0.01519775390625, -0.0185546875, -0.0135498046875, 0.02392578125, 0.01055908203125, 0.0223388671875, -0.020751953125, -0.0035858154296875, -0.00167083740234375, 0.0047607421875, -0.005157470703125, -0.0058593...
[ 201543, 5, 6495, 1495, 294, 350, 73, 127892, 64, 127, 7, 4, 45, 271, 177149, 239159, 31, 254, 454, 1388, 201, 111, 702, 15612, 49725, 132824, 17513, 397, 37321, 190, 44644, 758, 15, 305, 617, 361, 268, 304, 5442, 28864, 26073, 12, 5...
[ 0.2225341796875, 0.03021240234375, 0.2188720703125, 0.1651611328125, 0.067138671875, 0.1864013671875, 0.16064453125, 0.31005859375, 0.06085205078125, 0.1309814453125, 0.0142822265625, 0.0178680419921875, 0.0882568359375, 0.09405517578125, 0.1414794921875, 0.1483154296875, 0.154296875...
embed
37352953_c0
37352953
haskell
0
Title: How to check that two files are equal in Haskell Problem title: How to check that two files are equal in Haskell Tags: haskell, functional-programming Problem: How to check that two files are equal in Haskell I'm learning Haskell and I need to compare two files. I did not find a function that does this, so I cod...
How to check that two files are equal in Haskell How to check that two files are equal in Haskell haskell functional-programming How Haskell FilePath Bool ReadMode EOF TODO How to check that two files are equal in Haskell I'm learning Haskell and I need to compare two files. I did not find a function that does this, so...
[ 0.00970458984375, -0.0038604736328125, 0.0072021484375, 0.0169677734375, -0.00347900390625, 0.0146484375, 0.006439208984375, -0.0194091796875, 0.004180908203125, 0.0130615234375, 0.01397705078125, 0.0186767578125, 0.005096435546875, 0.0233154296875, 0.01104736328125, -0.01177978515625,...
[ 11249, 12765, 450, 6626, 102158, 621, 105950, 20625, 142508, 47, 23, 1556, 123309, 28966, 42724, 683, 10519, 2460, 929, 4764, 9083, 112, 241, 82341, 9926, 13223, 52080, 69101, 32354, 903, 18151, 35978, 17336, 1257, 49666, 9523, 33342, 4552, ...
[ 0.024139404296875, 0.2080078125, 0.085205078125, 0.1697998046875, 0.2305908203125, 0.14111328125, 0.252197265625, 0.130126953125, 0.2132568359375, 0.03277587890625, 0.0565185546875, 0.113037109375, 0.1220703125, 0.02911376953125, 0.130615234375, 0.0615234375, 0.141845703125, 0.0524...
embed
27514861_c0
27514861
haskell
0
Title: Understanding lists in Haskell Problem title: Understanding lists in Haskell Tags: ghci, haskell Problem: Understanding lists in Haskell Please excuse my simple brain, but I'm having trouble getting my head around Haskell, in particular lists. I have tried to write a function to return all the substrings of a sp...
Understanding lists in Haskell Understanding lists in Haskell ghci haskell Understanding Haskell Understanding lists in Haskell Please excuse my simple brain, but I'm having trouble getting my head around Haskell, in particular lists. I have tried to write a function to return all the substrings of a specified length, ...
[ 0.020751953125, 0.0191650390625, 0.000308990478515625, 0.031982421875, -0.006988525390625, 0.01806640625, 0.004669189453125, -0.01165771484375, 0.0281982421875, 0.01019287109375, 0.0189208984375, -0.046875, 0.01239013671875, 0.0224609375, -0.006866455078125, 0.01165771484375, 0.04638...
[ 9626, 144057, 5303, 7, 23, 20625, 142508, 31380, 318, 1556, 133207, 8781, 78574, 63134, 10336, 10932, 37842, 33022, 32354, 30646, 756, 1614, 91693, 58735, 140909, 653, 227204, 1733, 35839, 72134, 7311, 79315, 4879, 6056, 24927, 88996, 54397, ...
[ 0.1181640625, 0.1094970703125, 0.239013671875, 0.088623046875, 0.06365966796875, 0.1353759765625, 0.2401123046875, 0.066162109375, 0.1064453125, 0.1297607421875, 0.05584716796875, 0.0570068359375, 0.04510498046875, 0.06768798828125, 0.040679931640625, 0.037017822265625, 0.06076049804...
embed
32037206_c0
32037206
haskell
0
Title: Trying to exercise with the Cont monad. Syntax issue Problem title: Trying to exercise with the Cont monad. Syntax issue Tags: monads, haskell, continuations Problem: Trying to exercise with the Cont monad. Syntax issue After some study ([1], [2], [3] among others) I am trying to make work of the continuation mo...
Trying to exercise with the Cont monad. Syntax issue Trying to exercise with the Cont monad. Syntax issue monads haskell continuations Trying Cont Syntax n-1 Trying to exercise with the Cont monad. Syntax issue After some study ([1], [2], [3] among others) I am trying to make work of the continuation monad by attemptin...
[ -0.005523681640625, 0.005340576171875, -0.00347900390625, -0.003692626953125, 0.007293701171875, -0.001129150390625, 0.013427734375, -0.02001953125, 0.00156402587890625, -0.040771484375, -0.025146484375, -0.006866455078125, -0.006103515625, 0.002777099609375, 0.010009765625, 0.00732421...
[ 40858, 81979, 678, 1657, 18, 2667, 712, 19010, 86531, 31089, 1556, 142508, 9454, 653, 5759, 35187, 31577, 4488, 1363, 81887, 27781, 10002, 35166, 42459, 36510, 31461, 15403, 17368, 5256, 29806, 40226, 26785, 51, 2886, 1466, 525, 527, 73265, ...
[ 0.07452392578125, 0.1334228515625, 0.0186614990234375, 0.1575927734375, 0.1492919921875, 0.1207275390625, 0.1395263671875, 0.0926513671875, 0.139892578125, 0.0977783203125, 0.10546875, 0.20947265625, 0.2196044921875, 0.0096435546875, 0.1058349609375, 0.006134033203125, 0.024139404296...
embed
22492288_c1
22492288
haskell
1
-2.4.0.0 html-1.0.1.2 parallel-3.2.0.3 primitive-0.5.0.1 random-1.0.1.1 QuickCheck-2.6 alex-3.0.5 split-0.2.2 stm-2.4.2 async-2.0.1.4 syb-0.4.0 haskell-src-1.0.1.5 text-0.11.3.1 attoparsec-0.10.4.0 hashable-1.1.2.5 case-insensitive-1.0.0.1 transformers-0.3.0.0 mtl-2.1.2 fgl-5.4.2.4 happy-1.18.10 parsec-3.1.3 network-2....
.0.0 Building Setup Cabal-1.16.0 Linking collect2 Killed Error Compiling build.stamp Haskell Platform install fails I am trying to install Haskell Platform on a provisioned machine (puppet). The "box" I'll be using will have 512mb memory and is Ubuntu 12 64 bit. First I installed GHC 7.6.3 via the tarball (so configure...
[ -0.0181884765625, 0.00531005859375, 0.0228271484375, -0.00811767578125, -0.0028076171875, -0.0064697265625, -0.015869140625, -0.01953125, 0.00006532669067382812, 0.02783203125, 0.008544921875, -0.01373291015625, 0.01019287109375, -0.00018024444580078125, 0.0091552734375, 0.011047363281...
[ 99929, 104919, 19943, 2037, 30438, 289, 2485, 12779, 43799, 304, 104431, 297, 212059, 15612, 45367, 590, 2676, 20625, 142508, 70968, 20600, 35782, 31577, 125034, 36279, 1766, 58134, 11728, 112733, 6492, 98323, 116890, 427, 7911, 527, 73265, 286...
[ 0.1407470703125, 0.0904541015625, 0.056640625, 0.010040283203125, 0.1060791015625, 0.1357421875, 0.112060546875, 0.15966796875, 0.2215576171875, 0.16796875, 0.1983642578125, 0.0792236328125, 0.1395263671875, 0.07086181640625, 0.127685546875, 0.0625, 0.1396484375, 0.1484375, 0.263...
embed
44515018_c0
44515018
haskell
0
Title: Concise way to conditionally update map in State monad Problem title: Concise way to conditionally update map in State monad Tags: haskell, functional-programming, memoization, monads Problem: Concise way to conditionally update map in State monad Below is the code from an answer regarding memoization , showing ...
Concise way to conditionally update map in State monad Concise way to conditionally update map in State monad haskell functional-programming memoization monads Concise State MyMemo Map.Map Ord Map.lookup Just Nothing Map.insert Concise way to conditionally update map in State monad Below is the code from an answer rega...
[ -0.0194091796875, -0.004608154296875, 0.02099609375, -0.020751953125, -0.0023040771484375, -0.005584716796875, 0.01708984375, 0.0169677734375, -0.0024871826171875, 0.0208740234375, 0.0233154296875, 0.03955078125, -0.00016117095947265625, 0.00933837890625, 0.0224609375, 0.00106811523437...
[ 1657, 318, 184, 3917, 35431, 25958, 28350, 22288, 22836, 2667, 712, 23, 1556, 142508, 123309, 28966, 163, 432, 47691, 2646, 6696, 42719, 166179, 35379, 64747, 2037, 9563, 182747, 33657, 17336, 18151, 32354, 11814, 11341, 150011, 16750, 115081, ...
[ 0.057373046875, 0.221923828125, 0.0797119140625, 0.0819091796875, 0.2109375, 0.1136474609375, 0.2352294921875, 0.2259521484375, 0.1763916015625, 0.1182861328125, 0.178955078125, 0.0443115234375, 0.1009521484375, 0.2122802734375, 0.1318359375, 0.104736328125, 0.1099853515625, 0.1773...
embed
47017516_c0
47017516
haskell
0
Title: Template Haskell: how to rewrite this? Problem title: Template Haskell: how to rewrite this? Tags: template-haskell, haskell Problem: Template Haskell: how to rewrite this? I have this pSizeOf function which takes a type param and returns the size of that type as type-level literal: import Foreign.Storable impor...
Template Haskell: how to rewrite this? Template Haskell: how to rewrite this? template-haskell haskell Foreign.Storable Language.Haskell.TH qualified Template Haskell Data.Kind K.Type Storable TypeQ LitT NumTyLit Name SigE VarE ConT GHC Template Haskell: how to rewrite this? I have this pSizeOf function which takes a t...
[ -0.014404296875, -0.0021514892578125, 0.00153350830078125, -0.00115966796875, -0.030517578125, -0.005828857421875, 0.0118408203125, -0.01190185546875, -0.0135498046875, -0.039306640625, 0.0155029296875, -0.03466796875, 0.025634765625, -0.01806640625, 0.0185546875, 0.01416015625, 0.00...
[ 196631, 20625, 142508, 3642, 456, 434, 18781, 903, 110934, 10557, 1556, 184293, 1290, 2886, 83658, 6495, 7, 23415, 217225, 11809, 7250, 341, 196707, 23604, 60457, 2737, 27668, 618, 52782, 53, 866, 217, 15757, 26729, 647, 3323, 1657, 73265, ...
[ 0.2607421875, 0.1187744140625, 0.1837158203125, 0.07098388671875, 0.1561279296875, 0.150146484375, 0.1790771484375, 0.10723876953125, 0.2283935546875, 0.07373046875, 0.0909423828125, 0.1112060546875, 0.0919189453125, 0.07232666015625, 0.1295166015625, 0.0406494140625, 0.0247955322265...
embed
32672814_c0
32672814
haskell
0
Title: Where is the realWorld# defined? Problem title: Where is the realWorld# defined? Tags: ghc, haskell Problem: Where is the realWorld# defined? In the definition of unsafeDupablePerformIO ( source , docs ) I found a reference to the one and only realWorld# . So I wondered where all these functions or values that e...
Where is the realWorld# defined? Where is the realWorld# defined? ghc haskell Where RealWorld NOINLINE See Note RHS Where is the realWorld# defined? In the definition of unsafeDupablePerformIO ( source , docs ) I found a reference to the one and only realWorld# . So I wondered where all these functions or values that e...
[ 0.0191650390625, 0.015869140625, 0.003997802734375, 0.01708984375, 0.007080078125, 0.01611328125, -0.01239013671875, -0.0166015625, 0.01251220703125, -0.0130615234375, 0.023681640625, -0.017822265625, -0.00567626953125, -0.007568359375, 0.020263671875, 0.0177001953125, -0.00512695312...
[ 78662, 2773, 70646, 4904, 61924, 71, 31380, 238, 1556, 142508, 5120, 9520, 8852, 57339, 18622, 68416, 70, 80934, 51, 115840, 2037, 2886, 15277, 5037, 17780, 31344, 91067, 1632, 4734, 7440, 32354, 142424, 3564, 678, 468, 14037, 527, 73265, 1...
[ 0.10223388671875, 0.166748046875, 0.2132568359375, 0.1871337890625, 0.181640625, 0.0833740234375, 0.0823974609375, 0.069580078125, 0.1171875, 0.1910400390625, 0.1768798828125, 0.052764892578125, 0.012542724609375, 0.1849365234375, 0.038238525390625, 0.046630859375, 0.001739501953125,...
embed
35979240_c1
35979240
haskell
1
a similar style of code, I crafted a function sequence to construct an HTML script primitive to place a javascript source into the HTML header: inc_sketchScript <- mkElement "script" # set (attr "src") "/static/sketch.js" getHead rootWindow #+ [ element inc_sketchScript ] The included javascript file doesn't show in t...
a similar style of code, I crafted a function sequence to construct an HTML script primitive to place a javascript source into the HTML header: inc_sketchScript <- mkElement "script" # set (attr "src") "/static/sketch.js" getHead rootWindow #+ [ element inc_sketchScript ] The included javascript file doesn't show in t...
[ -0.008056640625, 0.01141357421875, -0.01129150390625, 0.002838134765625, -0.0022430419921875, -0.01055908203125, 0.00848388671875, 0.00250244140625, 0.00567626953125, -0.05322265625, 0.0223388671875, -0.0517578125, -0.0111083984375, -0.000514984130859375, -0.00174713134765625, -0.00055...
[ 21373, 20623, 18151, 131346, 32354, 944, 3956, 64549, 19097, 26499, 128489, 3687, 136951, 31344, 3934, 10336, 56, 23, 238, 3473, 206, 147845, 19201, 19929, 32032, 5423, 19437, 201939, 28175, 13025, 712, 74855, 92049, 24293, 12830, 99201, 11435,...
[ 0.0943603515625, 0.1546630859375, 0.1370849609375, 0.059112548828125, 0.1201171875, 0.0163421630859375, 0.000518798828125, 0.072021484375, 0.1854248046875, 0.19189453125, 0.1107177734375, 0.05059814453125, 0.215087890625, 0.1231689453125, 0.02984619140625, 0.1475830078125, 0.07202148...
embed
36512530_c0
36512530
haskell
0
Title: Haskell Maybe type constructor Problem title: Haskell Maybe type constructor Tags: haskell Problem: Haskell Maybe type constructor I'm trying to make a very simple implementation of the Maybe type constructor in the context of passing an integer into a function, and getting a Maybe a type out. The specific case ...
Haskell Maybe type constructor Haskell Maybe type constructor haskell Haskell Maybe Number Nothing Just FirstRange SecondRange ThirdRange FourthRange FifthRange Show Integer Unexpected Haskell Maybe type constructor I'm trying to make a very simple implementation of the Maybe type constructor in the context of passing ...
[ -0.0198974609375, -0.006439208984375, 0.02099609375, 0.015380859375, 0.01092529296875, 0.0228271484375, -0.00135040283203125, 0.00543212890625, 0.004547119140625, 0.01007080078125, -0.004730224609375, -0.01519775390625, -0.00015354156494140625, 0.000835418701171875, 0.00439453125, 0.01...
[ 20625, 142508, 83425, 10644, 64549, 748, 1556, 103332, 182747, 9563, 23972, 1052, 51459, 77648, 198387, 65056, 3698, 2480, 17367, 44401, 992, 83613, 13, 31577, 4552, 8781, 208124, 43701, 452, 892, 1505, 3934, 32354, 1810, 29458, 7225, 16487, ...
[ 0.1273193359375, 0.234375, 0.31005859375, 0.2100830078125, 0.186767578125, 0.1343994140625, 0.1351318359375, 0.177001953125, 0.1737060546875, 0.0753173828125, 0.056182861328125, 0.09136962890625, 0.1248779296875, 0.056732177734375, 0.0936279296875, 0.08270263671875, 0.076904296875, ...
embed
24981940_c0
24981940
haskell
0
Title: What are some good use cases for calling &#x27;yield&#x27; in a thread? Problem title: What are some good use cases for calling &#x27;yield&#x27; in a thread? Tags: context-switch, haskell, multithreading Problem: What are some good use cases for calling 'yield' in a thread? Many languages that support multi-thr...
What are some good use cases for calling &#x27;yield&#x27; in a thread? What are some good use cases for calling &#x27;yield&#x27; in a thread? context-switch haskell multithreading What What are some good use cases for calling 'yield' in a thread? Many languages that support multi-threading provide an action that allo...
[ 0.01153564453125, 0.00115966796875, 0.0220947265625, 0.006134033203125, 0.008544921875, -0.0164794921875, 0.00299072265625, -0.009521484375, -0.00848388671875, -0.0284423828125, 0.00872802734375, -0.0103759765625, -0.019287109375, -0.0130615234375, -0.0024566650390625, 0.01446533203125...
[ 4127, 4527, 50218, 159029, 3768, 2387, 19388, 23, 86997, 3060, 100, 43701, 131519, 1556, 142508, 3869, 65847, 6238, 46876, 8060, 6024, 927, 39116, 214, 22631, 114864, 18645, 101089, 47, 15700, 20625, 11180, 209806, 7225, 95307, 32354, 70628, ...
[ 0.113525390625, 0.16455078125, 0.17578125, 0.146484375, 0.036285400390625, 0.172607421875, 0.28369140625, 0.05767822265625, 0.225341796875, 0.035919189453125, 0.00445556640625, 0.1878662109375, 0.1207275390625, 0.07073974609375, 0.220458984375, 0.100341796875, 0.088134765625, 0.024...
embed
5333147_c0
5333147
haskell
0
Title: Iterating Lists in Python, Ruby, Haskell (or whatever) Problem title: Iterating Lists in Python, Ruby, Haskell (or whatever) Tags: functional-programming, ruby, haskell, python Problem: Iterating Lists in Python, Ruby, Haskell (or whatever) Update: I realize that I put the question very badly. Here's a second ru...
Iterating Lists in Python, Ruby, Haskell (or whatever) Iterating Lists in Python, Ruby, Haskell (or whatever) functional-programming ruby haskell python Iterating Lists Python Ruby Haskell myList.append optimumList.append Iterating Lists in Python, Ruby, Haskell (or whatever) Update: I realize that I put the question v...
[ -0.0027923583984375, -0.0093994140625, 0.00347900390625, -0.01123046875, -0.00127410888671875, -0.02294921875, 0.0016326904296875, 0.00469970703125, 0.006378173828125, -0.003936767578125, 0.028564453125, -0.0068359375, 0.0167236328125, -0.0191650390625, -0.0274658203125, 0.00634765625,...
[ 87, 67, 98767, 32036, 7, 23, 145581, 158189, 20625, 142508, 89778, 123309, 28966, 21922, 53, 1556, 17198, 50828, 759, 154663, 9007, 15572, 316, 3611, 28641, 92154, 6494, 17932, 11675, 137399, 25632, 32354, 23972, 3249, 5303, 653, 2203, 190, ...
[ 0.0860595703125, 0.20068359375, 0.22705078125, 0.2685546875, 0.006072998046875, 0.03375244140625, 0.2301025390625, 0.212646484375, 0.1002197265625, 0.182373046875, 0.05010986328125, 0.1778564453125, 0.0985107421875, 0.1025390625, 0.0980224609375, 0.08966064453125, 0.05224609375, 0....
embed
72621779_c0
72621779
haskell
0
Title: Haskell - Apply list of functions to a variable Problem title: Haskell - Apply list of functions to a variable Tags: haskell, functional-programming Problem: Haskell - Apply list of functions to a variable I have been trying to implement a function that applies a list of functions given as a parameter to a given...
Haskell - Apply list of functions to a variable Haskell - Apply list of functions to a variable haskell functional-programming Haskell Apply f:fs Haskell - Apply list of functions to a variable I have been trying to implement a function that applies a list of functions given as a parameter to a given variable. I have b...
[ -0.0012969970703125, -0.00775146484375, 0.004425048828125, 0.0205078125, -0.00799560546875, -0.005828857421875, -0.0155029296875, 0.0150146484375, 0.01300048828125, -0.017822265625, 0.0235595703125, -0.010009765625, 0.003082275390625, 0.0225830078125, 0.003265380859375, -0.0029296875, ...
[ 20625, 142508, 5659, 538, 5303, 32354, 7, 47, 77336, 20, 10, 1556, 123309, 28966, 1238, 12, 17447, 111, 31577, 29479, 4027, 25720, 34475, 237, 171859, 51042, 3934, 67842, 10644, 18499, 54241, 52895, 26137, 18, 873, 17336, 144888, 17368, 195...
[ 0.1517333984375, 0.252685546875, 0.151611328125, 0.1009521484375, 0.1729736328125, 0.21923828125, 0.0638427734375, 0.1199951171875, 0.2420654296875, 0.0166168212890625, 0.01318359375, 0.14453125, 0.1612548828125, 0.0809326171875, 0.08551025390625, 0.04058837890625, 0.1956787109375, ...
embed
46475624_c0
46475624
haskell
0
Title: Reflex: Sending multiple http requests for a dynamic list of entries on event Problem title: Reflex: Sending multiple http requests for a dynamic list of entries on event Tags: functional-programming, frp, haskell, ghcjs, reflex Problem: Reflex: Sending multiple http requests for a dynamic list of entries on eve...
Reflex: Sending multiple http requests for a dynamic list of entries on event Reflex: Sending multiple http requests for a dynamic list of entries on event functional-programming frp haskell ghcjs reflex Reflex Sending Event Text MonadWidget XhrRequest XhrResponse Reflex: Sending multiple http requests for a dynamic li...
[ 0.00164794921875, -0.00848388671875, 0.0030975341796875, -0.0245361328125, -0.01708984375, -0.00787353515625, 0.00156402587890625, 0.00982666015625, 0.00592041015625, -0.031005859375, -0.0067138671875, -0.0186767578125, 0.006134033203125, 0.03662109375, 0.004364013671875, -0.0075683593...
[ 179043, 24044, 48716, 1621, 50336, 84079, 5303, 112820, 19732, 214, 123309, 28966, 14119, 254, 1556, 142508, 31380, 28175, 71181, 36943, 24129, 60331, 532, 3794, 1193, 4097, 75616, 94399, 7079, 70541, 7986, 107730, 77679, 18158, 185553, 653, 14...
[ 0.310302734375, 0.1524658203125, 0.21728515625, 0.1767578125, 0.2362060546875, 0.1595458984375, 0.1845703125, 0.1646728515625, 0.2066650390625, 0.008392333984375, 0.1302490234375, 0.08355712890625, 0.02984619140625, 0.06640625, 0.06103515625, 0.1834716796875, 0.020233154296875, 0.1...
embed
46613397_c0
46613397
haskell
0
Title: parTraversable not creating any sparks Problem title: parTraversable not creating any sparks Tags: parallel-processing, haskell Problem: parTraversable not creating any sparks When I run this program with -s : module Main where import Control.Parallel.Strategies main :: IO () main = do let xs = take 1000 $ produ...
parTraversable not creating any sparks parTraversable not creating any sparks parallel-processing haskell Control.Parallel.Strategies Main Integer Strategy parTraversable not creating any sparks When I run this program with -s : Sparks are created: If I change parList to parTraversable no sparks are created: If I chang...
[ -0.00872802734375, 0.033935546875, -0.0296630859375, -0.004058837890625, 0.027099609375, -0.007110595703125, 0.00543212890625, -0.0245361328125, 0.00885009765625, -0.0184326171875, 0.015869140625, 0.0076904296875, 0.0252685546875, 0.0233154296875, -0.006744384765625, 0.0196533203125, ...
[ 366, 28542, 7864, 2886, 959, 105233, 2499, 131999, 7, 95103, 63923, 1556, 142508, 27131, 55292, 1229, 141, 31828, 12321, 44401, 7832, 67, 11675, 1528, 678, 20, 152810, 75935, 15549, 154663, 47, 110, 9927, 864, 1690, 123041, 184, 438, 17368,...
[ 0.1553955078125, 0.1309814453125, 0.1956787109375, 0.2099609375, 0.04193115234375, 0.1270751953125, 0.0293426513671875, 0.202880859375, 0.1011962890625, 0.215576171875, 0.07379150390625, 0.062042236328125, 0.174560546875, 0.1173095703125, 0.03265380859375, 0.0875244140625, 0.01541137...
embed
67954584_c0
67954584
haskell
0
Title: A type for functions that pipe into each other Problem title: A type for functions that pipe into each other Tags: haskell Problem: A type for functions that pipe into each other I want to deal with an abstraction where I can store f1, f2, f3, f4, f5... where :t f5 . f4 . f3 . f2 . f1 -- String -> Int I don't mu...
A type for functions that pipe into each other A type for functions that pipe into each other haskell PipeFunction Nil A type for functions that pipe into each other I want to deal with an abstraction where I can store f1, f2, f3, f4, f5... where I don't much care for the intermediary results, so I would like to do som...
[ 0.0216064453125, 0.0029296875, -0.009765625, 0.0185546875, -0.0277099609375, -0.01080322265625, -0.0274658203125, -0.0247802734375, 0.005828857421875, -0.00168609619140625, 0.002960205078125, -0.007171630859375, 0.008544921875, 0.00762939453125, -0.00848388671875, 0.0010833740234375, ...
[ 62, 10644, 100, 32354, 450, 137158, 3934, 12638, 3789, 1556, 142508, 93128, 13, 97249, 10763, 77175, 3444, 35142, 164789, 1830, 831, 4343, 1238, 418, 304, 363, 617, 758, 7440, 2301, 18, 5045, 517, 81814, 50339, 1884, 8562, 17514, 63769, 5...
[ 0.1015625, 0.266357421875, 0.09814453125, 0.20556640625, 0.058563232421875, 0.2236328125, 0.164306640625, 0.1058349609375, 0.1417236328125, 0.114990234375, 0.22119140625, 0.16015625, 0.092529296875, 0.1727294921875, 0.023468017578125, 0.2164306640625, 0.077392578125, 0.063903808593...
embed
33901206_c1
33901206
haskell
1
= parens pApp <|> pAbstr <|> pVar typeContextParser :: CharParser () TypeContext typeContextParser = TC <$> ((,) <$> (LV <$> letter <* symbol ":") <*> typeParser) `sepBy` try (symbol ",") expressionParser :: CharParser () Expression expressionParser = Expr <$> (typeContextParser <* symbol "|-") <*> (lambdaParser <* sy...
= parens pApp <|> pAbstr <|> pVar typeContextParser :: CharParser () TypeContext typeContextParser = TC <$> ((,) <$> (LV <$> letter <* symbol ":") <*> typeParser) `sepBy` try (symbol ",") expressionParser :: CharParser () Expression expressionParser = Expr <$> (typeContextParser <* symbol "|-") <*> (lambdaParser <* sy...
[ 0.00136566162109375, 0.0103759765625, -0.015625, 0.0245361328125, -0.004913330078125, 0.00750732421875, 0.0068359375, -0.00762939453125, -0.0023651123046875, -0.012939453125, 0.00921630859375, -0.00823974609375, 0.0107421875, -0.0037384033203125, 0.00531005859375, 0.01031494140625, -...
[ 2203, 366, 1755, 915, 39179, 24988, 9297, 81827, 10644, 11935, 22829, 28636, 2189, 1984, 21656, 60457, 80844, 32811, 31330, 1639, 26582, 12, 70637, 75358, 9790, 176726, 125195, 25129, 60075, 42, 50986, 6492, 85, 23351, 9319, 2392, 18468, 3161...
[ 0.11181640625, 0.1676025390625, 0.1873779296875, 0.054107666015625, 0.1951904296875, 0.06414794921875, 0.154052734375, 0.1929931640625, 0.1199951171875, 0.0538330078125, 0.1583251953125, 0.186767578125, 0.173828125, 0.0163116455078125, 0.09759521484375, 0.1575927734375, 0.13684082031...
embed
3117583_c0
3117583
haskell
0
Title: Is Haskell truly pure (is any language that deals with input and output outside the system)? Problem title: Is Haskell truly pure (is any language that deals with input and output outside the system)? Tags: referential-transparency, haskell, functional-programming, monads Problem: Is Haskell truly pure (is any l...
Is Haskell truly pure (is any language that deals with input and output outside the system)? Is Haskell truly pure (is any language that deals with input and output outside the system)? referential-transparency haskell functional-programming monads Haskell Is Haskell truly pure (is any language that deals with input an...
[ 0.004302978515625, 0.0242919921875, 0.0196533203125, 0.012939453125, -0.010986328125, 0.00567626953125, -0.00909423828125, -0.01190185546875, -0.008544921875, -0.007354736328125, 0.00469970703125, 0.003692626953125, -0.018798828125, -0.007415771484375, -0.00189971923828125, 0.010986328...
[ 2071, 20625, 142508, 87607, 34166, 2499, 46876, 8, 16765, 678, 107730, 140992, 50782, 5426, 164, 15005, 80973, 30145, 16082, 27771, 1556, 123309, 28966, 2667, 712, 7, 23996, 60331, 6468, 56037, 60213, 20653, 3249, 3794, 1810, 79, 379, 4092, ...
[ 0.0748291015625, 0.16845703125, 0.3076171875, 0.1796875, 0.2413330078125, 0.048309326171875, 0.2191162109375, 0.0819091796875, 0.1121826171875, 0.03350830078125, 0.1444091796875, 0.17578125, 0.1658935546875, 0.07403564453125, 0.0149383544921875, 0.1380615234375, 0.09820556640625, 0...
embed
11617335_c0
11617335
haskell
0
Title: Error installing scion-browser Problem title: Error installing scion-browser Tags: cabal, haskell Problem: Error installing scion-browser I get the following error when trying to install the scion-browser package as follows: % cabal install scion-browser-0.2.9 <snipped> [23 of 23] Compiling Main ( src/Main.hs, d...
Error installing scion-browser Error installing scion-browser cabal haskell MonadException a Error scion-browser-0.2.9 Compiling Main Main.hs Main.o Main.hs:31:24 BrowserM Possible Nothing Just ExitFailure Error installing scion-browser I get the following error when trying to install the scion-browser package as follo...
[ -0.01318359375, 0.035888671875, 0.00811767578125, -0.00421142578125, 0.00909423828125, 0.0179443359375, 0.0167236328125, -0.011962890625, -0.016357421875, -0.0157470703125, 0.019775390625, -0.03369140625, -0.016845703125, -0.003143310546875, 0.01202392578125, -0.02099609375, 0.006622...
[ 212059, 20600, 214, 91, 6447, 9, 215725, 109524, 1556, 142508, 60331, 71, 63928, 133684, 1126, 15612, 49725, 12321, 5, 127, 31, 27321, 25732, 86976, 594, 115861, 182747, 9563, 5443, 217, 17647, 379, 25632, 18499, 31577, 98169, 28960, 30022 ]
[ 0.1385498046875, 0.1807861328125, 0.034393310546875, 0.087646484375, 0.2109375, 0.040740966796875, 0.2249755859375, 0.177978515625, 0.082763671875, 0.192138671875, 0.145751953125, 0.076171875, 0.101318359375, 0.1258544921875, 0.183349609375, 0.0849609375, 0.071044921875, 0.07318115...
embed
23532659_c0
23532659
haskell
0
Title: Strange type inferencе with RankNTypes extension Problem title: Strange type inferencе with RankNTypes extension Tags: haskell, ghc Problem: Strange type inferencе with RankNTypes extension I am trying to experiment with System-F types in Haskell and have implemented Church encoding of natural numbers via type ....
Strange type inferencе with RankNTypes extension Strange type inferencе with RankNTypes extension haskell ghc Strange RankNTypes OPTIONS_GHC Wall LANGUAGE CNat CPair pair3 test.hs Compiling Main test.hs:29:1 Warning Top-level Char Strange type inferencе with RankNTypes extension I am trying to experiment with System-F ...
[ 0.01226806640625, 0.009033203125, 0.0008544921875, 0.01153564453125, -0.0034942626953125, -0.01470947265625, -0.00848388671875, -0.01239013671875, -0.0152587890625, -0.0283203125, 0.01043701171875, -0.0252685546875, -0.0024566650390625, -0.018798828125, -0.01239013671875, 0.00126647949...
[ 187791, 10644, 23, 69988, 134405, 839, 196707, 111938, 1556, 142508, 31380, 238, 28023, 41877, 441, 23706, 98064, 257, 7341, 80836, 363, 3034, 127, 29223, 5550, 4792, 67919, 21656, 103, 28007, 12353, 919, 52895, 20625, 29479, 84084, 587, 6083...
[ 0.193359375, 0.2138671875, 0.0255889892578125, 0.1627197265625, 0.2281494140625, 0.130126953125, 0.2490234375, 0.1463623046875, 0.09765625, 0.208251953125, 0.089599609375, 0.010040283203125, 0.1065673828125, 0.087158203125, 0.057403564453125, 0.1138916015625, 0.045806884765625, 0.0...
embed
32594379_c0
32594379
haskell
0
Title: how to correctly perform this sequence of matrices multiplications? Problem title: how to correctly perform this sequence of matrices multiplications? Tags: haskell, matrix Problem: how to correctly perform this sequence of matrices multiplications? This is probably very easy but I can not seem to figure it out....
how to correctly perform this sequence of matrices multiplications? how to correctly perform this sequence of matrices multiplications? haskell matrix Numeric.Matrix Data.Maybe Float Matrix M.fromList M.inv distanceW1 distanceW2 how to correctly perform this sequence of matrices multiplications? This is probably very e...
[ 0.0034332275390625, 0.0247802734375, 0.0008697509765625, 0.008056640625, 0.00933837890625, -0.0031890869140625, -0.0208740234375, -0.00946044921875, 0.001312255859375, -0.01251220703125, 0.0038909912109375, 0.005615234375, 0.01953125, -0.0279541015625, -0.03662109375, -0.03271484375, ...
[ 3642, 47, 26785, 538, 51339, 903, 40, 944, 3956, 50944, 5170, 127664, 5256, 32, 1556, 142508, 93511, 1771, 4613, 87427, 11809, 82419, 38699, 257, 194234, 276, 161063, 154663, 73, 334, 62488, 1456, 418, 304, 111, 31895, 4552, 23468, 1284, ...
[ 0.125732421875, 0.07861328125, 0.1927490234375, 0.04254150390625, 0.22900390625, 0.1312255859375, 0.0589599609375, 0.1246337890625, 0.06927490234375, 0.2054443359375, 0.1328125, 0.2176513671875, 0.1075439453125, 0.0020751953125, 0.1595458984375, 0.2491455078125, 0.0889892578125, 0....
embed
11804492_c0
11804492
haskell
0
Title: What to do when Emacs 23 Haskell compilation (C-c C-l) goes into unending process? Problem title: What to do when Emacs 23 Haskell compilation (C-c C-l) goes into unending process? Tags: haskell-platform, emacs, haskell, haskell-mode Problem: What to do when Emacs 23 Haskell compilation (C-c C-l) goes into unend...
What to do when Emacs 23 Haskell compilation (C-c C-l) goes into unending process? What to do when Emacs 23 Haskell compilation (C-c C-l) goes into unending process? haskell-platform emacs haskell haskell-mode Control.Monad Data.Char What Emacs Haskell C-c C-l What to do when Emacs 23 Haskell compilation (C-c C-l) goes...
[ 0.003173828125, 0.0169677734375, 0.00494384765625, -0.0196533203125, -0.01904296875, 0.0030670166015625, 0.0015411376953125, -0.005950927734375, -0.0089111328125, -0.0294189453125, -0.007476806640625, -0.0201416015625, 0.007568359375, 0.004638671875, 0.00726318359375, -0.0050048828125,...
[ 4865, 54, 3229, 85269, 4439, 1105, 20625, 142508, 98352, 441, 9, 238, 313, 141, 60899, 3934, 773, 33770, 9433, 47, 1556, 172121, 352, 2263, 7, 61170, 27131, 46674, 712, 11809, 84068, 52455, 96276, 9790, 9969, 1340, 5, 127, 11435, 13736, ...
[ 0.04046630859375, 0.08294677734375, 0.0295257568359375, 0.140380859375, 0.1448974609375, 0.2164306640625, 0.1136474609375, 0.224609375, 0.1805419921875, 0.0654296875, 0.07666015625, 0.07354736328125, 0.0811767578125, 0.1090087890625, 0.03533935546875, 0.08563232421875, 0.107543945312...
embed
12775548_c0
12775548
haskell
0
Title: Haskell function that returns number of elements that overlap Problem title: Haskell function that returns number of elements that overlap Tags: haskell, functional-programming Problem: Haskell function that returns number of elements that overlap How would you go about defining a function that takes two strings...
Haskell function that returns number of elements that overlap Haskell function that returns number of elements that overlap haskell functional-programming Haskell Str Haskell function that returns number of elements that overlap How would you go about defining a function that takes two strings, say string x and string ...
[ 0.007659912109375, 0.01214599609375, -0.0308837890625, 0.02685546875, -0.010009765625, 0.0093994140625, 0.0001850128173828125, -0.017822265625, 0.014404296875, -0.01507568359375, -0.0130615234375, -0.02783203125, 0.01953125, 0.00311279296875, 0.009765625, 0.0030975341796875, 0.008850...
[ 20625, 142508, 32354, 30646, 14012, 80854, 450, 645, 6324, 1556, 123309, 28966, 23351, 1672, 13204, 51776, 6626, 79315, 1022, 136, 113, 3564, 5117, 91693, 86595, 17932, 191633, 47644, 4127, 4527, 83, 19273, 55923, 132887, 479, 822, 12765, 217...
[ 0.109375, 0.210205078125, 0.193603515625, 0.1676025390625, 0.1236572265625, 0.19921875, 0.032073974609375, 0.142822265625, 0.260009765625, 0.09234619140625, 0.1134033203125, 0.041046142578125, 0.1248779296875, 0.0047607421875, 0.1090087890625, 0.09130859375, 0.10711669921875, 0.175...
embed
7278130_c0
7278130
haskell
0
Title: Aeson fromJSON instance Problem title: Aeson fromJSON instance Tags: json, haskell Problem: Aeson fromJSON instance I have the following data type: data User = User { name :: T.Text, bookCount :: Int ,memberSince :: DateTime , email :: T.Text, password :: B.ByteString } | UnverifiedUser { nameUnverified :: T.Tex...
Aeson fromJSON instance Aeson fromJSON instance json haskell Aeson User T.Text DateTime B.ByteString UnverifiedUser Integer FromJSON Object Just M.lookup Aeson fromJSON instance I have the following data type: And the following instance: But User was split into two, because sometimes the document in couchdb does not ha...
[ 0.000537872314453125, 0.00250244140625, -0.0022430419921875, 0.01336669921875, -0.0194091796875, 0.0098876953125, 0.000888824462890625, 0.0157470703125, 0, -0.01409912109375, -0.006011962890625, 0.021484375, 0.00909423828125, 0.00921630859375, 0.0014801025390625, -0.01251220703125, 0...
[ 62, 90, 191, 1295, 1375, 58627, 110527, 1647, 1681, 1556, 142508, 53400, 384, 174379, 25512, 70059, 335, 75358, 71713, 992, 814, 47314, 1062, 2189, 44401, 28090, 134549, 276, 64747, 2037, 25632, 2053, 10644, 4966, 509, 65450, 3934, 6626, 68...
[ 0.0966796875, 0.1318359375, 0.2130126953125, 0.2288818359375, 0.142822265625, 0.251708984375, 0.256591796875, 0.059844970703125, 0.170166015625, 0.0794677734375, 0.185791015625, 0.2135009765625, 0.0250701904296875, 0.1192626953125, 0.04498291015625, 0.115478515625, 0.041259765625, ...
embed
45971614_c1
45971614
haskell
1
* -> *). Data m => m String) -> IO String • In the first argument of ‘(.)’, namely ‘useConnection c’ In the expression: useConnection c . getKeyVal In an equation for ‘getKeyValWith’: getKeyValWith c = useConnection c . getKeyVal Strangely enough, the following works just fine: getKeyValWith c k = useConnection c (get...
* -> *). Data m => m String) -> IO String • In the first argument of ‘(.)’, namely ‘useConnection c’ In the expression: useConnection c . getKeyVal In an equation for ‘getKeyValWith’: getKeyValWith c = useConnection c . getKeyVal Strangely enough, the following works just fine: getKeyValWith c k = useConnection c (get...
[ -0.002960205078125, 0.006317138671875, 0.00286865234375, -0.01397705078125, 0.004119873046875, 0.00186920166015625, -0.0107421875, -0.0017242431640625, 0.0155029296875, -0.027587890625, -0.005401611328125, -0.03125, 0.01092529296875, -0.0126953125, -0.0098876953125, -0.0211181640625, ...
[ 661, 33079, 11809, 347, 44357, 23351, 214, 17780, 5117, 10750, 5, 4032, 235603, 1830, 501, 125195, 4527, 2046, 162429, 42272, 5490, 3794, 194583, 187791, 43240, 5885, 472, 282, 11935, 678, 79986, 28219, 527, 73265, 18, 1884, 27781, 68403, 4...
[ 0.0458984375, 0.0614013671875, 0.113037109375, 0.1217041015625, 0.09466552734375, 0.1427001953125, 0.02264404296875, 0.1715087890625, 0.0673828125, 0.2080078125, 0.0635986328125, 0.1138916015625, 0.1417236328125, 0.04510498046875, 0.091796875, 0.134521484375, 0.09844970703125, 0.06...
embed
29934976_c0
29934976
haskell
0
Title: Issue using Hoe from cabal sandbox - System.Random not found Problem title: Issue using Hoe from cabal sandbox - System.Random not found Tags: cabal, haskell Problem: Issue using Hoe from cabal sandbox - System.Random not found I'm trying to use the Hoe utility from a cabal sandbox and am presented with the foll...
Issue using Hoe from cabal sandbox - System.Random not found Issue using Hoe from cabal sandbox - System.Random not found cabal haskell Hoe cabal Issue System.Random Haskell-Sandboxes hoe-1.0.1 Could Use x86_64-osx-ghc-7.8.3 random-1.1 Issue using Hoe from cabal sandbox - System.Random not found I'm trying to use the H...
[ 0.00494384765625, -0.0155029296875, -0.005828857421875, -0.0003948211669921875, -0.00051116943359375, 0.0172119140625, 0.001190185546875, 0.0028839111328125, -0.020263671875, -0.037109375, -0.004913330078125, -0.0146484375, 0.005706787109375, -0.0133056640625, 0.0172119140625, -0.02209...
[ 223317, 17368, 15849, 1295, 109524, 19096, 11728, 12353, 126525, 3815, 959, 14037, 1556, 142508, 20625, 2940, 4621, 5759, 5, 102014, 191147, 36836, 15276, 13307, 232, 425, 9486, 238, 176391, 363, 96759, 92134, 31577, 4527, 19537, 939, 8121, 1...
[ 0.170166015625, 0.1405029296875, 0.301025390625, 0.144287109375, 0.2357177734375, 0.143798828125, 0.207275390625, 0.146484375, 0.131591796875, 0.19140625, 0.122314453125, 0.18896484375, 0.1243896484375, 0.2215576171875, 0.1041259765625, 0.09979248046875, 0.267822265625, 0.046142578...
embed
63608024_c0
63608024
haskell
0
Title: how to make a new type in julia? Problem title: how to make a new type in julia? Tags: types, julia, haskell Problem: how to make a new type in julia? I wrote a haskell code for translate RNA codon like this: data Base = U | C | A | G data Amino = Phe | Lue | Ile | Met | Val | Ser | Pro | Thr | Ala | Tyr | Stop ...
how to make a new type in julia? how to make a new type in julia? types julia haskell Base Amino Phe Lue Ile Met Val Ser Pro Thr Ala Tyr Stop His Gln Asn Lys Asp Glu Cys Trp Arg Gly Show x1:x2:x3:xs how to make a new type in julia? I wrote a haskell code for translate RNA codon like this: And i want to write julia code...
[ 0.0009765625, 0.00506591796875, 0.006439208984375, 0.0458984375, 0.0172119140625, 0.006561279296875, 0.00994873046875, -0.0067138671875, -0.0004329681396484375, 0.000045299530029296875, 0.0079345703125, -0.045166015625, 0.0196533203125, -0.0177001953125, -0.00909423828125, 0.0023803710...
[ 3642, 47, 3249, 10, 3525, 10644, 23, 14801, 11, 32, 52895, 1556, 142508, 44978, 21172, 31, 13000, 13, 69280, 4146, 4769, 5406, 1250, 21664, 54114, 42284, 18763, 80488, 538, 17367, 54397, 18151, 3900, 19309, 125499, 552, 4445, 1884, 903, 3...
[ 0.099609375, 0.036468505859375, 0.1220703125, 0.0662841796875, 0.17529296875, 0.26953125, 0.10498046875, 0.2169189453125, 0.198486328125, 0.00384521484375, 0.21435546875, 0.1158447265625, 0.1884765625, 0.19482421875, 0.1480712890625, 0.1485595703125, 0.00762939453125, 0.00958251953...
embed
29357910_c0
29357910
haskell
0
Title: Haskell - Trying to apply a function to lines of multiple numbers Problem title: Haskell - Trying to apply a function to lines of multiple numbers Tags: string, parsing, haskell Problem: Haskell - Trying to apply a function to lines of multiple numbers I am new to Haskell and I am trying to apply a function (gcd...
Haskell - Trying to apply a function to lines of multiple numbers Haskell - Trying to apply a function to lines of multiple numbers string parsing haskell Data.List Haskell Trying read::String Haskell - Trying to apply a function to lines of multiple numbers I am new to Haskell and I am trying to apply a function (gcd)...
[ -0.022216796875, -0.0054931640625, -0.0019683837890625, 0.013671875, 0.000942230224609375, 0.02978515625, 0.00927734375, -0.0048828125, 0.006134033203125, -0.0306396484375, -0.0012664794921875, -0.0279541015625, -0.004547119140625, 0.015380859375, -0.011962890625, 0.00051116943359375, ...
[ 20625, 142508, 40858, 214, 59911, 32354, 47, 124519, 111, 48716, 101935, 79315, 366, 1556, 11809, 154663, 12301, 71713, 3525, 31577, 177, 71574, 107730, 5570, 23, 13315, 84797, 12638, 70541, 110, 40715, 1286, 6626, 27781, 82424, 116987, 1257, ...
[ 0.14697265625, 0.2369384765625, 0.1514892578125, 0.066650390625, 0.16796875, 0.18896484375, 0.126708984375, 0.2060546875, 0.069580078125, 0.2061767578125, 0.1771240234375, 0.1748046875, 0.0784912109375, 0.1304931640625, 0.04974365234375, 0.084228515625, 0.1568603515625, 0.11328125,...
embed
69871417_c0
69871417
haskell
0
Title: How to pass additional arguments to a Control.Monad.Reader instance Problem title: How to pass additional arguments to a Control.Monad.Reader instance Tags: functional-programming, haskell Problem: How to pass additional arguments to a Control.Monad.Reader instance I'm reading the Book of Monads and I got to the...
How to pass additional arguments to a Control.Monad.Reader instance How to pass additional arguments to a Control.Monad.Reader instance functional-programming haskell How Control.Monad.Reader Reader Config Request Response Arguments Header How to pass additional arguments to a Control.Monad.Reader instance I'm reading ...
[ -0.004791259765625, 0.0135498046875, 0.007354736328125, -0.004241943359375, -0.005126953125, -0.00933837890625, -0.01165771484375, -0.0103759765625, -0.0115966796875, -0.038330078125, -0.00531005859375, 0.0004177093505859375, -0.0184326171875, 0.006683349609375, 0.004669189453125, -0.0...
[ 11249, 47, 27875, 78301, 10750, 7, 27131, 46674, 712, 31345, 56, 110527, 123309, 28966, 1556, 142508, 122636, 139403, 75616, 92748, 112140, 44816, 16454, 27432, 111, 60331, 6468, 2667, 98365, 17368, 27781, 71864, 143726, 452, 67466, 177, 11814,...
[ 0.06683349609375, 0.084716796875, 0.151123046875, 0.202392578125, 0.255126953125, 0.068603515625, 0.153564453125, 0.0843505859375, 0.1109619140625, 0.2041015625, 0.1239013671875, 0.1849365234375, 0.126953125, 0.08746337890625, 0.0927734375, 0.189697265625, 0.261474609375, 0.1407470...
embed
31924571_c1
31924571
haskell
1
df05b8d31294b1553cc2e7f7972db wired-in package integer-gmp mapped to integer-gmp-0.5.1.0-c643540c959b8d4136c733c4ecf986b3 wired-in package base mapped to base-4.7.0.2-a962de1f083bee8a0176a548387263c2 wired-in package rts mapped to builtin_rts wired-in package template-haskell mapped to template-haskell-2.9.0.0-3231d71f...
.12.1.2 base-4.7.0.2 binary-0.7.2.3 bytestring-0.10.6.0 case-insensitive-1.2.0.3 containers-0.5.6.2 deepseq-1.3.0.2 directory-1.2.1.0 dlist-0.7.1 extensible-exceptions-0.1.1.3 filepath-1.3.0.2 ghc-prim-0.3.1.0 ghcjs-base-0.1.0.0 ghcjs-prim-0.1.0.0 hashable-1.2.3.1 integer-gmp-0.5.1.0 Lens not found when compiling sampl...
[ -0.0303955078125, -0.0206298828125, 0.0093994140625, 0.01190185546875, 0.0031585693359375, 0.0216064453125, 0.009033203125, -0.00173187255859375, 0.01708984375, -0.0208740234375, -0.0208740234375, -0.0167236328125, 0.0010986328125, 0.0201416015625, 0.017822265625, -0.0032196044921875, ...
[ 6, 15654, 48400, 3647, 11565, 53489, 133684, 2394, 6635, 9, 134926, 5, 120883, 390, 67, 91693, 102014, 122887, 2389, 7225, 73, 176302, 13, 170179, 116419, 7, 93645, 178121, 53894, 184, 864, 81046, 14364, 53, 102107, 104, 6562, 165830, 510, ...
[ 0.0706787109375, 0.2098388671875, 0.2027587890625, 0.20703125, 0.096923828125, 0.07159423828125, 0.140869140625, 0.1217041015625, 0.098876953125, 0.0421142578125, 0.07861328125, 0.052001953125, 0.08148193359375, 0.038177490234375, 0.038543701171875, 0.1475830078125, 0.0831298828125, ...
embed
14920566_c0
14920566
haskell
0
Title: How to serialize little-endian PODs painlessly? Problem title: How to serialize little-endian PODs painlessly? Tags: haskell, serialization Problem: How to serialize little-endian PODs painlessly? Let's say I have the following type: data WaveFormatChunk = WaveFormatChunk { compression :: Word16, channels :: Wor...
How to serialize little-endian PODs painlessly? How to serialize little-endian PODs painlessly? haskell serialization How PODs WaveFormatChunk Word16 Word32 Show How to serialize little-endian PODs painlessly? Let's say I have the following type: Is there a way to just dump all of that into a ByteString (or a similar s...
[ 0.01324462890625, 0.0030364990234375, -0.00174713134765625, 0.0030364990234375, -0.0164794921875, 0.0081787109375, -0.0179443359375, -0.021240234375, 0.0024566650390625, 0.004730224609375, 0.01434326171875, -0.01348876953125, 0.00982666015625, -0.0020904541015625, 0.004608154296875, 0....
[ 11249, 47, 35686, 20650, 10176, 33, 27201, 62035, 7, 24503, 9393, 538, 1556, 142508, 47691, 148529, 102973, 3678, 22543, 2485, 6460, 17367, 25632, 10644, 3917, 115, 2676, 756, 450, 3934, 3311, 67, 71713, 214, 45646, 28271, 1935, 36716, 3302...
[ 0.054779052734375, 0.001800537109375, 0.2186279296875, 0.156982421875, 0.1697998046875, 0.084228515625, 0.1822509765625, 0.266357421875, 0.08856201171875, 0.1214599609375, 0.1220703125, 0.061279296875, 0.0986328125, 0.1875, 0.054931640625, 0.07000732421875, 0.0869140625, 0.06555175...
embed
53977864_c1
53977864
haskell
1
... Configuring stm-2.5.0.0... Installed lazysmallcheck-0.6 Downloading HCodecs-0.5.1... Installed heap-1.0.4 Downloading Stream-0.4.7.2... Configuring HCodecs-0.5.1... Configuring Stream-0.4.7.2... Building stm-2.5.0.0... Building HCodecs-0.5.1... Building Stream-0.4.7.2... Failed to install HCodecs-0.5.1 Build log ( ...
743 Stream QuickCheck erf-2.0.0.0 ADZoyzEXgHe6hyR0Bycce0.log cabal-tmp-21584 random-0.5 primitive-0.6.4.0 Euterpea-2.0.6-87WYqltNL8w8teqXOsc4TL HCodecs-0.5.1-DrGKEnNk6EBHti2goL6KP5 QuickCheck-2.12.6.1-KuXpgimNOXzF2SmGPEs5LR Installing Euterpea for computer music applications and Haskell I followed the instructions here...
[ -0.011474609375, -0.01080322265625, 0.011962890625, -0.015380859375, 0.0224609375, -0.0255126953125, -0.00347900390625, -0.000530242919921875, -0.002197265625, 0.0255126953125, -0.0146484375, -0.039794921875, 0.0115966796875, 0.00909423828125, 0.0166015625, 0.003753662109375, 0.01263...
[ 361, 11548, 115061, 89038, 202567, 86821, 73011, 99929, 60551, 26939, 4867, 109524, 2676, 10057, 96759, 93645, 128489, 13, 122887, 151152, 5177, 720, 29518, 19308, 41445, 114211, 15654, 173245, 138535, 107951, 13909, 19612, 86685, 20625, 142508, ...
[ 0.05194091796875, 0.213134765625, 0.18017578125, 0.138916015625, 0.259033203125, 0.1087646484375, 0.0997314453125, 0.093017578125, 0.02789306640625, 0.000518798828125, 0.1346435546875, 0.20263671875, 0.1103515625, 0.0469970703125, 0.1710205078125, 0.1041259765625, 0.10986328125, 0....
embed
11625840_c1
11625840
haskell
1
the point that the stack overflows; no pun intended). We had a look at the "core" code generated by GHC, but as far as we could interpret it, it actually contained the same translation of let as the one above. So no clue here, and more confusion instead. Why does "bad?" work when optimization is turned off, but not wh...
the point that the stack overflows; no pun intended). We had a look at the "core" code generated by GHC, but as far as we could interpret it, it actually contained the same translation of let as the one above. So no clue here, and more confusion instead. Why does "bad?" work when optimization is turned off, but not wh...
[ -0.0155029296875, -0.005126953125, 0.00994873046875, 0.00396728515625, -0.007110595703125, 0.017333984375, -0.0286865234375, -0.0101318359375, 0.0174560546875, 0.000690460205078125, -0.0091552734375, -0.0042724609375, 0.007110595703125, 0.0263671875, 0.01336669921875, -0.01141357421875...
[ 6275, 177261, 645, 118664, 179140, 6713, 30854, 18151, 139392, 527, 73265, 29481, 70541, 5701, 153648, 2633, 110, 29786, 169463, 44084, 14602, 12283, 2953, 4488, 3229, 87235, 1363, 69347, 5773, 98, 10015, 8561, 38415, 3444, 69307, 75973, 9433, ...
[ 0.030914306640625, 0.127197265625, 0.1075439453125, 0.20068359375, 0.002655029296875, 0.00390625, 0.1383056640625, 0.135986328125, 0.05523681640625, 0.0899658203125, 0.215576171875, 0.0679931640625, 0.0391845703125, 0.040313720703125, 0.1312255859375, 0.207763671875, 0.00827026367187...
embed
23661678_c0
23661678
haskell
0
Title: Deriving Enum for a sum type of records in Haskell Problem title: Deriving Enum for a sum type of records in Haskell Tags: haskell Problem: Deriving Enum for a sum type of records in Haskell I have a sum type of records to represent all in-memory tables and as I will send them across the network. I have a binary...
Deriving Enum for a sum type of records in Haskell Deriving Enum for a sum type of records in Haskell haskell Deriving Enum Haskell Table MarketData Float Trade Can Deriving Enum for a sum type of records in Haskell I have a sum type of records to represent all in-memory tables and as I will send them across the networ...
[ -0.0034027099609375, -0.0123291015625, -0.000820159912109375, 0.01239013671875, -0.0006561279296875, 0.00701904296875, -0.0035247802734375, 0.0208740234375, -0.00860595703125, -0.0174560546875, -0.00494384765625, -0.0164794921875, 0.016357421875, 0.01434326171875, -0.01275634765625, 0....
[ 1310, 14, 6496, 357, 316, 100, 10554, 10644, 115923, 20625, 142508, 1556, 112997, 30318, 137989, 38699, 257, 64166, 4171, 33636, 23, 109005, 23180, 33120, 2394, 91363, 61475, 27875, 23335, 34292, 161063, 647, 2606, 10336, 83324, 2053, 137272, ...
[ 0.1385498046875, 0.08740234375, 0.07403564453125, 0.1376953125, 0.2437744140625, 0.0552978515625, 0.200927734375, 0.1492919921875, 0.16845703125, 0.1304931640625, 0.224365234375, 0.1173095703125, 0.1474609375, 0.1072998046875, 0.08953857421875, 0.1507568359375, 0.023040771484375, 0...
embed
25128610_c0
25128610
haskell
0
Title: Converting a haskell list of points into a file that can be called with splot Problem title: Converting a haskell list of points into a file that can be called with splot Tags: haskell, gnuplot Problem: Converting a haskell list of points into a file that can be called with splot So i have a list full of tuples ...
Converting a haskell list of points into a file that can be called with splot Converting a haskell list of points into a file that can be called with splot haskell gnuplot Converting Converting a haskell list of points into a file that can be called with splot So i have a list full of tuples of 3 which contain the x y ...
[ 0.0089111328125, 0.021728515625, -0.008544921875, -0.01202392578125, -0.0186767578125, 0.005340576171875, 0.004547119140625, -0.01422119140625, 0.0103759765625, 0.01446533203125, 0.002166748046875, -0.0052490234375, 0.00946044921875, -0.007049560546875, -0.015625, 0.024658203125, -0....
[ 1657, 814, 1556, 142508, 5303, 26847, 3934, 11435, 35839, 678, 91, 105710, 111, 104155, 831, 17, 765, 4393, 370, 99726, 138, 70541, 1022, 113, 97, 176866, 13, 6275, 3444, 81887, 41382, 75101, 1884, 903, 24, 4806, 2053, 27117, 566, 5885, ...
[ 0.024688720703125, 0.129150390625, 0.1378173828125, 0.2127685546875, 0.185546875, 0.171875, 0.0570068359375, 0.20166015625, 0.06005859375, 0.06414794921875, 0.0880126953125, 0.270751953125, 0.0213470458984375, 0.1156005859375, 0.00579833984375, 0.01129150390625, 0.0208740234375, 0....
embed
71274003_c0
71274003
haskell
0
Title: Pattern-matching syntax not Constructor application syntax Problem title: Pattern-matching syntax not Constructor application syntax Tags: pattern-matching, haskell Problem: Pattern-matching syntax not Constructor application syntax Given a two-place data constructor, I can partially apply it to one argument the...
Pattern-matching syntax not Constructor application syntax Pattern-matching syntax not Constructor application syntax pattern-matching haskell Pattern-matching Constructor Point MkPoint Float Pattern-matching syntax not Constructor application syntax Given a two-place data constructor, I can partially apply it to one a...
[ 0.00738525390625, 0.017333984375, -0.01385498046875, 0.0084228515625, 0.0137939453125, 0.015869140625, -0.0164794921875, 0.00775146484375, 0.005126953125, -0.01153564453125, 0.0093994140625, -0.0167236328125, 0.01177978515625, -0.0118408203125, 0.0009307861328125, -0.0015411376953125, ...
[ 9876, 22766, 98753, 214, 6002, 86531, 959, 82084, 18770, 38415, 103510, 1556, 142508, 41097, 92, 147534, 38699, 6626, 23935, 2053, 64549, 748, 831, 2878, 59911, 1632, 10750, 17932, 44084, 18, 4527, 5701, 14858, 3444, 59102, 5117, 79459, 237, ...
[ 0.173583984375, 0.1761474609375, 0.263916015625, 0.1304931640625, 0.1651611328125, 0.2227783203125, 0.052032470703125, 0.146484375, 0.1153564453125, 0.122314453125, 0.24658203125, 0.047119140625, 0.165283203125, 0.08465576171875, 0.002227783203125, 0.1317138671875, 0.0916748046875, ...
embed
46327990_c0
46327990
haskell
0
Title: Illegal polymorphic or qualified type in typeclass Problem title: Illegal polymorphic or qualified type in typeclass Tags: haskell, polymorphism Problem: Illegal polymorphic or qualified type in typeclass The following file Poly.hs file {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE TypeSynonymInstances #-} {-#...
Illegal polymorphic or qualified type in typeclass Illegal polymorphic or qualified type in typeclass haskell polymorphism Illegal Poly.hs LANGUAGE FlexibleInstances TypeSynonymInstances RankNTypes Poly ListModifier Monoid Poly.hs:8:10 Compilation Illegal polymorphic or qualified type in typeclass The following file Po...
[ -0.0164794921875, 0.0225830078125, 0.005157470703125, 0.006195068359375, 0.00872802734375, 0.017578125, 0.017333984375, -0.01177978515625, 0.000675201416015625, -0.020263671875, 0.01904296875, -0.0262451171875, 0.004486083984375, -0.0179443359375, -0.0257568359375, -0.0262451171875, ...
[ 891, 86966, 35874, 178851, 1771, 707, 217225, 10644, 67413, 23, 1556, 142508, 8780, 63306, 5, 127, 7, 3358, 98064, 180842, 2661, 116071, 60457, 45757, 134405, 196707, 32036, 91616, 85789, 77879, 532, 1019, 15110, 15612, 14, 25632, 11435, 7829...
[ 0.0975341796875, 0.2109375, 0.2138671875, 0.1986083984375, 0.0650634765625, 0.046966552734375, 0.186767578125, 0.2225341796875, 0.207275390625, 0.02386474609375, 0.1142578125, 0.2008056640625, 0.06097412109375, 0.25830078125, 0.03546142578125, 0.1424560546875, 0.093994140625, 0.016...
embed
77549599_c1
77549599
haskell
1
JSONExample.hs:18:12-23: error: • Couldn't match type ‘[Char]’ with ‘Key’ Expected: Key Actual: String • In the second argument of ‘(.:)’, namely ‘"ColumnType"’ In the second argument of ‘(<*>)’, namely ‘v .: "ColumnType"’ In the expression: FromJSONColumn <$> v .: "Name" <*> v .: "ColumnType" | 18 | <*> v .: "ColumnT...
JSONExample.hs:18:12-23: error: • Couldn't match type ‘[Char]’ with ‘Key’ Expected: Key Actual: String • In the second argument of ‘(.:)’, namely ‘"ColumnType"’ In the second argument of ‘(<*>)’, namely ‘v .: "ColumnType"’ In the expression: FromJSONColumn <$> v .: "Name" <*> v .: "ColumnType" | 18 | <*> v .: "ColumnT...
[ 0.01336669921875, -0.008544921875, -0.003082275390625, 0.001983642578125, 0.002777099609375, -0.00286865234375, -0.00180816650390625, -0.0130615234375, -0.00897216796875, 0.0274658203125, -0.00616455078125, 0.007171630859375, 0.01416015625, 0.01519775390625, -0.034912109375, 0.00708007...
[ 821, 58627, 19279, 11, 33209, 127, 24033, 20927, 37620, 18499, 191147, 18, 14858, 10644, 84068, 678, 162429, 60075, 13, 89829, 26824, 100582, 23351, 214, 17932, 10750, 5, 12, 78457, 316, 196707, 1639, 334, 125195, 28090, 1375, 4369, 81, 163...
[ 0.126953125, 0.191162109375, 0.07025146484375, 0.0794677734375, 0.0845947265625, 0.086181640625, 0.1175537109375, 0.105224609375, 0.1317138671875, 0.1571044921875, 0.1295166015625, 0.0535888671875, 0.1995849609375, 0.217529296875, 0.204833984375, 0.07379150390625, 0.1998291015625, ...
embed
12961651_c0
12961651
haskell
0
Title: Why not be dependently typed? Problem title: Why not be dependently typed? Tags: dependent-type, haskell, type-systems Problem: Why not be dependently typed? I have seen several sources echo the opinion that "Haskell is gradually becoming a dependently-typed language". The implication seems to be that with more ...
Why not be dependently typed? Why not be dependently typed? dependent-type haskell type-systems Why Why not be dependently typed? I have seen several sources echo the opinion that "Haskell is gradually becoming a dependently-typed language". The implication seems to be that with more and more language extensions, Haske...
[ -0.0150146484375, 0.00885009765625, 0.0107421875, -0.00750732421875, 0.00396728515625, 0.01336669921875, -0.031982421875, -0.0052490234375, 0.0054931640625, -0.00701904296875, -0.017822265625, -0.041015625, -0.0003681182861328125, 0.010498046875, 0.000583648681640625, -0.000732421875, ...
[ 44084, 959, 186, 108750, 538, 10644, 71, 50986, 1556, 142508, 16751, 33153, 6495, 7, 128839, 141753, 46876, 17914, 111938, 20625, 38188, 4537, 48225, 2685, 14373, 6626, 1884, 3714, 372, 214, 20653, 29459, 121392, 9655, 79442, 12620, 10336, 39...
[ 0.08563232421875, 0.1312255859375, 0.049896240234375, 0.220458984375, 0.0777587890625, 0.2132568359375, 0.062286376953125, 0.20947265625, 0.1123046875, 0.235595703125, 0.095947265625, 0.020263671875, 0.084228515625, 0.0511474609375, 0.091796875, 0.06781005859375, 0.197998046875, 0....
embed
24223201_c0
24223201
haskell
0
Title: Why the cycle function cannot work with empty list? Problem title: Why the cycle function cannot work with empty list? Tags: haskell Problem: Why the cycle function cannot work with empty list? I used the function cycle in some of my projects and today I discovered it isn't a total function, as shown by this GHC...
Why the cycle function cannot work with empty list? Why the cycle function cannot work with empty list? haskell Why Data.List.cycle Exception Prelude.cycle Why the cycle function cannot work with empty list? I used the function cycle in some of my projects and today I discovered it isn't a total function, as shown by t...
[ 0.0126953125, -0.006866455078125, 0.00543212890625, 0.002349853515625, 0.0155029296875, -0.0033721923828125, 0.0020294189453125, -0.0191650390625, 0.01007080078125, -0.00531005859375, -0.00579833984375, 0.006134033203125, -0.0186767578125, 0.028564453125, 0.009521484375, 0.005737304687...
[ 44084, 105823, 32354, 53418, 4488, 678, 201505, 5303, 1556, 142508, 11809, 154663, 75457, 5443, 63928, 1914, 822, 112, 56112, 18, 3622, 41877, 17304, 27781, 20625, 20531, 10336, 46741, 104250, 18499, 181135, 3564, 5608, 83, 41018, 66161, 40494,...
[ 0.0506591796875, 0.240966796875, 0.162353515625, 0.1083984375, 0.097412109375, 0.05084228515625, 0.17578125, 0.180908203125, 0.08349609375, 0.2017822265625, 0.0755615234375, 0.1531982421875, 0.2340087890625, 0.024871826171875, 0.1181640625, 0.065673828125, 0.1583251953125, 0.077880...
embed
26007245_c0
26007245
haskell
0
Title: Trouble w/ Haskell Implementation of Chinese Remainder Theorem Problem title: Trouble w/ Haskell Implementation of Chinese Remainder Theorem Tags: crt, haskell Problem: Trouble w/ Haskell Implementation of Chinese Remainder Theorem So I am having a problem trying to implement the Chinese Remainder Theorem into H...
Trouble w/ Haskell Implementation of Chinese Remainder Theorem Trouble w/ Haskell Implementation of Chinese Remainder Theorem crt haskell Trouble Haskell Implementation Chinese Remainder Theorem Integer big_m Trouble w/ Haskell Implementation of Chinese Remainder Theorem So I am having a problem trying to implement the...
[ -0.0133056640625, 0.007080078125, 0.0262451171875, 0.00811767578125, 0.013427734375, 0.00070953369140625, -0.017822265625, -0.026123046875, -0.007110595703125, -0.0322265625, -0.0031890869140625, -0.0059814453125, 0.00958251953125, 0.0107421875, -0.007537841796875, -0.011474609375, 0...
[ 119671, 2661, 148, 20625, 142508, 153941, 76438, 853, 24931, 820, 581, 58391, 8374, 18, 1556, 44401, 6957, 454, 39, 19441, 2967, 31577, 29479, 3934, 2060, 3714, 881, 334, 32354, 43240, 3034, 48716, 831, 4488, 68330, 5303, 237, 68163, 25842,...
[ 0.1552734375, 0.09295654296875, 0.0682373046875, 0.13623046875, 0.2393798828125, 0.1591796875, 0.1834716796875, 0.1136474609375, 0.2003173828125, 0.168212890625, 0.0849609375, 0.1805419921875, 0.1229248046875, 0.1590576171875, 0.13671875, 0.14697265625, 0.116943359375, 0.0245971679...
embed
49647924_c0
49647924
haskell
0
Title: Is &quot;associates to the right&quot; equivalent to being left or right associative? Problem title: Is &quot;associates to the right&quot; equivalent to being left or right associative? Tags: associative, functional-programming, haskell Problem: Is "associates to the right" equivalent to being left or right ass...
Is &quot;associates to the right&quot; equivalent to being left or right associative? Is &quot;associates to the right&quot; equivalent to being left or right associative? associative functional-programming haskell Is "associates to the right" equivalent to being left or right associative? If I say an operation is left...
[ 0.0194091796875, 0.00860595703125, 0.01507568359375, 0.00897216796875, -0.002288818359375, -0.0027618408203125, 0.027587890625, -0.0034942626953125, 0.01220703125, -0.0294189453125, 0.015625, -0.003265380859375, -0.007720947265625, -0.01483154296875, 0.00604248046875, -0.0125732421875,...
[ 73395, 1883, 1636, 47, 70, 7108, 183234, 8035, 25737, 707, 166027, 272, 123309, 28966, 1556, 142508, 2071, 5154, 41018, 162, 45388, 45023, 54433, 1295, 169463, 27781, 56037, 20625, 7986, 14137, 28670, 10763, 38415, 30699, 3869, 1022, 113, 97,...
[ 0.1348876953125, 0.1568603515625, 0.168212890625, 0.1846923828125, 0.10693359375, 0.23779296875, 0.178955078125, 0.068359375, 0.2130126953125, 0.06414794921875, 0.166259765625, 0.122314453125, 0.1165771484375, 0.0909423828125, 0.071533203125, 0.1962890625, 0.02130126953125, 0.00253...
embed
309159_c0
309159
haskell
0
Title: multiple type parameters in haskell type classes Problem title: multiple type parameters in haskell type classes Tags: typeclass, haskell Problem: multiple type parameters in haskell type classes I'm trying to do some abstraction in Haskell98 but doen't know how to do it. What I want to do is to define a class f...
multiple type parameters in haskell type classes multiple type parameters in haskell type classes typeclass haskell ToList HTree Nil Node multiple type parameters in haskell type classes I'm trying to do some abstraction in Haskell98 but doen't know how to do it. What I want to do is to define a class for types that ma...
[ -0.0030364990234375, 0.0096435546875, -0.0184326171875, 0.00836181640625, -0.015380859375, 0.01483154296875, -0.014892578125, -0.013916015625, 0.00970458984375, -0.01953125, -0.020751953125, -0.04638671875, 0.00177001953125, 0.00186920166015625, -0.0230712890625, -0.0179443359375, 0....
[ 48716, 10644, 171859, 23, 1556, 142508, 61112, 7, 67413, 717, 154663, 572, 62731, 13, 77175, 438, 112, 164789, 1830, 20625, 16665, 3714, 61924, 18507, 52895, 1543, 117176, 3934, 5303, 55300, 17262, 25647, 18, 4488, 63769, 876, 56566, 831, 2...
[ 0.2568359375, 0.2373046875, 0.2340087890625, 0.046478271484375, 0.128662109375, 0.18603515625, 0.2127685546875, 0.0213775634765625, 0.151611328125, 0.16259765625, 0.1402587890625, 0.040863037109375, 0.1446533203125, 0.0179290771484375, 0.1448974609375, 0.09814453125, 0.0826416015625,...
embed
61891291_c0
61891291
haskell
0
Title: How can I perpetually retry an IO until I get a result? Problem title: How can I perpetually retry an IO until I get a result? Tags: functional-programming, haskell Problem: How can I perpetually retry an IO until I get a result? I'm trying to read an integer from a command line prompt and I want my program keep...
How can I perpetually retry an IO until I get a result? How can I perpetually retry an IO until I get a result? functional-programming haskell Control.Exception recoverError SomeException System.IO How Exception Prelude.read How can I perpetually retry an IO until I get a result? I'm trying to read an integer from a co...
[ -0.03564453125, 0.006439208984375, -0.0108642578125, -0.00086212158203125, 0.00909423828125, 0.016357421875, 0.0120849609375, -0.026123046875, -0.0004367828369140625, -0.038818359375, 0.00518798828125, -0.03271484375, -0.009521484375, 0.009521484375, 0.017822265625, -0.002716064453125,...
[ 11249, 831, 155241, 12097, 456, 15123, 17780, 24189, 2046, 16750, 123309, 28966, 1556, 142508, 27131, 19279, 63928, 192026, 31384, 12353, 5443, 1914, 822, 112, 39116, 87, 31577, 12301, 892, 1505, 1295, 75101, 13315, 105876, 3444, 1528, 13695, ...
[ 0.080078125, 0.0863037109375, 0.18115234375, 0.1365966796875, 0.124267578125, 0.2403564453125, 0.215087890625, 0.1417236328125, 0.0738525390625, 0.151611328125, 0.122314453125, 0.062255859375, 0.0943603515625, 0.191162109375, 0.125, 0.00457763671875, 0.1900634765625, 0.09033203125,...
embed
27682312_c0
27682312
haskell
0
Title: Haskell Recursion ( No instance for (RealFrac Int) arising from a use of ‘round’) Problem title: Haskell Recursion ( No instance for (RealFrac Int) arising from a use of ‘round’) Tags: recursion, haskell Problem: Haskell Recursion ( No instance for (RealFrac Int) arising from a use of ‘round’) modPow :: Int -> I...
Haskell Recursion ( No instance for (RealFrac Int) arising from a use of ‘round’) Haskell Recursion ( No instance for (RealFrac Int) arising from a use of ‘round’) recursion haskell a Haskell Recursion RealFrac Pre y-1 Recursion.hs:39:19 Recursion.hs:39:27 Fractional Haskell Recursion ( No instance for (RealFrac Int) a...
[ -0.0296630859375, 0.0106201171875, 0.0302734375, -0.0059814453125, 0.0093994140625, 0.0196533203125, -0.011474609375, -0.00933837890625, 0.00482177734375, 0.00726318359375, 0.001495361328125, -0.031494140625, -0.00274658203125, -0.01226806640625, 0.0257568359375, -0.00970458984375, -...
[ 20625, 142508, 165428, 42, 6889, 15, 438, 110527, 100, 68996, 919, 20251, 360, 18, 187, 72219, 1295, 4527, 67688, 111, 195625, 1830, 1556, 10, 5120, 1914, 113, 5759, 34539, 23988, 5, 127, 27592, 7868, 10763, 289, 16, 145269, 173724, 13933...
[ 0.170654296875, 0.290771484375, 0.1822509765625, 0.19189453125, 0.14111328125, 0.003509521484375, 0.1092529296875, 0.2269287109375, 0.027801513671875, 0.14208984375, 0.06396484375, 0.1649169921875, 0.1090087890625, 0.1285400390625, 0.07861328125, 0.0704345703125, 0.03741455078125, ...
embed
71722839_c0
71722839
haskell
0
Title: Why am I getting an ioctl error in Visual Studio but not in Stack while trying to implement multiple test files in Hspec? Problem title: Why am I getting an ioctl error in Visual Studio but not in Stack while trying to implement multiple test files in Hspec? Tags: ioctl, hspec, haskell-stack, haskell Problem: Wh...
Why am I getting an ioctl error in Visual Studio but not in Stack while trying to implement multiple test files in Hspec? Why am I getting an ioctl error in Visual Studio but not in Stack while trying to implement multiple test files in Hspec? ioctl hspec haskell-stack haskell Why Visual Studio Stack Hspec Spec.hs OPTI...
[ 0.0032196044921875, -0.0034332275390625, -0.0191650390625, -0.009765625, -0.025390625, 0.00994873046875, 0.00830078125, -0.00994873046875, -0.002685546875, -0.007720947265625, 0.00909423828125, -0.0299072265625, 0.01409912109375, 0.00567626953125, 0.0029144287109375, 0.0185546875, 0....
[ 44084, 17, 6652, 18, 141, 18499, 73372, 22968, 959, 6512, 2594, 31577, 29479, 48716, 3034, 102158, 572, 16711, 1284, 23, 1096, 1556, 142508, 590, 24990, 127, 28023, 41877, 20949, 6024, 11435, 134234, 14947, 13452, 20625, 3827, 63127, 4527, ...
[ 0.0439453125, 0.0972900390625, 0.09228515625, 0.10986328125, 0.142822265625, 0.158935546875, 0.1806640625, 0.1822509765625, 0.07574462890625, 0.1513671875, 0.1414794921875, 0.03460693359375, 0.1007080078125, 0.1407470703125, 0.1700439453125, 0.1240234375, 0.1026611328125, 0.2235107...
embed
43078070_c0
43078070
haskell
0
Title: Module can not be imported after installing via cabal Problem title: Module can not be imported after installing via cabal Tags: haskell, cabal Problem: Module can not be imported after installing via cabal I tried using the primes module in Haskell and after running $ cabal install primes Resolving dependencies...
Module can not be imported after installing via cabal Module can not be imported after installing via cabal haskell cabal Data.Numbers.Primes Data.Primes primes Module Resolving Notice Downloading primes-0.2.1.0 Configuring Building Installed Could Use Module can not be imported after installing via cabal I tried using...
[ -0.015380859375, 0.0031585693359375, 0.0206298828125, 0.0224609375, 0.004547119140625, -0.0021514892578125, 0.01544189453125, -0.01263427734375, -0.002410888671875, -0.005462646484375, -0.010009765625, -0.048583984375, 0.0023040771484375, -0.00775146484375, -0.009521484375, 0.002502441...
[ 63014, 13, 831, 959, 76242, 71, 7103, 20600, 1829, 109524, 1556, 142508, 11809, 18444, 26278, 145111, 90, 20809, 7, 132944, 4857, 133684, 102107, 59994, 104919, 107951, 191147, 36836, 186, 37842, 17368, 88996, 20625, 51042, 20662, 11435, 678, ...
[ 0.1898193359375, 0.06304931640625, 0.043670654296875, 0.138916015625, 0.2802734375, 0.0379638671875, 0.1219482421875, 0.1943359375, 0.1148681640625, 0.25, 0.10040283203125, 0.2169189453125, 0.09130859375, 0.100341796875, 0.1412353515625, 0.1773681640625, 0.154296875, 0.213623046875...
embed
43705354_c0
43705354
haskell
0
Title: ghc.EXE: addDLL: icuuc59.dll (Win32 error 126): The specified module could not be found Problem title: ghc.EXE: addDLL: icuuc59.dll (Win32 error 126): The specified module could not be found Tags: static-linking, haskell, dll, windows Problem: ghc.EXE: addDLL: icuuc59.dll (Win32 error 126): The specified module ...
ghc.EXE: addDLL: icuuc59.dll (Win32 error 126): The specified module could not be found ghc.EXE: addDLL: icuuc59.dll (Win32 error 126): The specified module could not be found static-linking haskell dll windows --extra-lib-dirs ghc.EXE icuuc59.dll Win32 icu4c-59_1-Win64-MSVC2015 lib64 text-icu-0.7.0.1 Could Reason DLL ...
[ -0.0037078857421875, -0.00836181640625, 0.02685546875, 0.004669189453125, -0.0150146484375, 0.00830078125, -0.0216064453125, -0.00482177734375, -0.036376953125, -0.0260009765625, -0.005096435546875, -0.039794921875, 0.0059814453125, 0.003448486328125, 0.0185546875, -0.01129150390625, ...
[ 31380, 238, 26939, 647, 15190, 397, 23708, 17, 1010, 18190, 12975, 71, 1181, 92049, 6460, 18499, 49988, 58735, 88996, 5809, 959, 14037, 201939, 10187, 214, 1556, 142508, 81717, 54825, 112779, 5612, 936, 17686, 617, 115187, 13307, 13439, 56349...
[ 0.1737060546875, 0.167724609375, 0.1357421875, 0.14599609375, 0.1253662109375, 0.07373046875, 0.2005615234375, 0.0845947265625, 0.162109375, 0.1644287109375, 0.256103515625, 0.0633544921875, 0.1624755859375, 0.037078857421875, 0.164794921875, 0.133056640625, 0.2354736328125, 0.2092...
embed
45435845_c0
45435845
haskell
0
Title: Chaining State Monad Problem title: Chaining State Monad Tags: haskell, monads, state-monad Problem: Chaining State Monad I have a function step :: Int -> State Int Int step n = get >>= \x -> put (x `div` n) >> return (x `mod` n) λ> runState (step 25) 41 (16,1) How do I run a sequence of step s, with different v...
Chaining State Monad Chaining State Monad haskell monads state-monad Chaining State Monad Double Chaining State Monad I have a function How do I run a sequence of step s, with different values of n and each step using the state from the last step? so for example the steps would be as follows step one yields (16,1) whic...
[ -0.04150390625, -0.0108642578125, -0.0106201171875, -0.00095367431640625, 0.0001583099365234375, 0.02099609375, -0.0106201171875, -0.0003948211669921875, 0.0059814453125, -0.03662109375, 0.01446533203125, 0.022216796875, -0.0106201171875, 0.00653076171875, -0.00494384765625, 0.00750732...
[ 4841, 14653, 22836, 60331, 71, 1556, 142508, 2667, 712, 11341, 3796, 107172, 87, 765, 32354, 11249, 54, 11675, 10, 40, 944, 3956, 29954, 91, 678, 12921, 142424, 653, 12638, 17368, 1295, 4568, 27781, 70, 98441, 28960, 1632, 11180, 19388, 2...
[ 0.1439208984375, 0.1292724609375, 0.2183837890625, 0.201171875, 0.114013671875, 0.08251953125, 0.1953125, 0.1353759765625, 0.18115234375, 0.23388671875, 0.1297607421875, 0.1097412109375, 0.024658203125, 0.043304443359375, 0.193359375, 0.035430908203125, 0.0556640625, 0.191162109375...
embed
54133433_c1
54133433
haskell
1
HC -fno-warn-name-shadowing #-} {-# OPTIONS_GHC -fno-warn-unused-matches #-} module Demo where import qualified Data.ByteString.Lazy.Internal as BSL import qualified Data.Aeson as DA buildRequestFromJson :: BSL.ByteString -> BSL.ByteString -> Maybe EchoRequest buildRequestFromJson payload = (DA.decode payload) The erro...
HC -fno-warn-name-shadowing #-} {-# OPTIONS_GHC -fno-warn-unused-matches #-} module Demo where import qualified Data.ByteString.Lazy.Internal as BSL import qualified Data.Aeson as DA buildRequestFromJson :: BSL.ByteString -> BSL.ByteString -> Maybe EchoRequest buildRequestFromJson payload = (DA.decode payload) The erro...
[ -0.0146484375, 0.0242919921875, 0.00439453125, 0.0093994140625, -0.0157470703125, 0.021728515625, -0.01226806640625, -0.0036773681640625, -0.01531982421875, 0.00787353515625, -0.0015869140625, -0.020751953125, -0.00007867813110351562, -0.00823974609375, 0.00311279296875, -0.01000976562...
[ 81118, 420, 157, 4205, 19, 11627, 2420, 246, 14775, 28023, 165117, 41877, 441, 309, 33740, 98753, 90, 88996, 42506, 24927, 217225, 11809, 75358, 71713, 2729, 3285, 44851, 335, 30508, 284, 191, 6405, 45367, 75616, 168407, 1375, 1681, 83425, ...
[ 0.1663818359375, 0.016693115234375, 0.1563720703125, 0.1485595703125, 0.08685302734375, 0.15234375, 0.1300048828125, 0.12890625, 0.115478515625, 0.147216796875, 0.0205230712890625, 0.07452392578125, 0.046661376953125, 0.043243408203125, 0.1639404296875, 0.1771240234375, 0.11633300781...
embed
65007723_c2
65007723
haskell
2
: Win32, bytestring, directory) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: ghc, bytestring, Win32, directory Try running with --minimize-conflict-set to improve the error message. This is very strange because the firs time I used this command it ...
: Win32, bytestring, directory) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: ghc, bytestring, Win32, directory Try running with --minimize-conflict-set to improve the error message. This is very strange because the firs time I used this command it ...
[ 0.003875732421875, -0.016845703125, 0.021240234375, 0.004180908203125, -0.0191650390625, 0.0172119140625, -0.01416015625, -0.005035400390625, 0.01251220703125, 0.00335693359375, 0.0054931640625, -0.0264892578125, 0.01373291015625, 0.0162353515625, 0.004119873046875, 0.001922607421875, ...
[ 17686, 6460, 390, 67, 91693, 14364, 53, 157318, 42548, 27771, 53201, 146353, 109458, 2684, 63134, 211394, 31380, 238, 40858, 51042, 4210, 1249, 77651, 2271, 134225, 3509, 52295, 18499, 26008, 4552, 114453, 33671, 1733, 11814, 75101, 79786, 1691...
[ 0.0963134765625, 0.255126953125, 0.10693359375, 0.1390380859375, 0.2568359375, 0.1357421875, 0.0799560546875, 0.052093505859375, 0.202392578125, 0.087646484375, 0.1497802734375, 0.026031494140625, 0.17529296875, 0.068603515625, 0.11767578125, 0.1572265625, 0.146484375, 0.1632080078...
embed
32415186_c1
32415186
haskell
1
.2 string-conversions 0.4 syb 0.5.1 template-haskell 2.10.0.0 text 1.2.1.3 tforia-products 0.1.0.0 time 1.5.0.1 transformers 0.4.2.0 unordered-containers 0.2.5.1 utf8-string 1.0.1.1 vector 0.10.12.3 Code of module: {-# LANGUAGE DataKinds #-} {-# LANGUAGE TypeOperators #-} module API ( ProductAPI , apiServer ) where imp...
.2 string-conversions 0.4 syb 0.5.1 template-haskell 2.10.0.0 text 1.2.1.3 tforia-products 0.1.0.0 time 1.5.0.1 transformers 0.4.2.0 unordered-containers 0.2.5.1 utf8-string 1.0.1.1 vector 0.10.12.3 Code of module: {-# LANGUAGE DataKinds #-} {-# LANGUAGE TypeOperators #-} module API ( ProductAPI , apiServer ) where imp...
[ -0.01214599609375, 0.0020599365234375, 0.011474609375, 0.0279541015625, -0.00848388671875, 0.011474609375, -0.005340576171875, 0.01220703125, -0.0048828125, -0.0036163330078125, 0.007049560546875, -0.004364013671875, 0.0002613067626953125, 0.007537841796875, 0.01171875, 0.0092163085937...
[ 5, 304, 79315, 2271, 46354, 121254, 954, 275, 81730, 418, 110934, 10557, 142508, 116, 10179, 99929, 7986, 112842, 81046, 2472, 399, 57877, 107754, 1733, 22410, 102014, 27198, 1314, 73011, 80596, 98102, 156627, 486, 420, 1019, 91693, 53855, 83...
[ 0.047088623046875, 0.1234130859375, 0.20263671875, 0.06304931640625, 0.1728515625, 0.1510009765625, 0.0833740234375, 0.0953369140625, 0.082275390625, 0.02996826171875, 0.2012939453125, 0.09796142578125, 0.2452392578125, 0.0188751220703125, 0.0628662109375, 0.08111572265625, 0.1105957...
embed
26823347_c0
26823347
haskell
0
Title: Haskell State monadic function using recursion Problem title: Haskell State monadic function using recursion Tags: monads, recursion, state-monad, haskell Problem: Haskell State monadic function using recursion TL:DR: Is there a way to do example 3 without passing an argument I'm trying to understand the state m...
Haskell State monadic function using recursion Haskell State monadic function using recursion monads recursion state-monad haskell recursion Haskell State Haskell State monadic function using recursion TL:DR: Is there a way to do example 3 without passing an argument I'm trying to understand the state monad in haskell ...
[ -0.031982421875, 0.01092529296875, 0.006011962890625, 0.0001544952392578125, 0.01068115234375, 0.013916015625, -0.0087890625, -0.01177978515625, 0.006988525390625, -0.017822265625, 0.0167236328125, -0.0125732421875, -0.0157470703125, 0.01239013671875, 0.01171875, -0.0017242431640625, ...
[ 20625, 142508, 22836, 2667, 11, 18403, 32354, 17368, 195625, 1830, 712, 11341, 3796, 1556, 3917, 54, 27781, 138, 15490, 452, 6953, 10750, 28219, 175904, 46674, 135206, 111531, 8781, 89536, 8705, 43240, 31380, 318, 73197, 19048, 5646, 116, 584...
[ 0.0911865234375, 0.2171630859375, 0.1556396484375, 0.113525390625, 0.055419921875, 0.0604248046875, 0.1373291015625, 0.0152435302734375, 0.197265625, 0.060760498046875, 0.1925048828125, 0.1666259765625, 0.0577392578125, 0.10150146484375, 0.0396728515625, 0.038604736328125, 0.18017578...
embed
46795698_c0
46795698
haskell
0
Title: fetch environment variables in a cgi with haskell/hugs without a package Problem title: fetch environment variables in a cgi with haskell/hugs without a package Tags: environment-variables, cgi, haskell, hugs Problem: fetch environment variables in a cgi with haskell/hugs without a package I am writing a cgi-scr...
fetch environment variables in a cgi with haskell/hugs without a package fetch environment variables in a cgi with haskell/hugs without a package environment-variables cgi haskell hugs Main Hello Server SCRIPT_NAME script.cgi fetch environment variables in a cgi with haskell/hugs without a package I am writing a cgi-sc...
[ 0.00016117095947265625, -0.00531005859375, -0.011962890625, 0.0196533203125, 0.0029754638671875, 0.00982666015625, -0.00154876708984375, -0.0016632080078125, -0.01434326171875, -0.0289306640625, 0.0206298828125, 0.016845703125, -0.002777099609375, -0.0037994384765625, -0.005035400390625,...
[ 7647, 206, 65998, 77336, 7, 23, 501, 735, 678, 1556, 142508, 85030, 15490, 10, 98169, 64, 21690, 35875, 35378, 22687, 17715, 132824, 182512, 26499, 238, 32562, 32032, 20625, 173072, 4527, 4734, 16428, 2060, 4127, 3444, 47, 2046, 10723, 1449...
[ 0.185302734375, 0.06646728515625, 0.197021484375, 0.2396240234375, 0.1280517578125, 0.06072998046875, 0.05316162109375, 0.238525390625, 0.08154296875, 0.1427001953125, 0.260498046875, 0.221435546875, 0.1558837890625, 0.051513671875, 0.1827392578125, 0.052032470703125, 0.1002197265625...
embed
47874846_c1
47874846
haskell
1
I have. EDIT2 : Here's a complete example illustrating the connection refused issue if anyone would like to help repro: import Data.Functor import System.Socket import System.Socket.Family.Inet repro :: IO () repro = do let port = 6565 (s :: Socket Inet Datagram UDP) <- socket (ai :: AddressInfo Inet Datagram UDP):_ <...
I have. EDIT2 : Here's a complete example illustrating the connection refused issue if anyone would like to help repro: import Data.Functor import System.Socket import System.Socket.Family.Inet repro :: IO () repro = do let port = 6565 (s :: Socket Inet Datagram UDP) <- socket (ai :: AddressInfo Inet Datagram UDP):_ <...
[ 0.0086669921875, 0.019775390625, -0.01422119140625, 0.007232666015625, 0.0017242431640625, -0.008544921875, -0.007293701171875, -0.016357421875, 0.005584716796875, -0.005523681640625, 0.0205078125, -0.0302734375, -0.0164794921875, 0.00775146484375, -0.0098876953125, 0.00099945068359375...
[ 87, 765, 5, 172864, 25, 28484, 27781, 58755, 70, 94878, 128120, 71, 31089, 47, 4358, 61307, 24927, 11809, 97249, 18770, 12353, 8912, 27853, 1191, 4153, 126, 17780, 2633, 11469, 305, 162689, 7, 1061, 25561, 28399, 221, 508, 49990, 93147, 1...
[ 0.14013671875, 0.256591796875, 0.105712890625, 0.032135009765625, 0.06866455078125, 0.030517578125, 0.08978271484375, 0.081298828125, 0.027740478515625, 0.2464599609375, 0.30712890625, 0.17919921875, 0.1385498046875, 0.002960205078125, 0.08270263671875, 0.250244140625, 0.1796875, 0...
embed
64155279_c0
64155279
haskell
0
Title: What is the difference between pure and mempty in Haskell? Problem title: What is the difference between pure and mempty in Haskell? Tags: monoids, applicative, haskell Problem: What is the difference between pure and mempty in Haskell? In shool, I was task to write a function which appends Numbers to the left s...
What is the difference between pure and mempty in Haskell? What is the difference between pure and mempty in Haskell? monoids applicative haskell What Haskell Applicative Monoid Integral What is the difference between pure and mempty in Haskell? In shool, I was task to write a function which appends Numbers to the left...
[ -0.023681640625, 0.0174560546875, 0.00897216796875, 0.0159912109375, 0.0130615234375, 0.039794921875, -0.004150390625, 0.00138092041015625, 0.01025390625, 0.0013580322265625, 0.0211181640625, -0.0272216796875, -0.00811767578125, 0.034912109375, 0.02099609375, 0.00469970703125, 0.0128...
[ 4865, 70, 60212, 17721, 34166, 136, 163, 2676, 939, 23, 20625, 142508, 22460, 30185, 41816, 4935, 1556, 5659, 11048, 77879, 532, 204681, 360, 15756, 929, 66211, 33022, 32354, 114689, 103332, 25737, 5609, 5303, 2174, 3853, 10644, 137432, 35166...
[ 0.013427734375, 0.0438232421875, 0.2186279296875, 0.09735107421875, 0.275390625, 0.0853271484375, 0.168701171875, 0.2149658203125, 0.2353515625, 0.058807373046875, 0.145263671875, 0.2763671875, 0.133544921875, 0.12109375, 0.14013671875, 0.09295654296875, 0.1357421875, 0.10021972656...
embed
13511848_c0
13511848
haskell
0
Title: Gtk2hs: automatically select all text on mouse focus Problem title: Gtk2hs: automatically select all text on mouse focus Tags: haskell, gtk Problem: Gtk2hs: automatically select all text on mouse focus I need entry controls to automatically select-all text when they receive focus. If you run the code and press t...
Gtk2hs: automatically select all text on mouse focus Gtk2hs: automatically select all text on mouse focus haskell gtk Graphics.UI.Gtk Gtk2hs Entry VBox PackNatural Gtk2hs: automatically select all text on mouse focus I need entry controls to automatically select-all text when they receive focus. If you run the code and...
[ 0.01055908203125, 0.00010395050048828125, 0.005889892578125, 0.00897216796875, 0.004852294921875, 0.00040435791015625, 0.00543212890625, 0.01214599609375, 0.0079345703125, -0.01312255859375, 0.034912109375, -0.0240478515625, -0.0225830078125, 0.0198974609375, -0.005126953125, 0.0115966...
[ 527, 31472, 304, 127, 7, 191082, 36849, 756, 7986, 98, 114669, 32153, 1556, 142508, 706, 189682, 33457, 724, 357, 15123, 310, 72295, 56607, 149989, 3871, 42805, 6226, 5584, 3229, 53299, 11675, 18151, 24234, 20928, 101089, 17721, 6626, 111, ...
[ 0.07861328125, 0.19775390625, 0.107421875, 0.1383056640625, 0.04705810546875, 0.1544189453125, 0.16943359375, 0.1044921875, 0.1942138671875, 0.022186279296875, 0.1944580078125, 0.2230224609375, 0.1033935546875, 0.1759033203125, 0.017822265625, 0.09478759765625, 0.03765869140625, 0....
embed
19586050_c0
19586050
haskell
0
Title: Using UTCTime with SQLite in Yesod Problem title: Using UTCTime with SQLite in Yesod Tags: yesod, haskell, sqlite Problem: Using UTCTime with SQLite in Yesod While using a UTCTime field in my model in Yesod, I get the following error: PersistMarshalError "field timestamp: Expected UTCTime, received PersistText \...
Using UTCTime with SQLite in Yesod Using UTCTime with SQLite in Yesod yesod haskell sqlite PersistMarshalError Using UTCTime SQLite Yesod Expected PersistText Myobject CURRENT_TIME Text Desc MyobjectTimestamp MyobjectOtherfield Using UTCTime with SQLite in Yesod While using a UTCTime field in my model in Yesod, I get t...
[ 0.0074462890625, 0.00946044921875, 0.01190185546875, -0.00750732421875, -0.00543212890625, -0.025390625, -0.0306396484375, -0.005340576171875, 0.009033203125, -0.040771484375, 0.02099609375, -0.033203125, 0.003265380859375, -0.005645751953125, -0.0240478515625, -0.0115966796875, -0.0...
[ 345, 99577, 70059, 678, 80866, 1486, 32635, 2199, 23, 2422, 23722, 1556, 142508, 95255, 67, 57309, 271, 16305, 7, 4200, 18468, 31611, 60075, 13, 174379, 2646, 187694, 36587, 37703, 618, 66820, 24129, 68320, 590, 9319, 28394, 17368, 44457, 3...
[ 0.0771484375, 0.2154541015625, 0.28515625, 0.06951904296875, 0.1844482421875, 0.25830078125, 0.1689453125, 0.2352294921875, 0.069580078125, 0.111083984375, 0.1817626953125, 0.057708740234375, 0.1505126953125, 0.109619140625, 0.10357666015625, 0.1302490234375, 0.09423828125, 0.10180...
embed
44656494_c0
44656494
haskell
0
Title: How to craft a type matching &quot;a list with a single element of type Int&quot;? Problem title: How to craft a type matching &quot;a list with a single element of type Int&quot;? Tags: haskell Problem: How to craft a type matching "a list with a single element of type Int"? I am currently writing my very first...
How to craft a type matching &quot;a list with a single element of type Int&quot;? How to craft a type matching &quot;a list with a single element of type Int&quot;? haskell How x00 ByteString How to craft a type matching "a list with a single element of type Int"? I am currently writing my very first program in Haskel...
[ -0.00909423828125, 0.0032806396484375, -0.0023193359375, 0.01373291015625, -0.0087890625, 0.0218505859375, -0.0004482269287109375, 0.0030670166015625, 0.00616455078125, 0.00004553794860839844, 0.01470947265625, -0.0250244140625, -0.0048828125, 0.0050048828125, -0.0240478515625, -0.0216...
[ 11249, 47, 131346, 10644, 14858, 214, 5303, 678, 11001, 12830, 360, 18, 1556, 142508, 1022, 7049, 3311, 67, 71713, 10, 82424, 32562, 4552, 5117, 1528, 23, 20625, 29458, 20697, 147352, 190, 11814, 61924, 78826, 22799, 5809, 59121, 425, 75358...
[ 0.0823974609375, 0.024139404296875, 0.251220703125, 0.263671875, 0.24267578125, 0.104248046875, 0.20654296875, 0.07122802734375, 0.167724609375, 0.17236328125, 0.12548828125, 0.1456298828125, 0.107421875, 0.24560546875, 0.0738525390625, 0.1827392578125, 0.0850830078125, 0.082519531...
embed
24097259_c1
24097259
haskell
1
peek FooT, values) ptr) :: IO (ForeignPtr Double) let values' = DV.unsafeFromForeignPtr0 valuesField len return Foo { length = len, values = values' } poke ptr (Foo len values') = do (#poke FooT, length) ptr len DV.unsafeWith values' (\ptrValues -> (#poke FooT, values) ptr ptrValues) So in my peek I'm trying to #peek t...
peek FooT, values) ptr) :: IO (ForeignPtr Double) let values' = DV.unsafeFromForeignPtr0 valuesField len return Foo { length = len, values = values' } poke ptr (Foo len values') = do (#poke FooT, length) ptr len DV.unsafeWith values' (\ptrValues -> (#poke FooT, values) ptr ptrValues) So in my peek I'm trying to #peek t...
[ 0.0213623046875, 0.007080078125, -0.0216064453125, -0.01495361328125, 0.0091552734375, 0.0101318359375, -0.00726318359375, -0.00007152557373046875, 0.004119873046875, -0.0252685546875, -0.00060272216796875, 0.0196533203125, -0.01123046875, -0.0030364990234375, -0.012939453125, -0.01635...
[ 280, 343, 9572, 31, 618, 142424, 27037, 42, 1984, 17780, 18537, 38529, 683, 4448, 107172, 2633, 107199, 309, 115840, 168407, 2389, 6159, 19388, 3098, 30646, 140909, 2203, 4, 25, 160, 350, 27591, 16, 15, 771, 194583, 6328, 42272, 21049, 31...
[ 0.214599609375, 0.21923828125, 0.1312255859375, 0.105712890625, 0.1400146484375, 0.228759765625, 0.12548828125, 0.1644287109375, 0.03753662109375, 0.1943359375, 0.0860595703125, 0.1494140625, 0.092529296875, 0.22314453125, 0.1787109375, 0.0767822265625, 0.126953125, 0.0612182617187...
embed
70436507_c1
70436507
haskell
1
__ self._handle = _dlopen(self._name, mode) OSError: /usr/lib/ghc/ghc-prim-0.5.2.0/libHSghc-prim-0.5.2.0-ghc8.4.4.so: undefined symbol: stg_gc_unpt_r1 I don't know what stg_gc_unput_r1 is, and it's not a variable in any of the code. I also looked through some of the GHC documentation, and couldn't find anything on it. ...
stg_gc_unpt_r1 I am trying to run this example from github: https://github.com/nh2/haskell-from-python/blob/master/Makefile I wanted to get an introduction to running one language from another language. I'm not sure if FFI is playing a role here somehow, I just don't know enough to tell. I am running the code on WSL -...
[ -0.0001735687255859375, 0.01214599609375, -0.0021514892578125, -0.0072021484375, -0.0101318359375, -0.00154876708984375, -0.00836181640625, 0.00189971923828125, -0.000751495361328125, -0.0322265625, 0.007232666015625, -0.0439453125, -0.0023193359375, 0.01123046875, -0.002716064453125, ...
[ 6138, 177, 238, 309, 6328, 42, 418, 31577, 11675, 27781, 62270, 32102, 15769, 6457, 45792, 10557, 142508, 161063, 6493, 50828, 12986, 47327, 76978, 13, 29822, 39864, 51042, 1632, 46876, 1295, 15700, 563, 22724, 75169, 31486, 18151, 601, 30508...
[ 0.12548828125, 0.132568359375, 0.1170654296875, 0.1009521484375, 0.10296630859375, 0.1182861328125, 0.1317138671875, 0.0268096923828125, 0.087646484375, 0.16455078125, 0.057098388671875, 0.138427734375, 0.032135009765625, 0.01995849609375, 0.02728271484375, 0.0869140625, 0.2161865234...
embed
5612145_c0
5612145
haskell
0
Title: how to easily get https post response data? Problem title: how to easily get https post response data? Tags: https, haskell, google-api Problem: how to easily get https post response data? I'm developing a toy program which uses the Google URL shortener API. To shorten a URL, you need to send this request: POST ...
how to easily get https post response data? how to easily get https post response data? https haskell google-api POST www.googleapis.com Content-Type www.google.com goo.gl URLString CurlOption CurlCode how to easily get https post response data? I'm developing a toy program which uses the Google URL shortener API. To s...
[ 0.0145263671875, 0.0203857421875, 0.0208740234375, -0.01275634765625, -0.0003376007080078125, -0.0111083984375, 0.0208740234375, -0.00994873046875, -0.00701904296875, -0.00025177001953125, 0.02783203125, -0.05810546875, -0.01531982421875, -0.02880859375, -0.0130615234375, 0.01538085937...
[ 3642, 72546, 2046, 3975, 1305, 57553, 2053, 32, 47, 1556, 142508, 26484, 40897, 81903, 59875, 11, 4994, 70870, 196707, 1426, 738, 31, 11016, 31862, 71713, 17065, 141, 39029, 114211, 168698, 72713, 1528, 1815, 16610, 39060, 61687, 33, 25379, ...
[ 0.0799560546875, 0.2119140625, 0.1641845703125, 0.312255859375, 0.20361328125, 0.279541015625, 0.2176513671875, 0.001190185546875, 0.0257415771484375, 0.15478515625, 0.226806640625, 0.153076171875, 0.16064453125, 0.185791015625, 0.1419677734375, 0.01495361328125, 0.1932373046875, 0...
embed
60239815_c0
60239815
haskell
0
Title: How to understand that the types a and forall r. (a -&gt; r) -&gt; r are isomorphic Problem title: How to understand that the types a and forall r. (a -&gt; r) -&gt; r are isomorphic Tags: haskell, isomorphism, types Problem: How to understand that the types a and forall r. (a -> r) -> r are isomorphic In the bo...
How to understand that the types a and forall r. (a -&gt; r) -&gt; r are isomorphic How to understand that the types a and forall r. (a -&gt; r) -&gt; r are isomorphic haskell isomorphism types How Continuation Monad How to understand that the types a and forall r. (a -> r) -> r are isomorphic In the book Thinking with...
[ 0.0028228759765625, 0.00011587142944335938, -0.01531982421875, 0.0087890625, -0.0286865234375, -0.0203857421875, 0.00823974609375, -0.0216064453125, -0.00421142578125, -0.0191650390625, -0.01556396484375, -0.00885009765625, -0.004058837890625, 0.0087890625, -0.004486083984375, -0.02246...
[ 11249, 28219, 450, 52895, 10, 136, 100, 5584, 1690, 11, 20, 1230, 5386, 621, 13882, 178851, 1771, 1556, 142508, 50343, 1363, 60331, 71, 33079, 12877, 87062, 214, 678, 60457, 617, 831, 195812, 32354, 6626, 5701, 200103, 2481, 11343, 47, 16...
[ 0.0504150390625, 0.1658935546875, 0.006439208984375, 0.232177734375, 0.1358642578125, 0.13671875, 0.1033935546875, 0.1746826171875, 0.153076171875, 0.0960693359375, 0.015655517578125, 0.0164031982421875, 0.1383056640625, 0.0654296875, 0.1751708984375, 0.20751953125, 0.0826416015625, ...
embed
26086038_c0
26086038
haskell
0
Title: How to build a sandboxed cabal project with a custom version of a dependency that is not on hackage (e.g. a checkout from github) Problem title: How to build a sandboxed cabal project with a custom version of a dependency that is not on hackage (e.g. a checkout from github) Tags: haskell, cabal, cabal-install Pr...
How to build a sandboxed cabal project with a custom version of a dependency that is not on hackage (e.g. a checkout from github) How to build a sandboxed cabal project with a custom version of a dependency that is not on hackage (e.g. a checkout from github) haskell cabal cabal-install github How e.g How to build a sa...
[ -0.013916015625, 0.0198974609375, 0.00592041015625, -0.0079345703125, -0.0179443359375, 0.016357421875, -0.01202392578125, 0.02783203125, 0.0004596710205078125, -0.003173828125, -0.0054931640625, -0.051025390625, -0.01165771484375, 0.01177978515625, 0.00933837890625, -0.00982666015625,...
[ 11249, 45367, 19096, 11728, 297, 109524, 13452, 678, 114122, 11389, 42548, 27771, 959, 85526, 4588, 12765, 6056, 62270, 32102, 1556, 142508, 80383, 98, 35773, 4000, 11814, 38415, 1884, 759, 26548, 3642, 13552, 214, 26866, 96704, 23, 10, 43882...
[ 0.05657958984375, 0.1651611328125, 0.1358642578125, 0.21533203125, 0.058380126953125, 0.256591796875, 0.146240234375, 0.050994873046875, 0.165283203125, 0.167236328125, 0.1661376953125, 0.053924560546875, 0.0997314453125, 0.137451171875, 0.0986328125, 0.112548828125, 0.154541015625, ...
embed
50709844_c0
50709844
haskell
0
Title: Is there an issue with Haskell GHC 8.4.3 on Travis? Problem title: Is there an issue with Haskell GHC 8.4.3 on Travis? Tags: travis-ci, haskell Problem: Is there an issue with Haskell GHC 8.4.3 on Travis? My Travis builds are failing when they attempt to install using the nightly resolver (since 8.4.3) with: $ s...
Is there an issue with Haskell GHC 8.4.3 on Travis? Is there an issue with Haskell GHC 8.4.3 on Travis? travis-ci haskell Haskell GHC Travis RESOLVER Selected nightly-2018-06-05 Downloading Downloaded Preparing ghc-8.4.3 MiB Unpacking x86_64-linux ghc-8.4.3.temp Configuring Installing Received ExitFailure Raw Run stage...
[ -0.0206298828125, 0.0203857421875, 0.0250244140625, -0.0498046875, -0.0242919921875, -0.0145263671875, -0.0244140625, -0.01104736328125, -0.003875732421875, 0.011474609375, 0.00506591796875, -0.0205078125, -0.0220947265625, 0.0147705078125, 0.0157470703125, 0.030517578125, 0.00640869...
[ 2071, 2685, 31089, 678, 20625, 142508, 527, 73265, 3217, 158406, 98, 4937, 1824, 142, 1152, 318, 1556, 61661, 22323, 33255, 51620, 17431, 9672, 8194, 4857, 1914, 2500, 31380, 238, 17376, 1208, 571, 29102, 15276, 13307, 2397, 6077, 163883, 2...
[ 0.042510986328125, 0.057464599609375, 0.15380859375, 0.03570556640625, 0.138916015625, 0.23876953125, 0.1014404296875, 0.1904296875, 0.151123046875, 0.258056640625, 0.060699462890625, 0.173583984375, 0.24365234375, 0.012969970703125, 0.140380859375, 0.125244140625, 0.1029052734375, ...
embed
21002912_c1
21002912
haskell
1
AuthManager calls with with auth $ call . Then I realised this isn't the solution either, because once you get AuthManager out of there, you need to drop it from every function that calls it. I need some help with how to fix this. Can I somehow lift the type to fix this? Or alternatively what is a good solution to thi...
AuthManager calls with with auth $ call . Then I realised this isn't the solution either, because once you get AuthManager out of there, you need to drop it from every function that calls it. I need some help with how to fix this. Can I somehow lift the type to fix this? Or alternatively what is a good solution to thi...
[ -0.006683349609375, 0.0201416015625, -0.02490234375, -0.000591278076171875, -0.00921630859375, 0.0086669921875, -0.001373291015625, -0.01141357421875, 0.013671875, -0.0260009765625, 0.019775390625, -0.0103759765625, -0.0201416015625, 0.008544921875, -0.0028533935546875, -0.003967285156...
[ 5655, 927, 12662, 33730, 11782, 678, 531, 3650, 2773, 18, 29806, 24145, 111, 2685, 4, 3871, 47, 36069, 442, 1295, 11907, 32354, 4358, 30022, 903, 60520, 10644, 538, 4127, 2967, 37842, 87388, 5659, 1810, 831, 4527, 1305, 17562, 156100, 280...
[ 0.230224609375, 0.2242431640625, 0.216552734375, 0.226318359375, 0.210693359375, 0.134033203125, 0.22412109375, 0.209228515625, 0.05657958984375, 0.06378173828125, 0.090087890625, 0.0294036865234375, 0.006072998046875, 0.0209808349609375, 0.006256103515625, 0.048736572265625, 0.00741...
embed
74468466_c0
74468466
haskell
0
Title: Haskell - pattern matching Problem title: Haskell - pattern matching Tags: pattern-matching, haskell Problem: Haskell - pattern matching I am trying to iterate through a list of lists and compare lists with each other in the list. Basically, I have a list of paths and an empty accumulator list, I pick one path (...
Haskell - pattern matching Haskell - pattern matching pattern-matching haskell Haskell Integer Bool x:y:zs x:acc y:zs Haskell - pattern matching I am trying to iterate through a list of lists and compare lists with each other in the list. Basically, I have a list of paths and an empty accumulator list, I pick one path ...
[ -0.0164794921875, -0.00274658203125, 0.002685546875, 0.003753662109375, -0.0106201171875, 0.0191650390625, -0.006927490234375, 0.0038909912109375, 0.0186767578125, -0.0068359375, 0.041015625, 0.013427734375, 0.0130615234375, -0.003173828125, -0.008056640625, 0.00146484375, 0.00878906...
[ 20625, 142508, 103510, 14858, 214, 20, 98753, 1556, 44401, 2460, 929, 1022, 12, 53, 169, 7, 10060, 113, 31577, 8560, 8305, 5303, 69101, 678, 3789, 60875, 201505, 183278, 1290, 39580, 1632, 425, 27060, 1940, 184, 7426, 3934, 10588, 37842, ...
[ 0.144775390625, 0.2255859375, 0.1934814453125, 0.210205078125, 0.07244873046875, 0.01385498046875, 0.2230224609375, 0.1453857421875, 0.1556396484375, 0.0833740234375, 0.184814453125, 0.0618896484375, 0.10650634765625, 0.156982421875, 0.1705322265625, 0.1961669921875, 0.0899658203125,...
embed