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
54256851_c0
54256851
haskell
0
Title: Polymorphic ADT with type-class constrained Constructor Problem title: Polymorphic ADT with type-class constrained Constructor Tags: haskell Problem: Polymorphic ADT with type-class constrained Constructor Why does the following code fail to compile? {-# LANGUAGE GADTs #-} class Foo x where whoAmI :: x -> Int da...
Polymorphic ADT with type-class constrained Constructor Polymorphic ADT with type-class constrained Constructor haskell Polymorphic ADT Constructor LANGUAGE GADTs Foo One Two Poly Bool Couldn Polymorphic ADT with type-class constrained Constructor Why does the following code fail to compile? Obviously, this is a contri...
[ -0.017578125, 0.007354736328125, -0.0050048828125, -0.01385498046875, 0.0106201171875, 0.004302978515625, -0.01458740234375, 0.00029754638671875, 0.00469970703125, -0.03369140625, 0.006072998046875, -0.04052734375, 0.004852294921875, 0.01373291015625, -0.0152587890625, -0.03369140625, ...
[ 63306, 178851, 62, 41072, 678, 10644, 67413, 158, 9297, 82084, 18770, 1556, 142508, 98064, 23749, 9572, 31, 6561, 32964, 2460, 929, 191147, 122009, 44084, 14602, 25632, 18151, 35782, 47, 9969, 1340, 3996, 27781, 3564, 3444, 17164, 1238, 27875...
[ 0.2001953125, 0.181884765625, 0.0665283203125, 0.1978759765625, 0.030731201171875, 0.1265869140625, 0.13818359375, 0.04345703125, 0.1171875, 0.141845703125, 0.08477783203125, 0.073974609375, 0.1771240234375, 0.05426025390625, 0.0270538330078125, 0.146484375, 0.1041259765625, 0.0748...
embed
57211404_c0
57211404
haskell
0
Title: Understanding side effects: Is allocating memory a pure operation? Problem title: Understanding side effects: Is allocating memory a pure operation? Tags: side-effects, functional-programming, haskell Problem: Understanding side effects: Is allocating memory a pure operation? I am learning about side-effects in ...
Understanding side effects: Is allocating memory a pure operation? Understanding side effects: Is allocating memory a pure operation? side-effects functional-programming haskell Understanding Understanding side effects: Is allocating memory a pure operation? I am learning about side-effects in functional programming (i...
[ 0.01104736328125, 0.02001953125, 0.000644683837890625, 0.0269775390625, -0.01104736328125, 0.0267333984375, -0.0074462890625, 0.00958251953125, 0.005157470703125, -0.018310546875, 0.01104736328125, -0.0181884765625, 0.0081787109375, 0.020751953125, 0.01324462890625, 0.01470947265625, ...
[ 9626, 144057, 5609, 93425, 2071, 144, 116292, 214, 98323, 10, 34166, 41018, 171760, 123309, 28966, 1556, 142508, 52080, 56037, 20625, 173591, 22046, 2661, 50782, 32354, 70796, 959, 75693, 100, 2053, 45646, 2811, 11341, 182809, 159029, 8999, 280...
[ 0.07080078125, 0.062744140625, 0.167724609375, 0.2203369140625, 0.052337646484375, 0.1373291015625, 0.2271728515625, 0.0650634765625, 0.2332763671875, 0.0791015625, 0.1636962890625, 0.197265625, 0.224853515625, 0.1761474609375, 0.123779296875, 0.1162109375, 0.27001953125, 0.0250854...
embed
50380010_c0
50380010
haskell
0
Title: What Diagrams backends support animation? Problem title: What Diagrams backends support animation? Tags: haskell-diagrams, haskell Problem: What Diagrams backends support animation? In the diagrams tutorial the following text appears: Some backends support rendering animations (typically as individually indexed ...
What Diagrams backends support animation? What Diagrams backends support animation? haskell-diagrams haskell What Diagrams Animation Cairo Double Diagrams.Animation Active QDiagram Any Data.Active Mainable Diagrams.Backend.SVG.CmdLine What Diagrams backends support animation? In the diagrams tutorial the following text...
[ 0.00909423828125, 0.017822265625, -0.000621795654296875, 0.00732421875, -0.004058837890625, 0.0012969970703125, 0.0042724609375, 0.0184326171875, -0.0150146484375, 0.00445556640625, -0.0201416015625, -0.02392578125, 0.00372314453125, -0.00165557861328125, -0.0155029296875, 0.0117797851...
[ 4865, 4512, 25561, 7, 4420, 3611, 8060, 114205, 1556, 142508, 3390, 187852, 149109, 31, 107172, 1956, 88441, 2396, 72838, 11809, 164414, 12321, 2886, 152470, 79855, 54686, 93232, 117233, 57143, 20697, 10176, 284, 10644, 45367, 9969, 959, 10127,...
[ 0.068115234375, 0.1627197265625, 0.2200927734375, 0.0689697265625, 0.191650390625, 0.186767578125, 0.1844482421875, 0.236572265625, 0.07440185546875, 0.1727294921875, 0.0921630859375, 0.2296142578125, 0.148193359375, 0.1331787109375, 0.0819091796875, 0.1534423828125, 0.11181640625, ...
embed
21209798_c0
21209798
haskell
0
Title: Haskell function nub inefficient Problem title: Haskell function nub inefficient Tags: performance, haskell, algorithm Problem: Haskell function nub inefficient I'm confused by the implementation of the 'nub' (select unique values) function in the Haskell standard library Data.List . The GHC implementation is nu...
Haskell function nub inefficient Haskell function nub inefficient performance haskell algorithm Haskell x:xs x:ls Haskell function nub inefficient I'm confused by the implementation of the 'nub' (select unique values) function in the Haskell standard library Data.List . The GHC implementation is As far as I can tell, t...
[ -0.009521484375, -0.00106048583984375, 0.0283203125, -0.022705078125, -0.0032958984375, -0.00080108642578125, 0.00250244140625, -0.01611328125, 0.00250244140625, -0.0145263671875, 0.00311279296875, -0.0047607421875, 0.025146484375, 0.000762939453125, -0.0184326171875, 0.00347900390625,...
[ 20625, 142508, 32354, 315, 275, 23, 13, 24500, 45964, 23718, 1556, 234873, 1022, 425, 7, 12, 8080, 55681, 208124, 19, 5829, 100184, 36998, 142424, 5570, 35773, 1294, 11809, 154663, 527, 73265, 130481, 58437, 1733, 27140, 2481, 180, 8353, 10...
[ 0.139404296875, 0.273681640625, 0.1893310546875, 0.222900390625, 0.163330078125, 0.06500244140625, 0.04486083984375, 0.161865234375, 0.08154296875, 0.1654052734375, 0.1365966796875, 0.1588134765625, 0.055450439453125, 0.0462646484375, 0.026702880859375, 0.0239105224609375, 0.15600585...
embed
6603848_c1
6603848
haskell
1
+ 1 = 1 OS(2) = OS(1) + SS(2) = 1 + 1 = 2 OS(3) = OS(2) + SS(3) = 2 + 1 = 3 OS(4) = OS(3) + SS(4) = 3 + 2 = 5 OS(5) = OS(4) + SS(1) = 5 + 1 = 6 OS(6) = OS(5) + SS(2) = 6 + 1 = 7 OS(7) = OS(6) + SS(3) = 7 + 1 = 8 OS(8) = OS(7) + SS(4) = 8 + 2 = 10 OS(9) = OS(8) + SS(1) = 10 + 1 = 11 OS(10) = OS(9) + SS(2) = 11 + 1 = 12...
+ 1 = 1 OS(2) = OS(1) + SS(2) = 1 + 1 = 2 OS(3) = OS(2) + SS(3) = 2 + 1 = 3 OS(4) = OS(3) + SS(4) = 3 + 2 = 5 OS(5) = OS(4) + SS(1) = 5 + 1 = 6 OS(6) = OS(5) + SS(2) = 6 + 1 = 7 OS(7) = OS(6) + SS(3) = 7 + 1 = 8 OS(8) = OS(7) + SS(4) = 8 + 2 = 10 OS(9) = OS(8) + SS(1) = 10 + 1 = 11 OS(10) = OS(9) + SS(2) = 11 + 1 = 12...
[ -0.026123046875, 0.0162353515625, -0.0216064453125, -0.00145721435546875, -0.003814697265625, -0.017333984375, 0.00107574462890625, -0.00592041015625, 0.01611328125, 0.0186767578125, 0.007476806640625, 0.0052490234375, 0.000324249267578125, 0.0179443359375, -0.01361083984375, 0.0163574...
[ 997, 106, 2203, 11787, 40970, 27750, 29581, 116, 69829, 138, 99217, 190, 124534, 305, 169073, 361, 382, 50490, 209, 222104, 534, 90980, 427, 48105, 702, 134186, 423, 20653, 132283, 10869, 19048, 2046, 43581, 19069, 653, 62548, 122925, 214, ...
[ 0.2047119140625, 0.10626220703125, 0.10986328125, 0.198974609375, 0.1048583984375, 0.04071044921875, 0.1624755859375, 0.04132080078125, 0.0211029052734375, 0.06683349609375, 0.065673828125, 0.08636474609375, 0.03619384765625, 0.0987548828125, 0.026641845703125, 0.0341796875, 0.053527...
embed
58645859_c0
58645859
haskell
0
Title: Parse BinaryTree with (Read a, Show a) Problem title: Parse BinaryTree with (Read a, Show a) Tags: parsing, haskell Problem: Parse BinaryTree with (Read a, Show a) I am having a little trouble on how to start this problem. I am supposed to parse a string representation of a binary tree and check whether the cont...
Parse BinaryTree with (Read a, Show a) Parse BinaryTree with (Read a, Show a) parsing haskell Parse BinaryTree Read Show Leaf Branch Enum Bounded Parse BinaryTree with (Read a, Show a) I am having a little trouble on how to start this problem. I am supposed to parse a string representation of a binary tree and check wh...
[ 0.000774383544921875, 0.0185546875, -0.02685546875, 0.031494140625, 0.01165771484375, 0.0267333984375, -0.01068115234375, -0.046142578125, 0.006988525390625, -0.007659912109375, -0.0322265625, -0.02197265625, -0.00015163421630859375, 0.0098876953125, -0.008544921875, 0.00341796875, 0...
[ 2392, 184, 54092, 1294, 62731, 13, 678, 31345, 10, 17367, 366, 6953, 1556, 142508, 4764, 2407, 21110, 316, 335, 167457, 63134, 4034, 2967, 79315, 18811, 2394, 6635, 53201, 12765, 36766, 10941, 35604, 120820, 28282, 30646, 165523, 756, 15490, ...
[ 0.17529296875, 0.1199951171875, 0.2012939453125, 0.09332275390625, 0.243408203125, 0.0953369140625, 0.07696533203125, 0.2025146484375, 0.1439208984375, 0.200439453125, 0.1602783203125, 0.053375244140625, 0.096923828125, 0.20263671875, 0.1123046875, 0.113037109375, 0.07696533203125, ...
embed
31526504_c0
31526504
haskell
0
Title: Is pattern matching more performant than guards? Problem title: Is pattern matching more performant than guards? Tags: haskell, ghc Problem: Is pattern matching more performant than guards? I've read somewhere lately that pattern matching happens during run-time and not compile-time. (I am looking for the source...
Is pattern matching more performant than guards? Is pattern matching more performant than guards? haskell ghc Is pattern matching more performant than guards? I've read somewhere lately that pattern matching happens during run-time and not compile-time. (I am looking for the source, but can't find it at the moment.) Is...
[ -0.0059814453125, -0.0093994140625, 0.017578125, -0.0206298828125, -0.005340576171875, -0.017333984375, -0.041015625, -0.0024871826171875, 0.00634765625, -0.02197265625, 0.0203857421875, -0.00494384765625, -0.00518798828125, -0.007049560546875, 0.00830078125, -0.005218505859375, 0.00...
[ 2071, 103510, 14858, 214, 1286, 106018, 3501, 56050, 7, 1556, 142508, 31380, 238, 12301, 96276, 20271, 11675, 6032, 959, 9969, 1340, 31344, 29568, 23, 32354, 5701, 23718, 104951, 212615, 5351, 527, 73265, 15572, 115299, 1733, 53383, 7225, 202...
[ 0.05010986328125, 0.265869140625, 0.26318359375, 0.1455078125, 0.1363525390625, 0.22607421875, 0.0721435546875, 0.2440185546875, 0.10650634765625, 0.1217041015625, 0.2197265625, 0.111328125, 0.07373046875, 0.0147857666015625, 0.064453125, 0.045379638671875, 0.08135986328125, 0.0625...
embed
18756975_c2
18756975
haskell
2
.0 integer-gmp-0.5.0.0 old-locale-1.0.0.5 old-time-1.1.0.1 pretty-1.1.1.0 process-1.1.0.2 template-haskell-2.8.0.0 time-1.4.0.1 unix-2.6.0.1 I define myself as a cabal-noob and previously, as i installed haskell per user, i used to delete the whole .cabal folder when i got into the cabal hell . This sorcery package dis...
.tar.gz && cd haskell-platform-2013.2.0.0 && ./configure && make && make install Please notice i didn't introduce any fancy flags. And the result is the following packages are located at /usr/local/lib : And the following are located under /usr/local/lib/ghc-7.6.3 : I define myself as a cabal-noob and previously, as i ...
[ -0.0186767578125, 0.003875732421875, -0.000579833984375, 0.0026092529296875, -0.0103759765625, 0.019775390625, -0.00396728515625, 0.0003032684326171875, 0.0028228759765625, 0.018798828125, -0.010986328125, -0.044189453125, -0.00543212890625, -0.0157470703125, 0.022705078125, -0.0022583...
[ 867, 177, 1230, 56329, 1556, 142508, 172121, 74790, 5442, 99929, 153837, 3249, 20600, 60322, 65508, 1207, 2408, 49938, 16750, 25632, 98169, 105866, 99, 248, 223, 42, 98908, 5612, 1379, 9486, 238, 16709, 200768, 61924, 35978, 109524, 157, 3522...
[ 0.1046142578125, 0.020843505859375, 0.018585205078125, 0.081787109375, 0.1678466796875, 0.279052734375, 0.114013671875, 0.1837158203125, 0.1217041015625, 0.1575927734375, 0.10723876953125, 0.0251922607421875, 0.1502685546875, 0.023284912109375, 0.0151214599609375, 0.00054931640625, 0...
embed
23998848_c1
23998848
haskell
1
<- getContents putStrLn $ f xs g c parseCL :: [String] -> CLOpts -> CLOpts parseCL [] opts = opts parseCL ("-x":f:xs) opts = parseCL xs opts { exceptionFileP=True, exceptionFile=f } parseCL (_:xs) opts = parseCL xs opts { help=True } simpleObfuscation xs = obfuscate complexObfuscation exceptions g c = undefined obfusc...
<- getContents putStrLn $ f xs g c parseCL :: [String] -> CLOpts -> CLOpts parseCL [] opts = opts parseCL ("-x":f:xs) opts = parseCL xs opts { exceptionFileP=True, exceptionFile=f } parseCL (_:xs) opts = parseCL xs opts { help=True } simpleObfuscation xs = obfuscate complexObfuscation exceptions g c = undefined obfusc...
[ 0.0002765655517578125, 0.00579833984375, -0.0179443359375, -0.00872802734375, 0.0186767578125, 0.01708984375, 0.01708984375, -0.0220947265625, 0.0184326171875, 0.010498046875, -0.00823974609375, 0.0194091796875, 0.01556396484375, -0.0021820068359375, -0.00885009765625, -0.01318359375, ...
[ 4426, 9, 2046, 11935, 25352, 3884, 71713, 866, 19, 3650, 1238, 1022, 7, 706, 501, 366, 184, 37486, 1984, 46323, 39029, 933, 233, 425, 420, 12, 131527, 174350, 882, 4358, 8781, 46471, 74563, 120639, 2203, 995, 33478, 27140, 9232, 5983, 2...
[ 0.0183563232421875, 0.06390380859375, 0.1585693359375, 0.118896484375, 0.25830078125, 0.165283203125, 0.1544189453125, 0.047271728515625, 0.026580810546875, 0.13671875, 0.114501953125, 0.13720703125, 0.0682373046875, 0.1563720703125, 0.09912109375, 0.16845703125, 0.1279296875, 0.13...
embed
53970720_c1
53970720
haskell
1
Duey" duck . The first thing that's going to happen is that I am going to run the par function, with the inputs [] (an empty list) and duck (which has the datatype Family ). Here's where I start to get confused so please bear with me. So what does the par function do? As far as my understanding goes, the par function t...
Duey" duck . The first thing that's going to happen is that I am going to run the par function, with the inputs [] (an empty list) and duck (which has the datatype Family ). Here's where I start to get confused so please bear with me. So what does the par function do? As far as my understanding goes, the par function t...
[ 0.0037384033203125, 0.0034027099609375, -0.002166748046875, 0.0036773681640625, -0.0194091796875, 0.026611328125, -0.003204345703125, -0.00141143798828125, 0.0169677734375, -0.006683349609375, -0.007110595703125, -0.0299072265625, 0.005523681640625, 0.01190185546875, 0, -0.007141113281...
[ 786, 7460, 58, 115, 2594, 5117, 7730, 53383, 11675, 70, 366, 32354, 678, 107730, 201505, 5303, 136, 2053, 50986, 59745, 55681, 22936, 1061, 2367, 14602, 54, 100094, 51776, 1650, 7068, 12765, 2174, 9351, 62038, 1636, 1295, 105950, 11814, 491...
[ 0.2322998046875, 0.2197265625, 0.0626220703125, 0.170166015625, 0.197998046875, 0.0457763671875, 0.003326416015625, 0.0252685546875, 0.0946044921875, 0.0933837890625, 0.28955078125, 0.2457275390625, 0.06787109375, 0.1834716796875, 0.1405029296875, 0.1514892578125, 0.0546875, 0.1049...
embed
67817197_c2
67817197
haskell
2
.7.0/installed-0.8...) [__5] fail (backjumping, conflict set: binary, strict, text, wxcore) Backjump limit reached (currently 4000, change with --max-backjumps or try to run with --reorder-goals). So I tried cabal install wx --lib --max-backjumps 8192 instead. It didn't help: Resolving dependencies... Build profile: -w...
.7.0/installed-0.8...) [__5] fail (backjumping, conflict set: binary, strict, text, wxcore) Backjump limit reached (currently 4000, change with --max-backjumps or try to run with --reorder-goals). So I tried cabal install wx --lib --max-backjumps 8192 instead. It didn't help: Resolving dependencies... Build profile: -w...
[ -0.007781982421875, 0.0126953125, 0.0247802734375, 0.01275634765625, -0.01336669921875, -0.0062255859375, -0.013427734375, 0.0036163330078125, 0.005584716796875, 0.01904296875, 0.0038909912109375, -0.0224609375, 0.0120849609375, -0.009521484375, 0.01708984375, -0.0096435546875, 0.010...
[ 5, 129884, 80383, 297, 132208, 12399, 758, 35782, 12620, 461, 44287, 79612, 5423, 2394, 6635, 81113, 7986, 148, 425, 30854, 26828, 2676, 17475, 157578, 163812, 538, 34042, 15549, 4210, 24084, 11052, 6423, 9790, 47, 11675, 107, 80596, 519, 1...
[ 0.0821533203125, 0.24609375, 0.1639404296875, 0.0153656005859375, 0.2225341796875, 0.0350341796875, 0.090576171875, 0.2362060546875, 0.158935546875, 0.2138671875, 0.1778564453125, 0.2171630859375, 0.1163330078125, 0.10540771484375, 0.1064453125, 0.2060546875, 0.148193359375, 0.0928...
embed
58367762_c0
58367762
haskell
0
Title: Replacing Strings with a List of Tuples of Strings Problem title: Replacing Strings with a List of Tuples of Strings Tags: haskell Problem: Replacing Strings with a List of Tuples of Strings I want to write a function called trained that takes a string replacement function and a list of word pairs (two-tuples of...
Replacing Strings with a List of Tuples of Strings Replacing Strings with a List of Tuples of Strings haskell Replacing Strings List Tuples Char Java Haskell Out Replacing Strings with a List of Tuples of Strings I want to write a function called trained that takes a string replacement function and a list of word pairs...
[ -0.0184326171875, 0.00830078125, 0.006072998046875, 0.0252685546875, -0.001617431640625, -0.0009613037109375, -0.00799560546875, -0.0113525390625, 0.00836181640625, -0.0069580078125, 0.0260009765625, 0.003448486328125, 0.0023193359375, -0.00122833251953125, -0.010009765625, -0.00260925...
[ 853, 133266, 23351, 5180, 678, 32036, 111, 1371, 99726, 1556, 142508, 21656, 41925, 20625, 13538, 3444, 33022, 32354, 25550, 297, 51776, 79315, 91995, 136, 5303, 2565, 80836, 55547, 458, 37842, 17368, 22288, 6492, 85, 18499, 4358, 2967, 77947...
[ 0.0736083984375, 0.1600341796875, 0.1982421875, 0.1329345703125, 0.06414794921875, 0.1895751953125, 0.0863037109375, 0.1214599609375, 0.2177734375, 0.1185302734375, 0.2335205078125, 0.1136474609375, 0.16796875, 0.119873046875, 0.151611328125, 0.049407958984375, 0.089599609375, 0.17...
embed
13558884_c0
13558884
haskell
0
Title: Primitive Recursion If Then Else actually executing If Else Then Problem title: Primitive Recursion If Then Else actually executing If Else Then Tags: recursion, computation-theory, haskell Problem: Primitive Recursion If Then Else actually executing If Else Then I have a problem with the projections in my defin...
Primitive Recursion If Then Else actually executing If Else Then Primitive Recursion If Then Else actually executing If Else Then recursion computation-theory haskell Prelude Primitive Recursion Then Show Integer x:xs x-1 x:_ _:xs n-1 Primitive Recursion If Then Else actually executing If Else Then I have a problem wit...
[ -0.035400390625, 0.0179443359375, 0.018798828125, 0.01544189453125, 0.0308837890625, 0.0186767578125, 0.0135498046875, -0.01556396484375, 0.01116943359375, -0.002716064453125, 0.003631591796875, 0.00439453125, -0.01263427734375, 0.01324462890625, 0.01226806640625, 0.0166015625, 0.010...
[ 44506, 4935, 165428, 42, 6889, 4263, 47009, 540, 184, 20653, 71924, 214, 195625, 181135, 1556, 142508, 1914, 822, 14, 17367, 44401, 1022, 425, 5759, 2967, 13452, 17514, 80934, 237, 7623, 3957, 19, 9790, 68062, 26783, 436, 138, 136, 201, 3...
[ 0.1309814453125, 0.091796875, 0.12939453125, 0.1129150390625, 0.074462890625, 0.193115234375, 0.2103271484375, 0.1739501953125, 0.1683349609375, 0.1380615234375, 0.1810302734375, 0.06689453125, 0.1767578125, 0.040008544921875, 0.0560302734375, 0.1671142578125, 0.0204925537109375, 0...
embed
34800925_c0
34800925
haskell
0
Title: bifunctor in haskell after the least fixed type Problem title: bifunctor in haskell after the least fixed type Tags: functor, recursive-datastructures, haskell, free-monad Problem: bifunctor in haskell after the least fixed type I am not sure how to derive the functor instance after making a fixed point : data F...
bifunctor in haskell after the least fixed type bifunctor in haskell after the least fixed type functor recursive-datastructures haskell free-monad FreeF PureF Functor Free bifunctor in haskell after the least fixed type I am not sure how to derive the functor instance after making a fixed point : If I modify Mu to acc...
[ -0.0038299560546875, -0.004486083984375, 0.0068359375, 0.01318359375, 0.012939453125, -0.0024566650390625, -0.006805419921875, -0.019287109375, 0.01025390625, 0.01202392578125, 0.002777099609375, -0.041015625, 0.004364013671875, 0.00775146484375, -0.01055908203125, -0.01318359375, 0....
[ 333, 16498, 18770, 23, 1556, 142508, 7103, 19713, 188347, 10644, 7477, 195625, 5844, 10135, 137656, 4092, 3796, 712, 5153, 919, 118233, 28670, 9077, 3642, 122, 110527, 20662, 10, 6275, 2811, 40383, 2758, 26946, 4173, 171859, 831, 42658, 24189...
[ 0.1890869140625, 0.1700439453125, 0.208740234375, 0.034088134765625, 0.138671875, 0.232666015625, 0.1343994140625, 0.1458740234375, 0.228271484375, 0.16357421875, 0.1561279296875, 0.08447265625, 0.15087890625, 0.0125732421875, 0.10504150390625, 0.0765380859375, 0.0328369140625, 0.0...
embed
39604613_c0
39604613
haskell
0
Title: How functions are organised in functional programming languages like Haskell or Clojure? Problem title: How functions are organised in functional programming languages like Haskell or Clojure? Tags: haskell, oop, java, functional-programming, clojure Problem: How functions are organised in functional programming...
How functions are organised in functional programming languages like Haskell or Clojure? How functions are organised in functional programming languages like Haskell or Clojure? haskell oop java functional-programming clojure How Haskell Clojure prepare_data myObject.prepare_data MyObject How functions are organised in...
[ 0.018798828125, 0.0037841796875, 0.00077056884765625, 0.0101318359375, -0.006561279296875, 0.0162353515625, 0.033447265625, -0.006866455078125, 0.000518798828125, -0.0216064453125, -0.00897216796875, -0.033447265625, -0.0145263671875, 0.00543212890625, -0.004974365234375, 0.00282287597...
[ 11249, 32354, 7, 131168, 71, 123309, 56037, 46876, 1884, 20625, 142508, 707, 51053, 461, 107, 23, 1556, 32500, 79, 330, 28966, 20450, 114606, 10135, 759, 46471, 75161, 4692, 16082, 2646, 51006, 5915, 20697, 10846, 479, 112, 5983, 2053, 5289...
[ 0.047698974609375, 0.27197265625, 0.0601806640625, 0.243896484375, 0.055389404296875, 0.217529296875, 0.140869140625, 0.1572265625, 0.03314208984375, 0.1429443359375, 0.2308349609375, 0.048980712890625, 0.1553955078125, 0.1568603515625, 0.143798828125, 0.033905029296875, 0.1043701171...
embed
7879433_c0
7879433
haskell
0
Title: haskell: RPN Calculator Problem title: haskell: RPN Calculator Tags: list, haskell, console Problem: haskell: RPN Calculator I want to develop a sort of stack managing system. The list starts by being empty [] and a user can input numbers and they will be added to the list, as well as binary operations, which wi...
haskell: RPN Calculator haskell: RPN Calculator list haskell console System.Environment System.Directory System.IO Data.List RPN Calculator add1 y:xs x:xs haskell: RPN Calculator I want to develop a sort of stack managing system. The list starts by being empty [] and a user can input numbers and they will be added to t...
[ -0.00640869140625, 0.0115966796875, 0.014892578125, 0.0245361328125, -0.01068115234375, 0.005340576171875, 0.02587890625, -0.00994873046875, 0.0086669921875, -0.0245361328125, 0.005615234375, -0.00099945068359375, 0.00726318359375, -0.005828857421875, -0.00958251953125, 0.0118408203125...
[ 1556, 142508, 12, 627, 34440, 212467, 4597, 5303, 130250, 12353, 686, 1900, 184911, 17780, 11809, 154663, 15190, 418, 113, 425, 1022, 87, 3444, 85493, 12096, 177261, 332, 66398, 5426, 4034, 8035, 201505, 38937, 831, 107730, 101935, 1221, 4981...
[ 0.1427001953125, 0.212158203125, 0.024322509765625, 0.1014404296875, 0.23974609375, 0.1890869140625, 0.0968017578125, 0.1673583984375, 0.29443359375, 0.0958251953125, 0.0146942138671875, 0.0345458984375, 0.0166015625, 0.1329345703125, 0.033111572265625, 0.142578125, 0.1375732421875, ...
embed
6394937_c0
6394937
haskell
0
Title: LLVM&#x27;s calling convention for GHC Problem title: LLVM&#x27;s calling convention for GHC Tags: x86-64, llvm, haskell, compiler-construction, ghc Problem: LLVM's calling convention for GHC Here is the text in LLVM's doc "langref" : "cc 10" - GHC convention This calling convention has been implemented specific...
LLVM&#x27;s calling convention for GHC LLVM&#x27;s calling convention for GHC x86-64 llvm haskell compiler-construction ghc LLVM GHC x86-64 LLVM's calling convention for GHC Here is the text in LLVM's doc "langref" : Q: does "register pinning" means or refers to "passes everything in registers", likely. what is "4 bit ...
[ 0.003204345703125, 0.01397705078125, 0.0003662109375, 0.0093994140625, 0.004913330078125, 0.0028228759765625, -0.02685546875, -0.03369140625, -0.0106201171875, -0.0206298828125, 0.00555419921875, -0.021240234375, -0.00543212890625, -0.0036773681640625, 0.00909423828125, -0.004272460937...
[ 99954, 47599, 3768, 159029, 101805, 100, 527, 73265, 15276, 13307, 96, 3723, 39, 1556, 142508, 9969, 34759, 238478, 31380, 238, 7986, 51584, 3066, 29087, 2396, 14602, 105199, 6520, 592, 26950, 15005, 13409, 90, 26818, 23, 68067, 47041, 2367, ...
[ 0.0953369140625, 0.259765625, 0.056488037109375, 0.146484375, 0.1875, 0.0141143798828125, 0.08984375, 0.20458984375, 0.191162109375, 0.1583251953125, 0.001251220703125, 0.10003662109375, 0.056732177734375, 0.10540771484375, 0.207275390625, 0.093017578125, 0.08624267578125, 0.108764...
embed
66770090_c0
66770090
haskell
0
Title: How do you parallelize lazily read information from stdin in Haskell? Problem title: How do you parallelize lazily read information from stdin in Haskell? Tags: haskell, parallel-processing, pipeline Problem: How do you parallelize lazily read information from stdin in Haskell? I'm working with this code I wrote...
How do you parallelize lazily read information from stdin in Haskell? How do you parallelize lazily read information from stdin in Haskell? haskell parallel-processing pipeline stdin Control.Parallel Control.Parallel.Strategies System.IO Data.List.Split Control.DeepSeq How Haskell Main Double How do you parallelize laz...
[ -0.0208740234375, -0.0013427734375, -0.005462646484375, -0.004638671875, 0.013427734375, 0.00152587890625, 0.033935546875, -0.0157470703125, -0.00830078125, -0.0400390625, -0.01153564453125, 0.0179443359375, 0.00848388671875, -0.00372314453125, 0.005828857421875, -0.0015106201171875, ...
[ 11249, 95103, 20650, 21, 708, 538, 12301, 4677, 1295, 6138, 3035, 20625, 142508, 23, 1556, 63923, 137158, 2256, 27131, 55292, 1229, 141, 17780, 4353, 12321, 107172, 18151, 86997, 70820, 39555, 8306, 17368, 1286, 3501, 1632, 56458, 1733, 2967,...
[ 0.0222930908203125, 0.254150390625, 0.1124267578125, 0.123046875, 0.1475830078125, 0.0626220703125, 0.2064208984375, 0.1533203125, 0.0950927734375, 0.1580810546875, 0.1832275390625, 0.1510009765625, 0.24560546875, 0.06390380859375, 0.101318359375, 0.03497314453125, 0.05377197265625, ...
embed
31547011_c0
31547011
haskell
0
Title: Split a string while keeping delimiters Haskell Problem title: Split a string while keeping delimiters Haskell Tags: haskell Problem: Split a string while keeping delimiters Haskell Basically I'm trying to split a String into [[String]] and then concat the results back but keeping the delimiters in the resultant...
Split a string while keeping delimiters Haskell Split a string while keeping delimiters Haskell haskell Split Haskell Char Split a string while keeping delimiters Haskell Basically I'm trying to split a String into [[String]] and then concat the results back but keeping the delimiters in the resultant list (even repeat...
[ -0.00104522705078125, 0.004791259765625, -0.0027008056640625, 0.01483154296875, -0.017578125, 0.0146484375, 0.014892578125, 0.00171661376953125, -0.006439208984375, -0.00604248046875, -0.01007080078125, 0.018310546875, -0.0238037109375, 0.0023345947265625, -0.0218505859375, 0.024291992...
[ 46474, 79315, 12960, 120260, 8, 93343, 1314, 20625, 142508, 1556, 21656, 31577, 65450, 23351, 214, 3934, 71713, 158, 4460, 50339, 4420, 31805, 5303, 119140, 15555, 35064, 43240, 56, 22684, 74694, 1632, 32628, 64457, 112033, 17262, 41143, 26366,...
[ 0.2083740234375, 0.2164306640625, 0.0799560546875, 0.1416015625, 0.09912109375, 0.23779296875, 0.1044921875, 0.1126708984375, 0.1920166015625, 0.0919189453125, 0.1710205078125, 0.047149658203125, 0.1927490234375, 0.151611328125, 0.05987548828125, 0.06439208984375, 0.1256103515625, ...
embed
54904507_c3
54904507
haskell
3
base_GHCziIOziEncodingziIconv_iconvEncoding12_closure, _base_GHCziIOziEncodingziIconv_iconvEncoding9_info, _base_GHCziIOziEncodingziIconv_iconvEncoding12_info, _base_GHCziIOziEncodingziIconv_iconvEncoding13_info, _base_GHCziIOziEncodingziIconv_iconvEncoding11_info, _base_GHCziIOziEncodingziIconv_iconvEncoding_info, _ba...
base_GHCziIOziEncodingziIconv_iconvEncoding12_closure, _base_GHCziIOziEncodingziIconv_iconvEncoding9_info, _base_GHCziIOziEncodingziIconv_iconvEncoding12_info, _base_GHCziIOziEncodingziIconv_iconvEncoding13_info, _base_GHCziIOziEncodingziIconv_iconvEncoding11_info, _base_GHCziIOziEncodingziIconv_iconvEncoding_info, _ba...
[ -0.00872802734375, -0.02001953125, 0.01214599609375, 0.0140380859375, -0.0002651214599609375, 0.0040283203125, -0.042724609375, -0.00421142578125, 0.00189971923828125, 0.0145263671875, 0.0030670166015625, -0.0230712890625, 0.02099609375, -0.0028533935546875, 0.004425048828125, 0.014099...
[ 3647, 454, 41877, 441, 708, 17780, 7768, 587, 6238, 568, 2271, 334, 14, 1530, 170224, 4, 101, 37382, 1126, 7319, 2681, 1662, 966, 304, 2592, 61028, 7, 1837, 363, 1019, 963, 127, 155648, 758, 59636, 98908, 13, 9254, 3509, 1914, 141, 10...
[ 0.2374267578125, 0.0148468017578125, 0.12255859375, 0.035858154296875, 0.167236328125, 0.17236328125, 0.057159423828125, 0.1859130859375, 0.1658935546875, 0.0144195556640625, 0.1448974609375, 0.1962890625, 0.05157470703125, 0.2255859375, 0.251708984375, 0.013946533203125, 0.041351318...
embed
60820087_c0
60820087
haskell
0
Title: How can I apply a function to all elements of a heterogeneous list when they are all instances of the same class? Problem title: How can I apply a function to all elements of a heterogeneous list when they are all instances of the same class? Tags: haskell Problem: How can I apply a function to all elements of a...
How can I apply a function to all elements of a heterogeneous list when they are all instances of the same class? How can I apply a function to all elements of a heterogeneous list when they are all instances of the same class? haskell Data.HList a How Prelude HNil HList Bool Char Couldn How can I apply a function to a...
[ -0.0036468505859375, -0.0064697265625, 0.0038299560546875, -0.0067138671875, -0.004180908203125, -0.0036468505859375, 0.010986328125, -0.0029449462890625, 0.017822265625, -0.018310546875, -0.016845703125, -0.041748046875, 0.016845703125, 0.01251220703125, -0.01422119140625, -0.01916503...
[ 11249, 831, 59911, 32354, 47, 756, 80854, 77099, 15292, 10821, 5303, 3229, 621, 110527, 5701, 18507, 10, 1556, 142508, 11809, 48599, 1419, 1914, 822, 112, 79059, 379, 572, 154663, 2460, 929, 21656, 191147, 41206, 17647, 11971, 10644, 71713, ...
[ 0.076171875, 0.0540771484375, 0.196044921875, 0.2335205078125, 0.0986328125, 0.13525390625, 0.1376953125, 0.20166015625, 0.166748046875, 0.05615234375, 0.201416015625, 0.004974365234375, 0.0322265625, 0.1866455078125, 0.116943359375, 0.13818359375, 0.000244140625, 0.0869140625, 0...
embed
54153689_c0
54153689
haskell
0
Title: How to optimize this pythagoras triples implementation Problem title: How to optimize this pythagoras triples implementation Tags: optimization, allocation, haskell Problem: How to optimize this pythagoras triples implementation Here's haskell code import GHC.Int triples = [(x, y, z) | z <- [(1::Int32)..], x <- ...
How to optimize this pythagoras triples implementation How to optimize this pythagoras triples implementation optimization allocation haskell GHC.Int How Int32 mapM_ Prelude.take RTS COST CENTRE MODULE SRC Main triples.hs CAF triples.hs:10:1-46 GHC.Conc.Signal GHC.IO.Encoding GHC.IO.Encoding.Iconv GHC.IO.Handle.FD GHC....
[ 0.004180908203125, 0.017578125, 0.024169921875, 0.0019073486328125, -0.0283203125, -0.01483154296875, -0.0107421875, -0.020751953125, -0.004150390625, -0.031494140625, 0.0111083984375, 0.0025482177734375, 0.027099609375, -0.0189208984375, -0.00445556640625, 0.0322265625, 0.0104980468...
[ 11249, 15572, 20650, 903, 17198, 3238, 76312, 7, 162738, 208124, 87235, 144, 87632, 1556, 142508, 527, 73265, 4153, 18, 360, 6460, 22288, 594, 1914, 822, 112, 78219, 27389, 313, 34274, 89859, 98610, 25740, 12321, 127, 166566, 15110, 9271, 2...
[ 0.05584716796875, 0.198974609375, 0.119140625, 0.089111328125, 0.08349609375, 0.1505126953125, 0.2418212890625, 0.08502197265625, 0.281005859375, 0.1761474609375, 0.2034912109375, 0.13916015625, 0.211669921875, 0.1527099609375, 0.244140625, 0.050201416015625, 0.1746826171875, 0.091...
embed
41664096_c0
41664096
haskell
0
Title: &quot;IOError: [Errno 5] Input/output error&quot; when calling python-program from haskell System.Process Problem title: &quot;IOError: [Errno 5] Input/output error&quot; when calling python-program from haskell System.Process Tags: terminal, haskell, python Problem: "IOError: [Errno 5] Input/output error" when ...
&quot;IOError: [Errno 5] Input/output error&quot; when calling python-program from haskell System.Process &quot;IOError: [Errno 5] Input/output error&quot; when calling python-program from haskell System.Process terminal haskell python IOError haskell sys pygame pygame.mixer System.Process GHC.IO.Handle Errno Input pyg...
[ 0.01531982421875, 0.0206298828125, -0.0118408203125, -0.005035400390625, -0.0084228515625, 0.0096435546875, 0.007476806640625, -0.026611328125, -0.01287841796875, -0.0263671875, -0.00131988525390625, -0.00274658203125, 0.007080078125, 0.01092529296875, -0.0169677734375, -0.004699707031...
[ 41502, 17780, 18468, 31611, 37599, 190, 360, 7077, 64, 6056, 18499, 3229, 159029, 17198, 50828, 18749, 1295, 1556, 142508, 12353, 26531, 10752, 33949, 954, 35311, 62015, 56, 527, 73265, 135679, 1004, 94922, 63033, 20706, 4692, 73, 3035, 39116...
[ 0.0078125, 0.2078857421875, 0.1654052734375, 0.1435546875, 0.2083740234375, 0.203125, 0.134765625, 0.1175537109375, 0.1077880859375, 0.1622314453125, 0.2193603515625, 0.0203094482421875, 0.1510009765625, 0.11865234375, 0.1751708984375, 0.14697265625, 0.09710693359375, 0.13549804687...
embed
49672741_c0
49672741
haskell
0
Title: Why my Dockerfile causes error at Docker Hub? Problem title: Why my Dockerfile causes error at Docker Hub? Tags: haskell, docker Problem: Why my Dockerfile causes error at Docker Hub? I write following Dockerfile: FROM ubuntu:xenial ENV LANG C.UTF-8 ENV PATH /root/.local/bin:$PATH ENV LTS lts-11.3 RUN \ apt-get ...
Why my Dockerfile causes error at Docker Hub? Why my Dockerfile causes error at Docker Hub? haskell docker --extra-lib-dirs masterq/fdb Why Dockerfile Docker Hub ubuntu:xenial ENV LANG C.UTF-8 PATH bin:$PATH LTS lts-11.3 RUN get.haskellstack.org c2hs QuickCheck haskell-mpi-1.4.0 CMD fdb:feature_dockerhub feature_docker...
[ -0.005767822265625, 0.00238037109375, -0.000591278076171875, -0.00921630859375, -0.0123291015625, -0.01422119140625, -0.0201416015625, -0.0223388671875, -0.00811767578125, 0.0181884765625, 0.007598876953125, -0.0439453125, 0.02685546875, 0.00439453125, -0.00064849853515625, -0.00306701...
[ 44084, 759, 29048, 58442, 133, 113660, 18499, 99, 984, 11050, 53465, 1556, 142508, 54, 112779, 5612, 936, 31347, 864, 420, 48073, 198996, 43833, 15403, 7338, 856, 73386, 17632, 17376, 139909, 2394, 65135, 933, 16675, 363, 130747, 2046, 10557,...
[ 0.12939453125, 0.0631103515625, 0.164794921875, 0.21875, 0.153076171875, 0.16259765625, 0.2257080078125, 0.07080078125, 0.123779296875, 0.21630859375, 0.2218017578125, 0.0965576171875, 0.190673828125, 0.093505859375, 0.1314697265625, 0.1568603515625, 0.091552734375, 0.0831909179687...
embed
29814336_c1
29814336
haskell
1
.0470s Gen 1 795 colls, 794 par 7.58s 1.43s 0.0018s 0.0466s Parallel GC work balance: 4.36% (serial 0%, perfect 100%) TASKS: 10 (1 bound, 9 peak workers (9 total), using -N8) SPARKS: 17576 (8198 converted, 9378 overflowed, 0 dud, 0 GC'd, 0 fizzled) INIT time 0.00s ( 0.00s elapsed) MUT time 81.79s ( 36.37s elapsed) GC t...
.0470s Gen 1 795 colls, 794 par 7.58s 1.43s 0.0018s 0.0466s Parallel GC work balance: 4.36% (serial 0%, perfect 100%) TASKS: 10 (1 bound, 9 peak workers (9 total), using -N8) SPARKS: 17576 (8198 converted, 9378 overflowed, 0 dud, 0 GC'd, 0 fizzled) INIT time 0.00s ( 0.00s elapsed) MUT time 81.79s ( 36.37s elapsed) GC t...
[ -0.0130615234375, 0.022705078125, -0.0029754638671875, -0.0174560546875, -0.008544921875, -0.0128173828125, -0.0057373046875, -0.019287109375, 0.007354736328125, 0.003662109375, 0.006072998046875, 0.005859375, 0.0130615234375, 0.0028228759765625, 0.006256103515625, -0.00469970703125, ...
[ 5, 7709, 5757, 7, 15937, 106, 167255, 122907, 197697, 366, 10057, 11548, 37509, 1819, 89678, 163063, 211485, 69657, 4488, 40197, 80196, 12187, 51626, 83137, 15787, 3555, 36195, 20113, 209, 99091, 483, 280, 344, 133325, 23817, 3622, 17368, 839...
[ 0.1201171875, 0.176025390625, 0.266845703125, 0.0693359375, 0.213623046875, 0.165771484375, 0.1876220703125, 0.10162353515625, 0.0943603515625, 0.0986328125, 0.01019287109375, 0.0723876953125, 0.1080322265625, 0.005767822265625, 0.004669189453125, 0.009124755859375, 0.225341796875, ...
embed
23138855_c1
23138855
haskell
1
9ad4774bd0 is unusable due to missing or recursive dependencies: HTTP-4000.2.12-2793df5d0fb675f1a42bc04cfdf74851 hiding package Cabal-1.18.1.3 to avoid conflict with later version Cabal-1.20.0 hiding package Cabal-1.19.2 to avoid conflict with later version Cabal-1.20.0 wired-in package ghc-prim mapped to ghc-prim-0.3....
. (GHC 7.8.2) I've been trying to get happy to install correctly for the past couple days, and while I found it challenging to get cabal install happy to not just error (by installing happy-1.19 with apt-get and adding /opt/happy/1.19.3/bin to PATH ), now it runs through the source until it gets to ProduceCode (15/18) ...
[ -0.0162353515625, 0.01263427734375, 0.020751953125, -0.002838134765625, -0.0091552734375, -0.0008697509765625, -0.0189208984375, -0.021240234375, -0.0115966796875, 0.0064697265625, -0.019287109375, -0.01806640625, -0.00933837890625, 0.014892578125, 0.0162353515625, -0.0036468505859375,...
[ 41877, 441, 2861, 128423, 31577, 2046, 17723, 20600, 26785, 24941, 223920, 109524, 18499, 5759, 2947, 1747, 3794, 154107, 2146, 157976, 40061, 7568, 436, 139909, 5036, 442, 127877, 8305, 31344, 24189, 62163, 47, 103687, 13, 114211, 20808, 45265...
[ 0.154541015625, 0.1466064453125, 0.0814208984375, 0.2159423828125, 0.06103515625, 0.0302581787109375, 0.2335205078125, 0.149658203125, 0.053436279296875, 0.0469970703125, 0.07763671875, 0.2366943359375, 0.1156005859375, 0.035675048828125, 0.176513671875, 0.0733642578125, 0.0483398437...
embed
8500643_c0
8500643
haskell
0
Title: How to create an ever-retrying Enumerator Problem title: How to create an ever-retrying Enumerator Tags: haskell, loops, enumerator Problem: How to create an ever-retrying Enumerator I'm using John Millikin's enumerator package and am trying to create something roughly equivalent to Data.Enumerator.Binary.enumHa...
How to create an ever-retrying Enumerator How to create an ever-retrying Enumerator haskell loops enumerator catchError How Enumerator Data.Enumerator.Binary.enumHandle How to create an ever-retrying Enumerator I'm using John Millikin's enumerator package and am trying to create something roughly equivalent to Data.Enu...
[ -0.01165771484375, 0.0038299560546875, 0.00189208984375, -0.0174560546875, 0.0157470703125, 0.000286102294921875, 0.01507568359375, -0.032958984375, 0.00102996826171875, -0.058837890625, 0.01177978515625, -0.01470947265625, 0.0024566650390625, -0.006072998046875, 0.01544189453125, -0.0...
[ 11249, 28282, 17669, 107, 15123, 214, 357, 316, 56, 4597, 1556, 142508, 40956, 189085, 1290, 105556, 18468, 31611, 11809, 2606, 571, 73, 6635, 33, 135679, 133, 17368, 4939, 10220, 875, 98169, 31577, 183234, 37067, 221, 27853, 68034, 1927, 3...
[ 0.040069580078125, 0.14599609375, 0.1259765625, 0.1356201171875, 0.20458984375, 0.022003173828125, 0.083740234375, 0.2127685546875, 0.164306640625, 0.20068359375, 0.07452392578125, 0.155517578125, 0.1353759765625, 0.2132568359375, 0.1102294921875, 0.1199951171875, 0.074951171875, 0...
embed
35118659_c0
35118659
haskell
0
Title: Haskell permutations with the length of the output list Problem title: Haskell permutations with the length of the output list Tags: functional-programming, haskell Problem: Haskell permutations with the length of the output list I have such code for creating permutations: --unique permutation perm :: [t] -> [[t...
Haskell permutations with the length of the output list Haskell permutations with the length of the output list functional-programming haskell Haskell x:xs y:zs x:ys Haskell permutations with the length of the output list I have such code for creating permutations: However I want to limit the output to a certain length...
[ -0.00139617919921875, 0.0296630859375, 0.01226806640625, -0.01904296875, 0.0111083984375, -0.0074462890625, -0.03173828125, -0.004058837890625, 0.020751953125, -0.0267333984375, 0.011474609375, -0.003387451171875, 0.037353515625, 0.01373291015625, -0.0228271484375, 0.0040283203125, -...
[ 20625, 142508, 117, 14311, 21094, 678, 140909, 140992, 5303, 111, 123309, 28966, 1556, 425, 113, 169, 1022, 4778, 6044, 18151, 105233, 3444, 17475, 24233, 171859, 48502, 14012, 80854, 628, 7077, 561, 22062, 28282, 472, 117781, 79442, 2389, 5,...
[ 0.1575927734375, 0.24267578125, 0.1605224609375, 0.2335205078125, 0.1094970703125, 0.0806884765625, 0.17724609375, 0.234375, 0.1888427734375, 0.009735107421875, 0.1273193359375, 0.050384521484375, 0.13720703125, 0.0318603515625, 0.0312042236328125, 0.0281982421875, 0.005218505859375,...
embed
24940541_c0
24940541
haskell
0
Title: Parsing single qoute char in a single-quoted string in parsec Problem title: Parsing single qoute char in a single-quoted string in parsec Tags: haskell, parsing, parsec, quoted-identifier Problem: Parsing single qoute char in a single-quoted string in parsec I've got a silly situation in my parsec parsers that ...
Parsing single qoute char in a single-quoted string in parsec Parsing single qoute char in a single-quoted string in parsec haskell parsing parsec quoted-identifier Parsing Parser Char many1 Parsing single qoute char in a single-quoted string in parsec I've got a silly situation in my parsec parsers that I would like y...
[ -0.000942230224609375, 0.02197265625, 0.0021209716796875, 0.0250244140625, -0.01068115234375, 0.01141357421875, -0.0054931640625, -0.0230712890625, 0.02783203125, -0.020751953125, -0.0155029296875, 0.00099945068359375, -0.0177001953125, 0.00103759765625, -0.0157470703125, 0.01574707031...
[ 2392, 6953, 11001, 2453, 6743, 21441, 23, 68726, 79315, 366, 39797, 1556, 142508, 66747, 71, 42485, 2189, 21656, 5941, 418, 78, 12097, 16648, 7, 1314, 4358, 184, 944, 37515, 248, 84797, 390, 58745, 124850, 5809, 10, 275, 238, 2055, 71574,...
[ 0.1669921875, 0.05133056640625, 0.1998291015625, 0.10675048828125, 0.14453125, 0.1873779296875, 0.0243988037109375, 0.190673828125, 0.2052001953125, 0.1722412109375, 0.2183837890625, 0.10552978515625, 0.200439453125, 0.1651611328125, 0.000885009765625, 0.1212158203125, 0.1259765625, ...
embed
70490514_c0
70490514
haskell
0
Title: Why can&#x27;t I match type Int with type a Problem title: Why can&#x27;t I match type Int with type a Tags: haskell Problem: Why can't I match type Int with type a Haskell Noob here. An oversimplified case of what I'm trying to do here: test :: Int -> a test i = i -- Couldn't match expected type ‘a’ with actual...
Why can&#x27;t I match type Int with type a Why can&#x27;t I match type Int with type a haskell Why Couldn LANGUAGE DataKinds GADTs KindSignatures EnumType Enum1 Enum2 Enum3 MyType Type1 Type2 Type3 Bool Can Why can't I match type Int with type a Haskell Noob here. An oversimplified case of what I'm trying to do here: ...
[ -0.027099609375, 0.00860595703125, 0.017333984375, -0.003387451171875, -0.01123046875, -0.00860595703125, -0.018310546875, -0.0019989013671875, -0.004180908203125, 0.005889892578125, 0.01214599609375, -0.0234375, -0.00811767578125, 0.00185394287109375, 0.0036163330078125, -0.01171875, ...
[ 44084, 831, 3768, 18, 14858, 10644, 360, 678, 10, 87, 1556, 142508, 191147, 98064, 11809, 7250, 23749, 41072, 27435, 218723, 357, 316, 196707, 363, 2646, 60457, 2460, 929, 4171, 20625, 438, 3522, 116120, 32233, 28219, 15400, 68746, 4488, 90...
[ 0.103515625, 0.1192626953125, 0.035980224609375, 0.206787109375, 0.2252197265625, 0.219970703125, 0.1785888671875, 0.1044921875, 0.137939453125, 0.01837158203125, 0.13525390625, 0.2259521484375, 0.035308837890625, 0.083251953125, 0.029144287109375, 0.108154296875, 0.01092529296875, ...
embed
70017409_c0
70017409
haskell
0
Title: How to use result again in this case Problem title: How to use result again in this case Tags: iteration, haskell Problem: How to use result again in this case My task is: Implement the function puzz . It should simulate the game similar to 15 Puzzle. In our case, we have 25 squares, where 24 squares are occupie...
How to use result again in this case How to use result again in this case iteration haskell How ABCDE FGHIJ KLMNO PQRST UVWX_ FBHIJ KGLNO PQMRS UVWXT CBGLMRST Result Char How to use result again in this case My task is: I am new to Haskell, I can only do one first move. Result after the last move must be ["ABCDE", "FGH...
[ -0.00665283203125, -0.0185546875, 0.0003681182861328125, 0.0223388671875, 0.00665283203125, -0.0030364990234375, -0.0166015625, -0.006927490234375, 0.01495361328125, 0.01556396484375, 0.0279541015625, 0.0185546875, 0.0038909912109375, 0.007720947265625, -0.0218505859375, 0.010437011718...
[ 11249, 47, 4527, 16750, 13438, 23, 903, 7225, 17, 720, 2320, 1556, 142508, 47457, 8399, 563, 41877, 46765, 37150, 8575, 2737, 15396, 618, 31812, 1456, 1542, 36718, 21159, 1375, 78703, 70981, 8545, 126684, 21656, 66211, 3525, 20625, 831, 473...
[ 0.130859375, 0.09979248046875, 0.2242431640625, 0.294921875, 0.290771484375, 0.0726318359375, 0.0972900390625, 0.136962890625, 0.053924560546875, 0.24853515625, 0.056182861328125, 0.1456298828125, 0.250732421875, 0.146240234375, 0.19091796875, 0.038909912109375, 0.09375, 0.18041992...
embed
37782046_c0
37782046
haskell
0
Title: Why is the default catch-all not mandatory in a Haskell case statement? Problem title: Why is the default catch-all not mandatory in a Haskell case statement? Tags: haskell Problem: Why is the default catch-all not mandatory in a Haskell case statement? Haskell has a reputation for being a safe language. One tha...
Why is the default catch-all not mandatory in a Haskell case statement? Why is the default catch-all not mandatory in a Haskell case statement? haskell Why Haskell Why is the default catch-all not mandatory in a Haskell case statement? Haskell has a reputation for being a safe language. One that generally speaking push...
[ -0.000720977783203125, -0.0010986328125, -0.008544921875, 0.00897216796875, 0.0172119140625, -0.00537109375, -0.006317138671875, -0.00360107421875, 0.01177978515625, 0.003631591796875, 0.006805419921875, -0.0172119140625, 0.0031280517578125, 0.0067138671875, -0.005859375, 0.01684570312...
[ 44084, 83, 114977, 105556, 9, 5584, 959, 81678, 1294, 20625, 142508, 7225, 63805, 1556, 70, 216473, 46002, 46876, 25944, 1286, 7722, 56037, 18499, 9969, 6032, 40715, 11675, 27781, 2174, 125195, 37076, 11343, 29256, 5773, 15044, 97370, 6782, 1...
[ 0.12890625, 0.038818359375, 0.2578125, 0.180908203125, 0.051177978515625, 0.216064453125, 0.13037109375, 0.179931640625, 0.1741943359375, 0.1396484375, 0.2607421875, 0.1741943359375, 0.190185546875, 0.09637451171875, 0.001739501953125, 0.08984375, 0.1231689453125, 0.152099609375, ...
embed
5271565_c0
5271565
haskell
0
Title: create an infinite recursive list in haskell using a function returning a sublist Problem title: create an infinite recursive list in haskell using a function returning a sublist Tags: recursion, haskell Problem: create an infinite recursive list in haskell using a function returning a sublist I am trying to res...
create an infinite recursive list in haskell using a function returning a sublist create an infinite recursive list in haskell using a function returning a sublist recursion haskell a next_four_numbers size-1 is_prime diagonal_spiral_numbers create an infinite recursive list in haskell using a function returning a subl...
[ -0.018798828125, 0.022705078125, -0.01043701171875, -0.00164031982421875, -0.01251220703125, 0.00048828125, -0.00543212890625, 0.01116943359375, 0.01531982421875, -0.016845703125, 0.0130615234375, -0.00116729736328125, -0.01324462890625, 0.004180908203125, 0.01483154296875, 0.007354736...
[ 28282, 54241, 13, 195625, 5844, 5303, 1556, 142508, 17368, 32354, 30646, 1614, 6562, 23, 11737, 160018, 2606, 1297, 13267, 5759, 83, 114654, 207997, 54547, 141, 214, 103608, 13452, 1175, 603, 9655, 3444, 12830, 142, 892, 1505, 144252, 171859,...
[ 0.12451171875, 0.158447265625, 0.06231689453125, 0.2037353515625, 0.1103515625, 0.1949462890625, 0.1148681640625, 0.2156982421875, 0.03570556640625, 0.1761474609375, 0.152099609375, 0.1676025390625, 0.19482421875, 0.029937744140625, 0.120849609375, 0.16015625, 0.150634765625, 0.157...
embed
76529322_c0
76529322
haskell
0
Title: How to convert ThreadId to (LWP) PID? Problem title: How to convert ThreadId to (LWP) PID? Tags: haskell Problem: How to convert ThreadId to (LWP) PID? There are 2 functions: forkIO :: IO () -> IO ThreadId forkOS :: IO () -> IO ThreadId and the thread ID is data ThreadId - that's all what it is available from it...
How to convert ThreadId to (LWP) PID? How to convert ThreadId to (LWP) PID? haskell How ThreadId LWP PID ghc_ticker haskell-langu:w How to convert ThreadId to (LWP) PID? There are 2 functions: and the thread ID is data ThreadId - that's all what it is available from it (internally it's data ThreadId = ThreadId ThreadId...
[ 0.0098876953125, -0.00970458984375, -0.00738525390625, -0.018798828125, -0.00537109375, 0.0047607421875, 0.004974365234375, 0.0015869140625, -0.00921630859375, -0.050537109375, 0.00151824951171875, 0.01483154296875, -0.00531005859375, 0.006500244140625, 0.0019073486328125, -0.005798339...
[ 11249, 96760, 136719, 568, 71, 47, 866, 139873, 436, 7146, 1556, 142508, 339, 31380, 238, 118, 11050, 3066, 434, 116, 32354, 86997, 11338, 2053, 756, 19882, 10433, 155937, 959, 62548, 29823, 20625, 54602, 21487, 291, 48398, 29908, 11787, 47...
[ 0.059051513671875, 0.17236328125, 0.2156982421875, 0.1917724609375, 0.21728515625, 0.10308837890625, 0.08465576171875, 0.2218017578125, 0.1689453125, 0.25634765625, 0.120361328125, 0.2313232421875, 0.07562255859375, 0.036712646484375, 0.0257720947265625, 0.05303955078125, 0.106018066...
embed
4571464_c0
4571464
haskell
0
Title: Haskell or F# high throughput binary I/O Problem title: Haskell or F# high throughput binary I/O Tags: haskell, .net, io, f%23 Problem: Haskell or F# high throughput binary I/O How good is the performance of binary I/O libraries in these two languages> I am contemplating about re-writing an ugly (yet very fast) ...
Haskell or F# high throughput binary I/O Haskell or F# high throughput binary I/O haskell .net io f%23 Haskell stdio.h stdlib.h SIZE FILE Openning io.c io.hs Linking Jan Haskell or F# high throughput binary I/O How good is the performance of binary I/O libraries in these two languages> I am contemplating about re-writi...
[ -0.01153564453125, 0.00140380859375, 0.0018768310546875, -0.0213623046875, 0.003631591796875, -0.0036773681640625, -0.01055908203125, -0.0164794921875, -0.0213623046875, -0.00102996826171875, 0.005279541015625, -0.0257568359375, 0.006591796875, 0.003936767578125, 0.0021209716796875, -0...
[ 20625, 142508, 707, 563, 4904, 11192, 8305, 2394, 6635, 87, 64, 670, 1556, 1179, 22995, 1238, 3949, 3742, 6138, 5670, 5, 127, 5612, 10000, 19157, 52099, 13527, 238, 12779, 3342, 4127, 83, 23718, 35773, 10484, 23, 6097, 6626, 46876, 49432,...
[ 0.1923828125, 0.254150390625, 0.06927490234375, 0.1259765625, 0.2001953125, 0.13623046875, 0.1380615234375, 0.169677734375, 0.11083984375, 0.056427001953125, 0.2095947265625, 0.1497802734375, 0.1834716796875, 0.154052734375, 0.197998046875, 0.089599609375, 0.00531005859375, 0.14489...
embed
45797730_c0
45797730
haskell
0
Title: Haskell Stack Setup - Can&#x27;t Recognize CPP Program Problem title: Haskell Stack Setup - Can&#x27;t Recognize CPP Program Tags: haskell, macos-sierra, c%2B%2B, haskell-stack Problem: Haskell Stack Setup - Can't Recognize CPP Program Code signals: Haskell, Stack, Setup, Can, Recognize, CPP, Program, WARNING, F...
Haskell Stack Setup - Can&#x27;t Recognize CPP Program Haskell Stack Setup - Can&#x27;t Recognize CPP Program haskell macos-sierra c%2B%2B haskell-stack Haskell Stack Setup Can Recognize CPP Program WARNING FLAGS Users Dylan x86_64-osx ghc-8.0.2.temp ghc-8.0.2 config.log configure:2234 configure:2255 configure:2981 con...
[ -0.00015735626220703125, 0.01019287109375, 0.001312255859375, 0.006103515625, 0.003173828125, 0.00104522705078125, 0.004425048828125, -0.01263427734375, -0.00714111328125, 0.01806640625, -0.01043701171875, -0.0185546875, 0.0013885498046875, -0.00946044921875, 0.0164794921875, 0.0020141...
[ 20625, 142508, 6512, 2594, 19943, 2037, 4171, 3768, 18, 853, 115558, 731, 313, 17487, 7663, 1556, 291, 7840, 56904, 219, 590, 60873, 563, 91912, 53400, 133093, 15276, 13307, 232, 31380, 238, 17376, 133684, 34224, 153837, 4867, 222495, 24070, ...
[ 0.156494140625, 0.272705078125, 0.1812744140625, 0.1817626953125, 0.1297607421875, 0.050628662109375, 0.0875244140625, 0.0802001953125, 0.0732421875, 0.079345703125, 0.18359375, 0.0792236328125, 0.06787109375, 0.298828125, 0.173828125, 0.1085205078125, 0.04071044921875, 0.151489257...
embed
60320813_c0
60320813
haskell
0
Title: Type-level induction on KnownNats: Overlapping instances Problem title: Type-level induction on KnownNats: Overlapping instances Tags: induction, haskell, dependent-type, type-level-computation Problem: Type-level induction on KnownNats: Overlapping instances I'm trying to figure out how to do type-level inducti...
Type-level induction on KnownNats: Overlapping instances Type-level induction on KnownNats: Overlapping instances induction haskell dependent-type type-level-computation GHC.TypeNats qualified a Type-level KnownNats Overlapping LANGUAGE FlexibleInstances UndecidableInstances TypeFamilies TypeApplications TypeOperators ...
[ -0.002410888671875, 0.00078582763671875, 0.00396728515625, 0.0023651123046875, 0.0072021484375, -0.00335693359375, -0.01055908203125, 0.0037078857421875, 0.00148773193359375, -0.0233154296875, 0.00927734375, -0.0277099609375, -0.0021209716796875, 0.00982666015625, 0.00927734375, 0.0181...
[ 60457, 67919, 23, 77391, 98, 70829, 19, 4645, 933, 9578, 143, 26783, 110527, 1556, 142508, 108750, 50986, 10644, 7077, 527, 73265, 196707, 217225, 98064, 180842, 2661, 116071, 79912, 24750, 1191, 47677, 182867, 156823, 134405, 11809, 7250, 1232...
[ 0.1922607421875, 0.1837158203125, 0.0992431640625, 0.18310546875, 0.05108642578125, 0.165771484375, 0.08074951171875, 0.18017578125, 0.1148681640625, 0.124267578125, 0.2056884765625, 0.108642578125, 0.21630859375, 0.06414794921875, 0.169921875, 0.140625, 0.157958984375, 0.192626953...
embed
11488956_c0
11488956
haskell
0
Title: installing cairo on Mac OS Lion Problem title: installing cairo on Mac OS Lion Tags: haskell, cairo, macos, osx-lion, cabal Problem: installing cairo on Mac OS Lion I've just got a new mac, and I'm struggling to install Cairo for use with Haskell (diagrams in particular). I remember having a lot of problems with...
installing cairo on Mac OS Lion installing cairo on Mac OS Lion haskell cairo macos osx-lion cabal Mac Lion Resolving Compiling SetupWrapper cairo-0.12.3.1-66116 cairo-0.12.3.1 SetupWrapper.hs SetupWrapper.o Main Setup.hs Main.o Linking Gtk2HsSetup Gtk2HsSetup.hs Gtk2HsSetup.o SetupMain.hs Configuring Error ExitFailure...
[ 0.00063323974609375, 0.0157470703125, 0.005828857421875, 0.005157470703125, -0.00885009765625, -0.005523681640625, -0.003997802734375, -0.012451171875, -0.0301513671875, 0.01043701171875, -0.011474609375, -0.036376953125, -0.00994873046875, -0.015380859375, 0.019775390625, 0.0141601562...
[ 20600, 214, 78968, 31, 98, 4727, 11787, 82209, 1556, 142508, 291, 7840, 362, 45486, 109524, 132944, 15612, 49725, 19943, 2037, 219, 8079, 15654, 97109, 178046, 2485, 127, 12321, 12779, 31472, 304, 841, 168793, 59994, 212059, 5443, 217, 17647,...
[ 0.1708984375, 0.041778564453125, 0.2216796875, 0.240966796875, 0.08447265625, 0.1429443359375, 0.132568359375, 0.212890625, 0.1199951171875, 0.2181396484375, 0.0142364501953125, 0.0709228515625, 0.03924560546875, 0.1187744140625, 0.1239013671875, 0.09893798828125, 0.059234619140625, ...
embed
24757159_c0
24757159
haskell
0
Title: Function composition and $ - one compiles, another doesn&#x27;t Problem title: Function composition and $ - one compiles, another doesn&#x27;t Tags: haskell Problem: Function composition and $ - one compiles, another doesn't Why does this compile well: import Network.HTTP.Conduit (simpleHttp) import qualified Da...
Function composition and $ - one compiles, another doesn&#x27;t Function composition and $ - one compiles, another doesn&#x27;t haskell Network.HTTP.Conduit qualified Data.ByteString.Lazy.Char8 L.putStrLn L.take stackoverflow.com Couldn L.ByteString Expected Actual Function composition and $ - one compiles, another doe...
[ -0.00103759765625, 0.009521484375, 0.02392578125, 0.0264892578125, -0.0101318359375, 0.025146484375, -0.00157928466796875, 0.0157470703125, 0.01104736328125, -0.02392578125, -0.0001735687255859375, 0.00616455078125, 0.025390625, -0.007781982421875, -0.00439453125, 0.001068115234375, ...
[ 28670, 10763, 166577, 136, 3650, 20, 1632, 9969, 1340, 7, 4, 15700, 22027, 3768, 18, 1556, 142508, 28997, 23658, 11935, 112061, 217225, 11809, 75358, 71713, 2729, 3285, 84068, 1019, 339, 78219, 177261, 5465, 118664, 191147, 67, 214, 60075, ...
[ 0.1370849609375, 0.0709228515625, 0.28662109375, 0.07275390625, 0.084716796875, 0.1094970703125, 0.1429443359375, 0.2032470703125, 0.190185546875, 0.019317626953125, 0.018035888671875, 0.118896484375, 0.12744140625, 0.0260162353515625, 0.13525390625, 0.0946044921875, 0.22998046875, ...
embed
42863731_c0
42863731
haskell
0
Title: haskell stack build with mongodb as dependency error Problem title: haskell stack build with mongodb as dependency error Tags: haskell-stack, build, haskell Problem: haskell stack build with mongodb as dependency error I am trying to build a test project with stack: I ran: stack new test simple then I modified M...
haskell stack build with mongodb as dependency error haskell stack build with mongodb as dependency error haskell-stack build haskell Database.MongoDB Main Main.hs Haskell2010 lts-8.5 mongodb-2.1.1.1 Warning Some Didn Updating Fetched haskell stack build with mongodb as dependency error I am trying to build a test proj...
[ -0.0220947265625, 0.0185546875, 0.00457763671875, -0.004547119140625, -0.014404296875, 0.01141357421875, -0.01275634765625, -0.000885009765625, -0.0242919921875, -0.0026702880859375, 0.01214599609375, -0.033935546875, 0.0079345703125, 0.00811767578125, 0.0181884765625, 0.013916015625, ...
[ 1556, 142508, 177261, 45367, 678, 2667, 7803, 275, 237, 42548, 27771, 18499, 590, 2594, 187781, 594, 31525, 39463, 12321, 127, 20625, 11436, 933, 107944, 68107, 83783, 5550, 31384, 10091, 56464, 92962, 74694, 31577, 3034, 13452, 13028, 73197, ...
[ 0.1417236328125, 0.2347412109375, 0.2177734375, 0.1739501953125, 0.0699462890625, 0.1273193359375, 0.16162109375, 0.18359375, 0.036285400390625, 0.1787109375, 0.06878662109375, 0.1910400390625, 0.127685546875, 0.1331787109375, 0.0859375, 0.0079345703125, 0.1448974609375, 0.22814941...
embed
12151139_c0
12151139
haskell
0
Title: Is there a polymorphic `toString` function that doesn&#x27;t add quotes? Problem title: Is there a polymorphic `toString` function that doesn&#x27;t add quotes? Tags: string, haskell, polymorphism Problem: Is there a polymorphic `toString` function that doesn't add quotes? In most OO languages that I'm familiar ...
Is there a polymorphic `toString` function that doesn&#x27;t add quotes? Is there a polymorphic `toString` function that doesn&#x27;t add quotes? string haskell polymorphism Show ToString Char Maybe Is there a polymorphic `toString` function that doesn't add quotes? In most OO languages that I'm familiar with, the toSt...
[ 0.000396728515625, 0.006439208984375, 0.007171630859375, 0.0233154296875, -0.0120849609375, 0.013427734375, 0.02978515625, -0.00028228759765625, 0.016845703125, -0.003021240234375, -0.013916015625, -0.04052734375, -0.0069580078125, 0.01025390625, -0.0098876953125, -0.0028839111328125, ...
[ 2071, 2685, 35874, 178851, 1771, 188, 71713, 214, 32354, 22027, 3768, 18, 15190, 66747, 7, 79315, 1556, 142508, 17367, 717, 21656, 83425, 10, 450, 30563, 46876, 16031, 47, 55300, 23351, 20653, 182324, 20625, 7639, 41929, 33022, 43240, 84751, ...
[ 0.00164794921875, 0.03643798828125, 0.202392578125, 0.222412109375, 0.0780029296875, 0.2099609375, 0.23388671875, 0.1787109375, 0.2249755859375, 0.1092529296875, 0.053375244140625, 0.1385498046875, 0.139892578125, 0.2412109375, 0.0128173828125, 0.1673583984375, 0.089599609375, 0.24...
embed
40812689_c0
40812689
haskell
0
Title: What are good examples of programs that are simple to specify as dependent types, but complex to implement? Problem title: What are good examples of programs that are simple to specify as dependent types, but complex to implement? Tags: functional-programming, dependent-type, idris, haskell Problem: What are goo...
What are good examples of programs that are simple to specify as dependent types, but complex to implement? What are good examples of programs that are simple to specify as dependent types, but complex to implement? functional-programming dependent-type idris haskell What What are good examples of programs that are sim...
[ 0.017578125, -0.004730224609375, 0.004364013671875, 0.0098876953125, -0.00112152099609375, 0.01953125, -0.01068115234375, 0.01104736328125, 0.00555419921875, -0.007598876953125, -0.00836181640625, -0.0286865234375, -0.004547119140625, 0.0128173828125, -0.00145721435546875, 0.0064697265...
[ 4127, 27781, 103391, 8781, 40140, 18929, 108750, 52895, 1284, 27140, 47, 29479, 237, 123309, 28966, 50986, 3447, 3679, 1556, 142508, 262, 26885, 660, 831, 23534, 18151, 26785, 1257, 29458, 4966, 3642, 2320, 2684, 43374, 31635, 10422, 181545, ...
[ 0.09417724609375, 0.18505859375, 0.1956787109375, 0.1788330078125, 0.134033203125, 0.040252685546875, 0.246826171875, 0.257080078125, 0.09564208984375, 0.2100830078125, 0.0275115966796875, 0.15771484375, 0.0241241455078125, 0.1104736328125, 0.1251220703125, 0.1751708984375, 0.0508728...
embed
28207432_c0
28207432
haskell
0
Title: Guessing the correct instance of Num from the context Problem title: Guessing the correct instance of Num from the context Tags: typeclass, type-systems, haskell Problem: Guessing the correct instance of Num from the context Suppose: import Data.Int (Int64) data Unknown class Meh a where meh :: a -> String insta...
Guessing the correct instance of Num from the context Guessing the correct instance of Num from the context typeclass type-systems haskell the Data.Int Guessing Num Int64 Unknown Meh Guessing the correct instance of Num from the context Suppose: It is obvious that meh can only take either an Int64 or an Unknown . But w...
[ -0.01611328125, -0.0089111328125, 0.024658203125, 0.00787353515625, 0.000835418701171875, 0.0235595703125, -0.0177001953125, -0.0150146484375, 0.01519775390625, -0.0238037109375, -0.02978515625, -0.0205078125, 0.02001953125, -0.0147705078125, 0.0203857421875, -0.014892578125, -0.0051...
[ 96274, 38001, 26785, 110527, 52782, 1295, 43701, 10644, 67413, 16751, 1556, 142508, 11809, 4153, 18, 360, 13307, 992, 69723, 30191, 162520, 31584, 831, 4734, 5646, 22304, 18499, 5021, 100, 839, 316, 10, 77495, 72219, 15659, 418, 106, 83, 99...
[ 0.2283935546875, 0.06561279296875, 0.203857421875, 0.27197265625, 0.261962890625, 0.08599853515625, 0.2086181640625, 0.138427734375, 0.1383056640625, 0.0841064453125, 0.1131591796875, 0.2060546875, 0.0919189453125, 0.045166015625, 0.11962890625, 0.1043701171875, 0.2412109375, 0.034...
embed
48901718_c0
48901718
haskell
0
Title: Name for a type constructor that is both a category and a monad? Problem title: Name for a type constructor that is both a category and a monad? Tags: agda, category-theory, haskell Problem: Name for a type constructor that is both a category and a monad? Is there any standard name for a type constructor F :: * ...
Name for a type constructor that is both a category and a monad? Name for a type constructor that is both a category and a monad? agda category-theory haskell Name Name for a type constructor that is both a category and a monad? Is there any standard name for a type constructor F :: * -> * -> * -> * with operations tha...
[ 0.00860595703125, -0.002532958984375, -0.0003604888916015625, -0.001953125, 0.00029754638671875, 0.00787353515625, -0.011962890625, -0.0162353515625, 0.00128936767578125, -0.026123046875, -0.00185394287109375, -0.0264892578125, -0.01165771484375, 0.0002613067626953125, -0.003173828125, ...
[ 15757, 100, 10644, 64549, 748, 450, 15044, 95487, 136, 2667, 712, 10, 1377, 85, 2347, 30675, 1556, 142508, 83, 2499, 5570, 9351, 563, 678, 41018, 2304, 162591, 7477, 18770, 10750, 552, 17932, 50960, 42518, 8562, 50961, 154453, 48903, 33478,...
[ 0.1043701171875, 0.03729248046875, 0.2430419921875, 0.195068359375, 0.171875, 0.00909423828125, 0.119873046875, 0.26123046875, 0.0684814453125, 0.123046875, 0.1900634765625, 0.01275634765625, 0.0601806640625, 0.109375, 0.06591796875, 0.055328369140625, 0.10302734375, 0.227661132812...
embed
36016321_c0
36016321
haskell
0
Title: How do we use the result of one function in another (Haskell)? Problem title: How do we use the result of one function in another (Haskell)? Tags: haskell Problem: How do we use the result of one function in another (Haskell)? I would like to test if a a series of 3 inputs can together form a triangle, before ca...
How do we use the result of one function in another (Haskell)? How do we use the result of one function in another (Haskell)? haskell How Haskell Float Bool area_of_triangle Maybe Nothing Solution.hs:8:31 Not Solution.hs:8:36 Solution.hs:8:41 Solution.hs:10:19 Solution.hs:10:21 Solution.hs:10:23 How do we use the resul...
[ 0.01177978515625, 0.004150390625, 0.000865936279296875, 0.00012874603271484375, 0.00933837890625, -0.0030975341796875, -0.00714111328125, 0.0009613037109375, 0.020263671875, 0.006988525390625, -0.005584716796875, -0.01025390625, -0.0224609375, -0.00121307373046875, 0.005126953125, 0.00...
[ 11249, 642, 4527, 70, 16750, 111, 1632, 32354, 23, 15700, 6495, 7, 142508, 54, 1556, 20625, 38699, 257, 2460, 929, 16128, 4390, 3996, 109217, 83425, 182747, 187895, 27321, 11205, 32944, 31982, 1884, 3034, 2174, 36549, 138, 107730, 831, 2584...
[ 0.089599609375, 0.05084228515625, 0.17529296875, 0.043914794921875, 0.204345703125, 0.049224853515625, 0.0863037109375, 0.1785888671875, 0.106689453125, 0.11279296875, 0.10748291015625, 0.0943603515625, 0.267333984375, 0.0223541259765625, 0.1199951171875, 0.128173828125, 0.1553955078...
embed
25320906_c0
25320906
haskell
0
Title: How to generalize reads from url and file in Haskell Problem title: How to generalize reads from url and file in Haskell Tags: haskell Problem: How to generalize reads from url and file in Haskell I develop an application that borrows data from the Internet by chunks with the given offset. For testing purposes I...
How to generalize reads from url and file in Haskell How to generalize reads from url and file in Haskell haskell url How Haskell DataSourceMode Config FetchResult DSNormal DSFromFile How to generalize reads from url and file in Haskell I develop an application that borrows data from the Internet by chunks with the giv...
[ -0.01165771484375, -0.01361083984375, 0.0159912109375, -0.00616455078125, 0.00469970703125, 0.004119873046875, -0.00775146484375, -0.004150390625, -0.00106048583984375, -0.01904296875, 0.00213623046875, -0.0213623046875, -0.01116943359375, -0.0299072265625, 0.0084228515625, -0.02416992...
[ 11249, 4537, 20650, 12301, 7, 1295, 25002, 136, 11435, 20625, 142508, 23, 1556, 11809, 211235, 9083, 139403, 92962, 7136, 41869, 50645, 2749, 168407, 174350, 85493, 38415, 3017, 15555, 2053, 2665, 7839, 5773, 3509, 134234, 115, 2676, 70541, 1...
[ 0.0426025390625, 0.197509765625, 0.155517578125, 0.23974609375, 0.1219482421875, 0.1531982421875, 0.2091064453125, 0.1285400390625, 0.2088623046875, 0.1390380859375, 0.24560546875, 0.0150604248046875, 0.1356201171875, 0.03424072265625, 0.143798828125, 0.1107177734375, 0.0990600585937...
embed
52456943_c0
52456943
haskell
0
Title: cannot construct the infinite type when using foldl Problem title: cannot construct the infinite type when using foldl Tags: haskell, haskell-stack Problem: cannot construct the infinite type when using foldl I defined a binary tree and used my functions to create a new tree. data Tree a = EmptyTree | Node a (Tr...
cannot construct the infinite type when using foldl cannot construct the infinite type when using foldl haskell haskell-stack foldl Tree EmptyTree Node Show Ord Occurs Expected Actual cannot construct the infinite type when using foldl I defined a binary tree and used my functions to create a new tree. when I executed ...
[ 0.003173828125, -0.01416015625, 0.005828857421875, -0.002166748046875, -0.00531005859375, 0.01123046875, -0.02978515625, -0.013916015625, -0.0194091796875, -0.041259765625, 0.004608154296875, -0.040283203125, 0.017578125, 0.006927490234375, 0.0079345703125, -0.0069580078125, -0.00662...
[ 53418, 64549, 54241, 13, 10644, 17368, 18344, 20469, 1556, 142508, 590, 2594, 101344, 31678, 939, 62731, 438, 17367, 35379, 48650, 60075, 100582, 3229, 61924, 2394, 6635, 53201, 32354, 28282, 3525, 71924, 33949, 176377, 18499, 98816, 47, 7569, ...
[ 0.1259765625, 0.1778564453125, 0.126953125, 0.07135009765625, 0.168701171875, 0.0635986328125, 0.169921875, 0.196533203125, 0.05963134765625, 0.1461181640625, 0.00909423828125, 0.018707275390625, 0.14697265625, 0.07720947265625, 0.004852294921875, 0.1221923828125, 0.0626220703125, ...
embed
19363151_c0
19363151
haskell
0
Title: Counting prefixes in Haskell Problem title: Counting prefixes in Haskell Tags: haskell Problem: Counting prefixes in Haskell I've written 2 functions in haskell, and now i have to write a third one, for calculating the number of prefixes in haskell. here's an example: i have to lists. the first is the prefixes l...
Counting prefixes in Haskell Counting prefixes in Haskell haskell Counting Haskell Bool x:xs y:ys Num Counting prefixes in Haskell I've written 2 functions in haskell, and now i have to write a third one, for calculating the number of prefixes in haskell. here's an example: i have to lists. the first is the prefixes li...
[ 0.006622314453125, -0.0081787109375, 0.00616455078125, 0.009521484375, 0.0174560546875, -0.009033203125, -0.002471923828125, -0.0213623046875, 0.0169677734375, -0.007354736328125, -0.0166015625, -0.02587890625, 0.0281982421875, 0.00750732421875, 0.00872802734375, 0.00054168701171875, ...
[ 1311, 128396, 183114, 90, 23, 20625, 142508, 1556, 2460, 929, 1022, 12, 425, 7, 113, 4778, 52782, 59121, 116, 32354, 33022, 50960, 74481, 1916, 14012, 27781, 765, 47, 5303, 7986, 139124, 20028, 12638, 2565, 1295, 756, 34153, 13379, 370, 8...
[ 0.1434326171875, 0.129638671875, 0.2744140625, 0.135986328125, 0.03448486328125, 0.1519775390625, 0.252197265625, 0.12451171875, 0.10198974609375, 0.1580810546875, 0.039794921875, 0.054779052734375, 0.0635986328125, 0.0226287841796875, 0.060150146484375, 0.1370849609375, 0.1706542968...
embed
21814165_c0
21814165
haskell
0
Title: Avoiding allocations in Haskell Problem title: Avoiding allocations in Haskell Tags: optimization, haskell Problem: Avoiding allocations in Haskell I'm working on a more complicated program I would like to be very efficient, but I have boiled down my concerns for right now to the following simple program: main :...
Avoiding allocations in Haskell Avoiding allocations in Haskell optimization haskell Avoiding Haskell Linux x86_64-linode37 SMP Mon Feb EST x86_64 Glorious Glasgow Compilation System B.hs RTS B.prof Sun Time Allocation Profiling Report Final COST CENTRE MODULE CAF Main GHC.IO.Handle.FD GHC.Conc.Signal GHC.IO.Encoding G...
[ -0.011962890625, 0.00238037109375, 0.01141357421875, -0.00860595703125, -0.022216796875, 0.01123046875, -0.0211181640625, -0.0034027099609375, -0.00080108642578125, -0.0284423828125, 0.0069580078125, -0.01953125, 0.00897216796875, -0.005523681640625, 0.0024871826171875, 0.01171875, 0...
[ 84361, 86675, 144, 87632, 7, 23, 20625, 142508, 87235, 1556, 29908, 15276, 13307, 29870, 112, 10945, 124174, 7465, 43677, 50149, 46173, 93905, 181787, 15612, 14, 12353, 335, 127, 27389, 420, 7550, 19055, 884, 58848, 34798, 27188, 34274, 16656...
[ 0.218017578125, 0.0843505859375, 0.14892578125, 0.231201171875, 0.05194091796875, 0.05535888671875, 0.1627197265625, 0.262451171875, 0.1663818359375, 0.1427001953125, 0.1510009765625, 0.17919921875, 0.150634765625, 0.129150390625, 0.1265869140625, 0.118896484375, 0.1224365234375, 0...
embed
33418831_c1
33418831
haskell
1
do p <- vecGetArrayPtr v pf <- newForeignPtr_ p vImm <- V.freeze (VM.unsafeFromForeignPtr0 pf len) vImmOut <- f vImm vMutOut <- V.thaw vImmOut let (fpOut, _, _) = VM.unsafeToForeignPtr vMutOut pOut = unsafeForeignPtrToPtr fpOut vecRestoreArrayPtr v pOut return vImmOut where len = vecSize v Vec.hs : vecGetArrayPtr :: V...
do p <- vecGetArrayPtr v pf <- newForeignPtr_ p vImm <- V.freeze (VM.unsafeFromForeignPtr0 pf len) vImmOut <- f vImm vMutOut <- V.thaw vImmOut let (fpOut, _, _) = VM.unsafeToForeignPtr vMutOut pOut = unsafeForeignPtrToPtr fpOut vecRestoreArrayPtr v pOut return vImmOut where len = vecSize v Vec.hs : vecGetArrayPtr :: V...
[ 0.003265380859375, 0.0120849609375, -0.029296875, -0.006378173828125, 0.01373291015625, -0.0011444091796875, -0.024658203125, -0.00390625, -0.00186920166015625, -0.0140380859375, 0.00469970703125, 0.01141357421875, -0.036376953125, -0.005889892578125, 0.00032806396484375, -0.0045166015...
[ 54, 915, 22834, 724, 126, 7614, 7092, 683, 4448, 81, 39557, 3525, 18537, 38529, 2276, 310, 32087, 731, 47599, 309, 115840, 168407, 2389, 3098, 79858, 1238, 10685, 3238, 434, 2633, 420, 254, 43084, 7763, 51, 4332, 45804, 30646, 568, 127167...
[ 0.1121826171875, 0.078369140625, 0.2344970703125, 0.09466552734375, 0.1402587890625, 0.1290283203125, 0.19873046875, 0.08135986328125, 0.1961669921875, 0.1451416015625, 0.121826171875, 0.06793212890625, 0.08203125, 0.12353515625, 0.1593017578125, 0.173095703125, 0.158203125, 0.1654...
embed
37031046_c1
37031046
haskell
1
this, this is how my new parse looks like: ... %name myParse %error { parseError } %token KW_PROCEDURE { KW_TokenProcedure } KW_END { KW_TokenEnd } ';' { KW_TokenSemiColon } identifier { TokenVariableIdentifier $$ } %% ProcedureDeclarationList : ProcedureDeclaration { $1 } | ProcedureDeclaration ';' ProcedureDeclarati...
this, this is how my new parse looks like: ... %name myParse %error { parseError } %token KW_PROCEDURE { KW_TokenProcedure } KW_END { KW_TokenEnd } ';' { KW_TokenSemiColon } identifier { TokenVariableIdentifier $$ } %% ProcedureDeclarationList : ProcedureDeclaration { $1 } | ProcedureDeclaration ';' ProcedureDeclarati...
[ -0.0035552978515625, 0.03125, -0.01226806640625, 0.0012664794921875, -0.0252685546875, 0.03271484375, -0.015380859375, -0.0205078125, 0.00958251953125, 0.0086669921875, 0.009765625, 0.03857421875, 0.0093994140625, -0.018310546875, 0.00909423828125, -0.00958251953125, 0.01055908203125...
[ 903, 3642, 759, 3525, 366, 184, 33342, 1884, 1745, 11627, 28636, 188800, 18468, 31611, 6448, 89496, 47970, 10854, 397, 7763, 1098, 37534, 39015, 152378, 4233, 266, 78457, 191, 42485, 717, 81827, 2886, 37379, 85789, 170470, 120152, 320, 154663...
[ 0.0645751953125, 0.0242462158203125, 0.11669921875, 0.1417236328125, 0.198486328125, 0.192138671875, 0.12353515625, 0.07635498046875, 0.005859375, 0.09814453125, 0.2008056640625, 0.1644287109375, 0.1004638671875, 0.1456298828125, 0.0958251953125, 0.1922607421875, 0.085693359375, 0....
embed
15796162_c1
15796162
haskell
1
array:_) <- genObjectNames 1 bindBuffer arrayType $= Just array arr <- newListArray (0, size - 1) elems withStorableArray arr $ \ptr -> bufferData arrayType $= (ptrsize, ptr, StaticDraw) bindBuffer ArrayBuffer $= Nothing return array displayVbo buff size = do let stride = 2*(2*4) vxDesc = VertexArrayDescriptor 2 Float ...
array:_) <- genObjectNames 1 bindBuffer arrayType $= Just array arr <- newListArray (0, size - 1) elems withStorableArray arr $ \ptr -> bufferData arrayType $= (ptrsize, ptr, StaticDraw) bindBuffer ArrayBuffer $= Nothing return array displayVbo buff size = do let stride = 2*(2*4) vxDesc = VertexArrayDescriptor 2 Float ...
[ -0.0177001953125, 0.01190185546875, -0.006744384765625, -0.014892578125, -0.015625, 0.0098876953125, 0.00994873046875, 0.002227783203125, 0.009033203125, -0.01129150390625, -0.00133514404296875, -0.0208740234375, 0.00286865234375, -0.0267333984375, -0.010986328125, -0.029541015625, 0...
[ 10298, 53, 9226, 46471, 75161, 163612, 68557, 7235, 18234, 196707, 9563, 187, 42, 3525, 154663, 7614, 7092, 22085, 13267, 195, 1290, 2886, 373, 137989, 62539, 71465, 81456, 69253, 182747, 44116, 856, 837, 123759, 104310, 81, 425, 6964, 1446, ...
[ 0.0943603515625, 0.04559326171875, 0.09356689453125, 0.046539306640625, 0.1129150390625, 0.000274658203125, 0.146240234375, 0.09173583984375, 0.171630859375, 0.1014404296875, 0.06378173828125, 0.037841796875, 0.02362060546875, 0.0235595703125, 0.057647705078125, 0.0523681640625, 0.17...
embed
6536092_c0
6536092
haskell
0
Title: How do I disable dependency checking with a local cabal install? Problem title: How do I disable dependency checking with a local cabal install? Tags: haskell, cabal Problem: How do I disable dependency checking with a local cabal install? So I'm trying to install a package with a big messy dependency set (gitit...
How do I disable dependency checking with a local cabal install? How do I disable dependency checking with a local cabal install? haskell cabal How How do I disable dependency checking with a local cabal install? So I'm trying to install a package with a big messy dependency set (gitit, in this case). A direct cabal in...
[ -0.00531005859375, 0.0111083984375, 0.01263427734375, 0.003936767578125, -0.01275634765625, 0.0118408203125, -0.030029296875, -0.0179443359375, 0.0052490234375, -0.01324462890625, 0.0103759765625, -0.0205078125, 0.01226806640625, 0.01092529296875, -0.0087890625, 0.0037841796875, 0.00...
[ 11249, 54, 2837, 2886, 42548, 27771, 175199, 678, 4000, 109524, 20600, 1556, 142508, 87, 31577, 98169, 6957, 163, 46048, 5423, 15769, 217, 8951, 85526, 4588, 84616, 456, 177149, 87794, 35773, 18, 3444, 2816, 7986, 33120, 366, 39797, 7108, 5...
[ 0.07598876953125, 0.0162353515625, 0.1397705078125, 0.2054443359375, 0.2193603515625, 0.1285400390625, 0.259033203125, 0.07177734375, 0.154541015625, 0.28662109375, 0.176025390625, 0.1142578125, 0.22607421875, 0.0214385986328125, 0.040740966796875, 0.16015625, 0.009979248046875, 0....
embed
30385303_c0
30385303
haskell
0
Title: Functionality of as-pattern, non overlapping pattern through &#x27;as pattern&#x27; Problem title: Functionality of as-pattern, non overlapping pattern through &#x27;as pattern&#x27; Tags: as-pattern, design-patterns, overlapping-matches, haskell Problem: Functionality of as-pattern, non overlapping pattern thro...
Functionality of as-pattern, non overlapping pattern through &#x27;as pattern&#x27; Functionality of as-pattern, non overlapping pattern through &#x27;as pattern&#x27; as-pattern design-patterns overlapping-matches haskell Functionality last1 x:xs last2 y:ys _:_ f:o:o o:o Functionality of as-pattern, non overlapping pa...
[ -0.01556396484375, 0.00616455078125, -0.02001953125, -0.000576019287109375, -0.0004100799560546875, -0.00897216796875, -0.01348876953125, -0.01385498046875, 0.0162353515625, 0.0267333984375, 0.0281982421875, -0.021484375, 0.0145263671875, 0.01043701171875, 0.01409912109375, 0.023559570...
[ 28670, 10763, 134393, 237, 4453, 22766, 4, 351, 645, 143, 26783, 103510, 8305, 3768, 162, 4331, 98753, 1556, 142508, 4568, 418, 1022, 425, 304, 113, 4778, 1238, 12, 31, 36, 9, 3525, 123309, 56037, 456, 77391, 17368, 18151, 27781, 5608, ...
[ 0.1065673828125, 0.10595703125, 0.0782470703125, 0.20068359375, 0.1778564453125, 0.1719970703125, 0.0293731689453125, 0.1566162109375, 0.1365966796875, 0.162841796875, 0.115478515625, 0.2109375, 0.119873046875, 0.042236328125, 0.217041015625, 0.072998046875, 0.0926513671875, 0.1018...
embed
36873676_c0
36873676
haskell
0
Title: Monad State And get function Problem title: Monad State And get function Tags: haskell Problem: Monad State And get function type InterpreterMonad = StateT (Env, Env) (ErrorT String IO ) () interpreter :: Stmts -> InterpreterMonad interpreter (Statements s EmptyStmts) = interpreteStmt s interpreter (Statements s...
Monad State And get function Monad State And get function haskell throwError Monad State InterpreterMonad StateT Env ErrorT Stmts Statements EmptyStmts Stmt DefFun VarName Map.lookup Nothing Map.insert Just Monad State And get function Hi, I cannot understand why get and put functions can be called? How the Haskell kno...
[ -0.021240234375, -0.004058837890625, -0.0096435546875, -0.002227783203125, 0.005889892578125, -0.006011962890625, -0.0034942626953125, -0.0035552978515625, -0.00970458984375, -0.0255126953125, 0.0014495849609375, 0.0181884765625, -0.0299072265625, -0.0157470703125, 0.0191650390625, -0....
[ 60331, 71, 22836, 3493, 2046, 32354, 1556, 142508, 104250, 18468, 31611, 5337, 56359, 46674, 712, 618, 334, 212059, 933, 31678, 85535, 97249, 3323, 163612, 42719, 64747, 182747, 33657, 53418, 28219, 15400, 136, 3884, 831, 35839, 11249, 20625, ...
[ 0.2091064453125, 0.1591796875, 0.2490234375, 0.1497802734375, 0.2197265625, 0.248779296875, 0.1199951171875, 0.262451171875, 0.1424560546875, 0.0767822265625, 0.0221710205078125, 0.018402099609375, 0.08837890625, 0.0872802734375, 0.14208984375, 0.0310516357421875, 0.084716796875, 0...
embed
47998603_c1
47998603
haskell
1
pair type, and ignoring this would make the whole transformation incoherent. How can I constrain a Type variable to be neither of the form (a -> b) nor of the form (a, b) nor of the form (Either a b) ? I tried this: class BinaryTC tc x (r::Bool) a b | tc x a b -> r instance {-# OVERLAPPING #-} (r~'False) => BinaryTC t...
pair type, and ignoring this would make the whole transformation incoherent. How can I constrain a Type variable to be neither of the form (a -> b) nor of the form (a, b) nor of the form (Either a b) ? I tried this: class BinaryTC tc x (r::Bool) a b | tc x a b -> r instance {-# OVERLAPPING #-} (r~'False) => BinaryTC t...
[ 0.004241943359375, -0.004364013671875, -0.003143310546875, -0.00323486328125, 0.01263427734375, -0.00127410888671875, -0.02294921875, -0.01904296875, 0.003997802734375, -0.0172119140625, -0.0177001953125, -0.023193359375, -0.002349853515625, 0.00005888938903808594, -0.005706787109375, ...
[ 80836, 10644, 47438, 28271, 167201, 587, 3334, 11249, 831, 158, 2816, 73, 60457, 77336, 47, 186, 2725, 9319, 3173, 33079, 876, 12488, 111, 37842, 18507, 54092, 1294, 20499, 238, 1022, 12647, 929, 10, 1690, 110527, 106105, 85324, 212003, 176...
[ 0.2088623046875, 0.22998046875, 0.049346923828125, 0.0145111083984375, 0.1595458984375, 0.017913818359375, 0.09051513671875, 0.021270751953125, 0.020599365234375, 0.140380859375, 0.225830078125, 0.155517578125, 0.2587890625, 0.263671875, 0.06610107421875, 0.058837890625, 0.0830688476...
embed
8042286_c0
8042286
haskell
0
Title: Haskell: How to use forkIO to enable multiple clients to connect to a server? Problem title: Haskell: How to use forkIO to enable multiple clients to connect to a server? Tags: haskell, network-programming Problem: Haskell: How to use forkIO to enable multiple clients to connect to a server? I'm trying to get mu...
Haskell: How to use forkIO to enable multiple clients to connect to a server? Haskell: How to use forkIO to enable multiple clients to connect to a server? haskell network-programming Haskell How LineBuffering Server Hello Haskell: How to use forkIO to enable multiple clients to connect to a server? I'm trying to get m...
[ 0.01165771484375, 0.0033721923828125, 0.01495361328125, 0.0283203125, -0.00616455078125, -0.0024871826171875, 0.0057373046875, -0.00469970703125, 0.0021514892578125, -0.046875, -0.00299072265625, -0.039794921875, 0.004791259765625, 0.01361083984375, -0.00640869140625, -0.015869140625, ...
[ 20625, 142508, 11249, 4527, 100, 92, 17780, 2886, 48716, 19802, 37067, 47, 10723, 1556, 33120, 28966, 16777, 7235, 18234, 22687, 35378, 22, 31577, 2046, 145755, 1632, 23282, 17368, 136, 1660, 134234, 60042, 12301, 3871, 903, 3642, 5608, 11124...
[ 0.13232421875, 0.235107421875, 0.09869384765625, 0.1343994140625, 0.1641845703125, 0.178955078125, 0.260009765625, 0.07855224609375, 0.25244140625, 0.259765625, 0.20166015625, 0.13916015625, 0.2056884765625, 0.0732421875, 0.01715087890625, 0.01165771484375, 0.124755859375, 0.061950...
embed
71177476_c0
71177476
haskell
0
Title: How to remove GHC 9.2.1 on Windows 10 that has been installed via chocolatey? Problem title: How to remove GHC 9.2.1 on Windows 10 that has been installed via chocolatey? Tags: chocolatey, haskell, ghc Problem: How to remove GHC 9.2.1 on Windows 10 that has been installed via chocolatey? I have installed ghc 9.2...
How to remove GHC 9.2.1 on Windows 10 that has been installed via chocolatey? How to remove GHC 9.2.1 on Windows 10 that has been installed via chocolatey? chocolatey haskell ghc How GHC Windows msys64 Users Glorious Glasgow Haskell Compilation System system32 Chocolatey v0.11.3 Uninstalling Cannot ghc-9.2.1 How to rem...
[ -0.00738525390625, 0.00970458984375, 0.022216796875, 0.006866455078125, 0.0023040771484375, -0.01226806640625, -0.027587890625, -0.0123291015625, -0.024169921875, 0.0247802734375, -0.005615234375, -0.002716064453125, -0.00836181640625, 0.0076904296875, 0.01068115234375, 0.0087280273437...
[ 11249, 47, 87388, 527, 73265, 3569, 68107, 98, 3773, 209, 20600, 1829, 64507, 53, 1556, 142508, 31380, 238, 347, 94924, 13307, 53400, 46173, 93905, 181787, 20625, 15612, 14, 57860, 12353, 6460, 167499, 102014, 81046, 992, 80383, 4171, 10869, ...
[ 0.074462890625, 0.033599853515625, 0.2088623046875, 0.1260986328125, 0.252197265625, 0.2008056640625, 0.23388671875, 0.0625, 0.1016845703125, 0.1981201171875, 0.12255859375, 0.1160888671875, 0.2093505859375, 0.2086181640625, 0.1375732421875, 0.22998046875, 0.15185546875, 0.17858886...
embed
48408707_c0
48408707
haskell
0
Title: Scala equivalent to Haskell pattern Matching on constructors Problem title: Scala equivalent to Haskell pattern Matching on constructors Tags: haskell, scala Problem: Scala equivalent to Haskell pattern Matching on constructors In Haskell I have got constructors defined like this : data Fonction = Const Float | ...
Scala equivalent to Haskell pattern Matching on constructors Scala equivalent to Haskell pattern Matching on constructors haskell scala Scala Haskell Matching Fonction Float Param Add Double f1:Function HelloWorld Array Unit Op.som Scala equivalent to Haskell pattern Matching on constructors In Haskell I have got const...
[ 0.0021209716796875, 0.00145721435546875, -0.01336669921875, -0.00958251953125, 0.006683349609375, -0.0159912109375, -0.017578125, 0.01068115234375, -0.0037841796875, -0.0419921875, 0.0203857421875, -0.0108642578125, -0.001312255859375, 0.0016937255859375, 0.0103759765625, -0.0102539062...
[ 152653, 11, 183234, 47, 20625, 142508, 103510, 67407, 214, 98, 64549, 25251, 1556, 146232, 71034, 38699, 257, 1720, 39, 29117, 107172, 1238, 82825, 97249, 35378, 70646, 69253, 53, 46640, 2331, 5084, 4163, 61924, 1884, 903, 32233, 3525, 37842,...
[ 0.1964111328125, 0.1475830078125, 0.167236328125, 0.044158935546875, 0.1436767578125, 0.25390625, 0.236083984375, 0.201171875, 0.03521728515625, 0.052520751953125, 0.190673828125, 0.1654052734375, 0.1168212890625, 0.1644287109375, 0.096435546875, 0.1314697265625, 0.0143280029296875, ...
embed
62485297_c0
62485297
haskell
0
Title: Type of a value when defined in ghci vs when in script Problem title: Type of a value when defined in ghci vs when in script Tags: functional-programming, haskell Problem: Type of a value when defined in ghci vs when in script I am a beginner in haskell and while reading about types, I observed the following and...
Type of a value when defined in ghci vs when in script Type of a value when defined in ghci vs when in script functional-programming haskell Type Chapter4 Integer Double Num Fractional Type of a value when defined in ghci vs when in script I am a beginner in haskell and while reading about types, I observed the followi...
[ 0.007354736328125, -0.00445556640625, -0.01116943359375, 0.01141357421875, 0.004119873046875, -0.0019073486328125, -0.004364013671875, 0.01202392578125, 0.007415771484375, 0.01171875, -0.016845703125, -0.02197265625, -0.007232666015625, -0.0186767578125, 0.006927490234375, 0.0089111328...
[ 60457, 111, 34292, 3229, 61924, 23, 31380, 318, 20209, 26499, 10, 123309, 28966, 1556, 142508, 44401, 107172, 52782, 7868, 10763, 9842, 1679, 52895, 139999, 19048, 28219, 31635, 25632, 142424, 12765, 10644, 15549, 80934, 113, 1295, 997, 138, ...
[ 0.2469482421875, 0.10791015625, 0.200439453125, 0.07257080078125, 0.1796875, 0.052001953125, 0.1199951171875, 0.15185546875, 0.1435546875, 0.2286376953125, 0.028533935546875, 0.1131591796875, 0.0706787109375, 0.10113525390625, 0.2037353515625, 0.12744140625, 0.1053466796875, 0.1411...
embed
74564260_c1
74564260
haskell
1
2,15,18] -- not a constant, but computed in Haskell, outside the DB runDB $ mapM_ (insert_ . MyTable) xs -- Esqueleto Query: zs <- runDB $ select $ do xs <- from $ table @MyTable where_ $ (xs ^. MyTableX `E.notIn` E.valList ys) return xs So this returns all numbers from the DB table MyTable that are not contained in th...
2,15,18] -- not a constant, but computed in Haskell, outside the DB runDB $ mapM_ (insert_ . MyTable) xs -- Esqueleto Query: zs <- runDB $ select $ do xs <- from $ table @MyTable where_ $ (xs ^. MyTableX `E.notIn` E.valList ys) return xs So this returns all numbers from the DB table MyTable that are not contained in th...
[ -0.024658203125, 0.0023345947265625, 0.017822265625, -0.0032806396484375, -0.0196533203125, 0.005462646484375, 0.00101470947265625, -0.0037841796875, 0.0015869140625, 0.002288818359375, -0.005340576171875, 0.0196533203125, 0.00811767578125, 0.0177001953125, -0.002166748046875, 0.007720...
[ 116, 4, 1837, 1819, 268, 959, 53697, 375, 7077, 23, 20625, 142508, 50782, 57976, 11675, 39463, 22288, 594, 454, 33657, 2646, 618, 2886, 1022, 7, 1184, 37631, 31580, 58836, 53, 97, 36849, 3650, 54, 1295, 23180, 31852, 7440, 425, 1542, 64...
[ 0.15380859375, 0.045745849609375, 0.251220703125, 0.26220703125, 0.0447998046875, 0.14453125, 0.181884765625, 0.0193634033203125, 0.1683349609375, 0.00408935546875, 0.1317138671875, 0.2445068359375, 0.1697998046875, 0.130126953125, 0.08953857421875, 0.157470703125, 0.119140625, 0.1...
embed
76706372_c0
76706372
haskell
0
Title: Modeling a dependent computation task? Problem title: Modeling a dependent computation task? Tags: typescript, catamorphism, haskell, recursion-schemes Problem: Modeling a dependent computation task? I need to model a computation task and some sub-tasks depend on it: First I run a task, if it fails then it's ove...
Modeling a dependent computation task? Modeling a dependent computation task? typescript catamorphism haskell recursion-schemes Modeling DepTask Fail Success Functor ComplexF FailF SuccessF Complex Fix Modeling a dependent computation task? I need to model a computation task and some sub-tasks depend on it: First I run...
[ -0.007476806640625, -0.003936767578125, -0.0027618408203125, 0.0235595703125, 0.022216796875, 0.0020599365234375, -0.019287109375, -0.00189971923828125, 0.003875732421875, -0.0113525390625, -0.00154876708984375, -0.036865234375, 0.0024566650390625, 0.04052734375, -0.005035400390625, -0...
[ 13293, 214, 108750, 181135, 1363, 66211, 10, 10644, 32032, 60199, 178851, 8780, 1556, 142508, 195625, 7560, 262, 254, 9874, 190355, 144053, 28670, 18770, 113197, 919, 96746, 3871, 3299, 1614, 1073, 56566, 98, 442, 23972, 11675, 2174, 35782, 7...
[ 0.267822265625, 0.08807373046875, 0.256103515625, 0.1761474609375, 0.0230865478515625, 0.2193603515625, 0.023223876953125, 0.1429443359375, 0.2132568359375, 0.2183837890625, 0.1861572265625, 0.043304443359375, 0.098388671875, 0.255859375, 0.1138916015625, 0.06085205078125, 0.08032226...
embed
6362810_c0
6362810
haskell
0
Title: Towards understanding CodeGen* in the Haskell LLVM bindings Problem title: Towards understanding CodeGen* in the Haskell LLVM bindings Tags: haskell, language-design, llvm Problem: Towards understanding CodeGen* in the Haskell LLVM bindings Background: I am writing a toy Lisp interperter/compiler in Haskell for ...
Towards understanding CodeGen* in the Haskell LLVM bindings Towards understanding CodeGen* in the Haskell LLVM bindings haskell language-design llvm Towards CodeGen Haskell LLVM CodeGenModule CodeGenFunction Functions Modules Towards understanding CodeGen* in the Haskell LLVM bindings Background: I am writing a toy Lis...
[ 0.01495361328125, -0.00738525390625, 0.002166748046875, 0.003387451171875, 0.0205078125, -0.000537872314453125, 0.00921630859375, -0.044921875, 0.01031494140625, -0.019287109375, 0.006622314453125, -0.03857421875, 0.00787353515625, -0.002105712890625, -0.007080078125, -0.016845703125, ...
[ 19364, 100094, 28864, 105376, 1639, 20625, 142508, 99954, 47599, 128239, 1556, 46876, 34198, 3723, 39, 91616, 8782, 97249, 28670, 10763, 63014, 32562, 72713, 1261, 7008, 1940, 1264, 720, 58875, 10002, 2647, 15190, 81273, 9969, 1340, 390, 67, ...
[ 0.128662109375, 0.0958251953125, 0.183349609375, 0.2357177734375, 0.10382080078125, 0.1187744140625, 0.2081298828125, 0.10418701171875, 0.210205078125, 0.1783447265625, 0.08831787109375, 0.084228515625, 0.1346435546875, 0.0675048828125, 0.0228729248046875, 0.12646484375, 0.1260986328...
embed
47727970_c0
47727970
haskell
0
Title: How to run an individual test with Stack and Haskell Test.Framework? Problem title: How to run an individual test with Stack and Haskell Test.Framework? Tags: haskell-stack, haskell Problem: How to run an individual test with Stack and Haskell Test.Framework? I'm cloning the haskoin/haskoin-core repository and m...
How to run an individual test with Stack and Haskell Test.Framework? How to run an individual test with Stack and Haskell Test.Framework? haskell-stack haskell How Stack Haskell Test.Framework stack.yaml haskoin-core:test-haskoin-core HSpec Network.Haskoin.Network.Units Main.hs How to run an individual test with Stack ...
[ -0.004058837890625, -0.003662109375, 0.006744384765625, 0.006927490234375, 0.003997802734375, -0.009765625, 0.0033111572265625, -0.009033203125, -0.0009307861328125, -0.02197265625, 0.0028839111328125, -0.0213623046875, -0.0108642578125, 0.0025482177734375, 0, 0.01202392578125, 0.022...
[ 11249, 11675, 11651, 3034, 678, 6512, 2594, 136, 20625, 142508, 8647, 108386, 282, 18244, 1556, 590, 177261, 14520, 141, 256, 1579, 73, 30854, 6954, 528, 47107, 28997, 6495, 85600, 12321, 127, 20450, 64722, 15549, 154107, 3564, 756, 109921, ...
[ 0.054931640625, 0.178955078125, 0.203369140625, 0.222412109375, 0.1329345703125, 0.168701171875, 0.153076171875, 0.1044921875, 0.1195068359375, 0.1968994140625, 0.1767578125, 0.119384765625, 0.0172119140625, 0.1453857421875, 0.1170654296875, 0.095947265625, 0.1571044921875, 0.08972...
embed
59646736_c0
59646736
haskell
0
Title: Haskell IO-Monad error upon explicitly stating parameter for &#x27;show&#x27; Problem title: Haskell IO-Monad error upon explicitly stating parameter for &#x27;show&#x27; Tags: io-monad, haskell Problem: Haskell IO-Monad error upon explicitly stating parameter for 'show' Although I feel like a have a good unders...
Haskell IO-Monad error upon explicitly stating parameter for &#x27;show&#x27; Haskell IO-Monad error upon explicitly stating parameter for &#x27;show&#x27; io-monad haskell Haskell IO-Monad Show Haskell IO-Monad error upon explicitly stating parameter for 'show' Although I feel like a have a good understanding of Haske...
[ -0.003875732421875, 0.0054931640625, 0.005126953125, 0.0302734375, 0.004058837890625, -0.00058746337890625, 0.00016021728515625, -0.0213623046875, -0.01068115234375, -0.000713348388671875, 0.00156402587890625, -0.06982421875, -0.00555419921875, 0.00384521484375, 0.01263427734375, -0.02...
[ 20625, 142508, 17780, 46674, 712, 18499, 54799, 143726, 13254, 171859, 3768, 31374, 22995, 3796, 1556, 17367, 100, 12319, 2590, 60331, 6468, 100094, 26008, 8781, 32354, 29479, 20117, 28412, 47, 130250, 71, 26785, 11389, 5608, 171, 217, 1022, ...
[ 0.121826171875, 0.220703125, 0.2174072265625, 0.1680908203125, 0.158935546875, 0.181884765625, 0.0579833984375, 0.15185546875, 0.1771240234375, 0.2493896484375, 0.114990234375, 0.239990234375, 0.163818359375, 0.0816650390625, 0.05230712890625, 0.177490234375, 0.037261962890625, 0.0...
embed
63729604_c0
63729604
haskell
0
Title: Is changing an object&#x27;s variable outside of the object considered a side effect? Problem title: Is changing an object&#x27;s variable outside of the object considered a side effect? Tags: haskell, functional-programming, side-effects Problem: Is changing an object's variable outside of the object considered...
Is changing an object&#x27;s variable outside of the object considered a side effect? Is changing an object&#x27;s variable outside of the object considered a side effect? haskell functional-programming side-effects Is changing an object's variable outside of the object considered a side effect? I'm trying to understan...
[ 0.022216796875, -0.005645751953125, -0.000457763671875, -0.0069580078125, 0.0069580078125, -0.00653076171875, -0.01513671875, 0.01068115234375, 0.00799560546875, -0.000530242919921875, -0.01019287109375, 0.0093994140625, 0.011474609375, -0.0030975341796875, 0.0166015625, -0.01586914062...
[ 2071, 151134, 36746, 3768, 77336, 50782, 111, 90698, 10, 5609, 21543, 1556, 142508, 123309, 28966, 214, 171760, 142, 20209, 49133, 56037, 449, 28219, 93425, 118055, 48031, 1528, 8752, 9, 65572, 3126, 1632, 32354, 28032, 11814, 12921, 190358, ...
[ 0.0516357421875, 0.2353515625, 0.2218017578125, 0.0640869140625, 0.254638671875, 0.231689453125, 0.10479736328125, 0.13818359375, 0.07080078125, 0.1986083984375, 0.23486328125, 0.1304931640625, 0.224365234375, 0.17236328125, 0.1441650390625, 0.032318115234375, 0.259033203125, 0.011...
embed
53683452_c0
53683452
haskell
0
Title: Pick a specific picture from a list Problem title: Pick a specific picture from a list Tags: gloss, haskell, juicy-pixels Problem: Pick a specific picture from a list I have the following function: blockToPicture :: Int -> [Picture] -> Picture blockToPicture n [pic1,pic2,pic3] | n==0 = ... | n==1 = ... | otherwi...
Pick a specific picture from a list Pick a specific picture from a list gloss haskell juicy-pixels a Pick Picture pic1 pic2 pic3 Pick a specific picture from a list I have the following function: If n==0 I want to select pic1 , if n==1 I want to select pic2 . Otherwise I want to select pic3 . The problem is when one of...
[ -0.020263671875, -0.015380859375, 0.01263427734375, 0.004638671875, -0.0120849609375, 0.0159912109375, 0.0010528564453125, -0.0147705078125, -0.0030059814453125, 0.0184326171875, 0.018798828125, 0.0107421875, 0.01177978515625, -0.000949859619140625, -0.0146484375, 0.008056640625, 0.0...
[ 122554, 29458, 49726, 1295, 5303, 10, 207244, 1556, 142508, 1129, 14, 2408, 66535, 14794, 158656, 8834, 418, 304, 363, 765, 25632, 32354, 4263, 653, 69112, 2389, 3444, 36849, 2174, 2967, 75073, 22027, 18, 72367, 108975, 175399, 18695, 96386, ...
[ 0.244140625, 0.240234375, 0.25390625, 0.15087890625, 0.227294921875, 0.0302734375, 0.218505859375, 0.1484375, 0.2403564453125, 0.1278076171875, 0.14794921875, 0.123046875, 0.1187744140625, 0.1329345703125, 0.189453125, 0.158203125, 0.06884765625, 0.1241455078125, 0.1446533203125,...
embed
33374575_c0
33374575
haskell
0
Title: Cannot successfully install plot Haskell Problem title: Cannot successfully install plot Haskell Tags: plot, installation, hmatrix, haskell, cabal-install Problem: Cannot successfully install plot Haskell I'd like to do some graphing in my Haskell program, but when I try to install plot I get the following error...
Cannot successfully install plot Haskell Cannot successfully install plot Haskell plot installation hmatrix haskell cabal-install Cannot Haskell Preprocessing plot-0.2.3.4 Graphics Rendering Plot Figure Simple.hs:37:8 Could Numeric.Container Use Types.hs:25:8 Data.Packed.Vector Types.hs:26:8 Data.Packed.Matrix Error Ex...
[ -0.01104736328125, 0.024169921875, 0.0045166015625, 0.001678466796875, -0.00147247314453125, 0.0047607421875, -0.01385498046875, -0.026123046875, 0.00118255615234375, 0.03515625, -0.00982666015625, -0.0294189453125, -0.004791259765625, -0.0042724609375, -0.0028839111328125, 0.009826660...
[ 4171, 10869, 65771, 20600, 23577, 20625, 142508, 59720, 1096, 192, 87427, 1556, 109524, 80383, 1914, 63923, 133684, 172508, 189682, 63137, 168763, 55412, 60552, 127, 30225, 1019, 191147, 93511, 1771, 25500, 36836, 60457, 21224, 11809, 5, 205956, ...
[ 0.0430908203125, 0.1339111328125, 0.1632080078125, 0.2222900390625, 0.2454833984375, 0.1605224609375, 0.254638671875, 0.12060546875, 0.10552978515625, 0.06866455078125, 0.169189453125, 0.137451171875, 0.1793212890625, 0.1815185546875, 0.11572265625, 0.1094970703125, 0.078857421875, ...
embed
4418617_c0
4418617
haskell
0
Title: Are there any special challenges for functional programming in an embedded environment? Problem title: Are there any special challenges for functional programming in an embedded environment? Tags: embedded, functional-programming, haskell Problem: Are there any special challenges for functional programming in an...
Are there any special challenges for functional programming in an embedded environment? Are there any special challenges for functional programming in an embedded environment? embedded functional-programming haskell Are there any special challenges for functional programming in an embedded environment? So I'm starting ...
[ 0.007537841796875, 0.0002460479736328125, 0.0087890625, -0.014404296875, -0.0103759765625, 0.006622314453125, -0.0198974609375, -0.024169921875, -0.002197265625, -0.0262451171875, 0.0087890625, -0.037109375, -0.01080322265625, -0.00142669677734375, -0.01904296875, 0.010498046875, 0.0...
[ 15901, 2685, 2499, 5361, 127125, 100, 123309, 56037, 449, 23, 55720, 69819, 65998, 142, 28966, 1556, 142508, 72134, 12319, 5423, 34955, 222530, 4127, 96760, 16487, 20625, 127194, 28987, 4488, 5809, 115700, 95307, 24, 7870, 55516, 47644, 7225, ...
[ 0.011749267578125, 0.038421630859375, 0.0869140625, 0.1971435546875, 0.240966796875, 0.06915283203125, 0.27001953125, 0.215087890625, 0.116943359375, 0.068359375, 0.22412109375, 0.1844482421875, 0.2271728515625, 0.019622802734375, 0.16943359375, 0.119140625, 0.2467041015625, 0.0111...
embed
7781096_c0
7781096
haskell
0
Title: Is there a better way to have optional function arguments in Haskell? Problem title: Is there a better way to have optional function arguments in Haskell? Tags: haskell Problem: Is there a better way to have optional function arguments in Haskell? I'm used to being able to define optional arguments like so in Py...
Is there a better way to have optional function arguments in Haskell? Is there a better way to have optional function arguments in Haskell? haskell Haskell Just Nothing req1 opt1 opt2 opt3 Is there a better way to have optional function arguments in Haskell? I'm used to being able to define optional arguments like so i...
[ 0.0001697540283203125, 0.01470947265625, 0.01348876953125, -0.0033416748046875, -0.00823974609375, 0.000530242919921875, -0.006103515625, -0.0228271484375, -0.006500244140625, 0.0240478515625, -0.000888824462890625, -0.0218505859375, -0.01373291015625, 0.0010223388671875, -0.008239746093...
[ 11522, 3917, 765, 35829, 289, 32354, 10750, 7, 23, 20625, 142508, 47, 1556, 9563, 182747, 456, 864, 43922, 304, 363, 2685, 11814, 19048, 61924, 1884, 221, 145581, 114977, 21373, 83425, 24209, 1452, 1297, 43452, 69405, 1286, 48716, 171859, 3...
[ 0.12255859375, 0.07501220703125, 0.09320068359375, 0.2266845703125, 0.16162109375, 0.21630859375, 0.254150390625, 0.08819580078125, 0.053375244140625, 0.152587890625, 0.252197265625, 0.0115966796875, 0.116455078125, 0.05926513671875, 0.138916015625, 0.08447265625, 0.0743408203125, ...
embed
14159688_c0
14159688
haskell
0
Title: No stride function Problem title: No stride function Tags: list, haskell Problem: No stride function I recently needed to stride a list in order to peek out only some elements. It’s sorta a filter function, but it’s not so simple. But first, here what a stride is. Striding a list – or any traversable type – is t...
No stride function No stride function list haskell Data.DList Data.List Num No stride function I recently needed to stride a list in order to peek out only some elements. It’s sorta a filter function, but it’s not so simple. But first, here what a stride is. Striding a list – or any traversable type – is the same thing...
[ -0.0208740234375, 0.00885009765625, -0.000576019287109375, 0.0034332275390625, 0.011474609375, 0.025146484375, 0.00396728515625, -0.00408935546875, -0.0038299560546875, -0.01513671875, -0.00347900390625, 0.00830078125, -0.0264892578125, 0.020263671875, -0.0079345703125, 0.0100708007812...
[ 438, 104310, 13, 32354, 5303, 1556, 142508, 11809, 1419, 154663, 52782, 44841, 280, 343, 1810, 4734, 80854, 127550, 46312, 8781, 2367, 10, 83, 73425, 6238, 37317, 2886, 10644, 5701, 13580, 18344, 45, 39719, 195409, 435, 34292, 39580, 5773, ...
[ 0.16015625, 0.254150390625, 0.214599609375, 0.2332763671875, 0.2139892578125, 0.1153564453125, 0.218994140625, 0.1246337890625, 0.145263671875, 0.17236328125, 0.1407470703125, 0.0426025390625, 0.1004638671875, 0.1171875, 0.06793212890625, 0.063232421875, 0.1385498046875, 0.00213623...
embed
17254057_c0
17254057
haskell
0
Title: Constraint kinds: Pass multiple constraints Problem title: Constraint kinds: Pass multiple constraints Tags: haskell, constraint-kinds Problem: Constraint kinds: Pass multiple constraints When I have a data type like the following in haskell: data A ctx = A (forall a. ctx a => a -> a) Then I can put functions th...
Constraint kinds: Pass multiple constraints Constraint kinds: Pass multiple constraints haskell constraint-kinds Constraint Pass Num Enum Expecting Constraint kinds: Pass multiple constraints When I have a data type like the following in haskell: Then I can put functions that work on values of types of a given class in...
[ -0.0020904541015625, -0.01068115234375, -0.007568359375, 0.01446533203125, 0.005401611328125, -0.0010986328125, -0.010009765625, -0.0242919921875, 0.004608154296875, -0.009765625, -0.021484375, -0.0225830078125, 0.007720947265625, 0.0150146484375, -0.003936767578125, -0.00482177734375,...
[ 1657, 2816, 4288, 8562, 28872, 48716, 158, 1556, 142508, 68347, 52782, 316, 60075, 24762, 2053, 10644, 1884, 25632, 831, 3884, 32354, 4488, 142424, 52895, 34475, 18507, 3934, 903, 50986, 7722, 765, 37842, 22027, 18, 3444, 69201, 29806, 10863,...
[ 0.0657958984375, 0.187744140625, 0.1534423828125, 0.1339111328125, 0.1019287109375, 0.23193359375, 0.1070556640625, 0.1351318359375, 0.235107421875, 0.1065673828125, 0.055877685546875, 0.08575439453125, 0.05413818359375, 0.08740234375, 0.0953369140625, 0.1746826171875, 0.017410278320...
embed
67375858_c1
67375858
haskell
1
}(a, b)\). m Double uniform a b = draw (uniformDistr a b) -- | Draw from a normal distribution. normal :: -- | mean μ Double -> -- | standard deviation σ Double -> -- | \(\sim \mathcal{N}(\mu, \sigma^2)\) m Double normal m s = draw (normalDistr m s) -- | Draw from a gamma distribution. gamma :: -- | shape k Double -> -...
}(a, b)\). m Double uniform a b = draw (uniformDistr a b) -- | Draw from a normal distribution. normal :: -- | mean μ Double -> -- | standard deviation σ Double -> -- | \(\sim \mathcal{N}(\mu, \sigma^2)\) m Double normal m s = draw (normalDistr m s) -- | Draw from a gamma distribution. gamma :: -- | shape k Double -> -...
[ -0.00933837890625, 0.015869140625, -0.0126953125, -0.023681640625, 0.0087890625, 0.0267333984375, -0.0015869140625, -0.01263427734375, 0.007080078125, -0.0172119140625, 0.0029754638671875, -0.007415771484375, 0.01361083984375, -0.01068115234375, -0.01129150390625, -0.0166015625, -0.0...
[ 51912, 11, 4, 876, 41872, 194, 347, 107172, 61514, 10, 2203, 79442, 5980, 5037, 14055, 9297, 4210, 58745, 18186, 434, 1295, 3638, 113068, 1984, 29459, 15247, 33079, 5570, 30170, 2320, 8954, 5072, 839, 561, 20561, 10461, 91, 33176, 87506, ...
[ 0.1375732421875, 0.06561279296875, 0.0203857421875, 0.1676025390625, 0.07257080078125, 0.03143310546875, 0.158447265625, 0.21484375, 0.295166015625, 0.0867919921875, 0.0672607421875, 0.2178955078125, 0.12255859375, 0.21240234375, 0.02508544921875, 0.1846923828125, 0.046234130859375, ...
embed
5886878_c0
5886878
haskell
0
Title: Haskell: The last statement in a &#x27;do&#x27; construct must be an expression Problem title: Haskell: The last statement in a &#x27;do&#x27; construct must be an expression Tags: monads, io, syntax, haskell Problem: Haskell: The last statement in a 'do' construct must be an expression Hey, sorry to dump the er...
Haskell: The last statement in a &#x27;do&#x27; construct must be an expression Haskell: The last statement in a &#x27;do&#x27; construct must be an expression monads io syntax haskell System.Environment System.Directory System.IO Data.List Haskell Node PathNode Float NoNode Show filename:args name:x:y:paths Haskell: T...
[ 0.00179290771484375, -0.006683349609375, -0.0150146484375, 0.0184326171875, 0.00093841552734375, 0.0311279296875, -0.01043701171875, -0.0040283203125, 0.0031890869140625, -0.020751953125, -0.0011749267578125, -0.04443359375, -0.00970458984375, -0.031494140625, -0.0078125, -0.0081176757...
[ 20625, 142508, 4568, 63805, 23, 3768, 246, 64549, 8110, 186, 142, 125195, 2667, 712, 7, 22995, 6002, 1556, 12353, 17780, 154663, 438, 108421, 5021, 112, 38699, 17367, 11435, 11627, 61477, 9351, 425, 53, 128405, 18499, 29191, 18151, 12663, 3...
[ 0.122314453125, 0.2493896484375, 0.23388671875, 0.240234375, 0.0380859375, 0.1173095703125, 0.2174072265625, 0.23291015625, 0.146240234375, 0.043121337890625, 0.069091796875, 0.2467041015625, 0.0859375, 0.104736328125, 0.01361083984375, 0.16015625, 0.0256805419921875, 0.09484863281...
embed
13428522_c0
13428522
haskell
0
Title: Signature for Generic Mutable Vector function Problem title: Signature for Generic Mutable Vector function Tags: mutable, higher-rank-types, haskell Problem: Signature for Generic Mutable Vector function I'm trying to write a generic vector function that takes an immutable vector and returns an immutable vector,...
Signature for Generic Mutable Vector function Signature for Generic Mutable Vector function mutable higher-rank-types haskell Data.Vector.Generic Control.Monad.ST qualified Signature Generic Mutable Vector Data.Vector.Mutable V.thaw V.sum M.write V.unsafeFreeze Signature for Generic Mutable Vector function I'm trying t...
[ -0.003753662109375, 0.01275634765625, -0.027587890625, -0.0223388671875, 0.01519775390625, 0.00089263916015625, -0.017822265625, -0.00909423828125, 0.00193023681640625, -0.0030670166015625, -0.003631591796875, 0.00110626220703125, -0.00799560546875, 0.00469970703125, -0.023193359375, 0...
[ 26729, 141762, 88342, 2758, 22819, 2609, 18770, 32354, 100, 1771, 842, 77546, 36467, 50986, 1556, 142508, 11809, 26455, 135932, 27131, 46674, 712, 8545, 217225, 10685, 310, 3238, 434, 11832, 18781, 309, 115840, 81437, 731, 31577, 33022, 189534,...
[ 0.1295166015625, 0.152099609375, 0.1302490234375, 0.156494140625, 0.1378173828125, 0.197265625, 0.143310546875, 0.176513671875, 0.00421142578125, 0.03607177734375, 0.14990234375, 0.0399169921875, 0.0804443359375, 0.07586669921875, 0.0794677734375, 0.2080078125, 0.09716796875, 0.148...
embed
53957624_c0
53957624
haskell
0
Title: Pretty printing a list vertically in haskell in an interactive session Problem title: Pretty printing a list vertically in haskell in an interactive session Tags: pretty-print, jupyter-notebook, ihaskell, haskell, ghci Problem: Pretty printing a list vertically in haskell in an interactive session In a ghci sess...
Pretty printing a list vertically in haskell in an interactive session Pretty printing a list vertically in haskell in an interactive session pretty-print jupyter-notebook ihaskell haskell ghci Text.PrettyPrint.GenericPretty pprint Pretty Prelude Pretty printing a list vertically in haskell in an interactive session In...
[ 0.000705718994140625, -0.016357421875, 0.0137939453125, 0.003204345703125, -0.0128173828125, 0.0029754638671875, 0.006561279296875, -0.002044677734375, 0.011474609375, 0.0208740234375, -0.00457763671875, -0.027099609375, 0.00787353515625, -0.00616455078125, -0.0233154296875, 0.00885009...
[ 197570, 2448, 1916, 5303, 79259, 538, 1556, 142508, 212398, 56002, 23, 28875, 35662, 1129, 6493, 720, 48345, 14137, 10557, 31380, 318, 24129, 19273, 15145, 112079, 18, 135932, 12259, 1914, 822, 77924, 583, 1884, 28412, 4527, 21455, 43486, 336...
[ 0.265625, 0.177001953125, 0.0233306884765625, 0.1943359375, 0.25439453125, 0.08404541015625, 0.1282958984375, 0.214111328125, 0.156005859375, 0.1427001953125, 0.03955078125, 0.2366943359375, 0.1627197265625, 0.074951171875, 0.0899658203125, 0.111572265625, 0.09588623046875, 0.06188...
embed
29484234_c0
29484234
haskell
0
Title: Remove parenthesis in a haskell statement Problem title: Remove parenthesis in a haskell statement Tags: functional-programming, parentheses, haskell Problem: Remove parenthesis in a haskell statement I'm trying to a bytestring manipulation using folds and appends. Please see the code below. import qualified Dat...
Remove parenthesis in a haskell statement Remove parenthesis in a haskell statement functional-programming parentheses haskell qualified Remove Data.ByteString.Char8 C.ByteString C.append C.pack Couldn SourceByteString Remove parenthesis in a haskell statement I'm trying to a bytestring manipulation using folds and app...
[ -0.00457763671875, 0.01123046875, 0.01507568359375, 0.01068115234375, -0.00830078125, -0.001434326171875, -0.021240234375, 0.00335693359375, 0.007415771484375, -0.0289306640625, 0.01104736328125, -0.021240234375, -0.01611328125, 0.0086669921875, -0.003936767578125, -0.01123046875, -0...
[ 181139, 49129, 160291, 7, 23, 1556, 142508, 63805, 123309, 28966, 35412, 217225, 11809, 75358, 67, 71713, 214, 84068, 1019, 313, 9007, 3611, 29102, 191147, 77641, 390, 91693, 45258, 42822, 136, 114689, 6468, 15190, 211235, 201505, 61924, 33342,...
[ 0.1844482421875, 0.2197265625, 0.2435302734375, 0.10125732421875, 0.0269775390625, 0.17333984375, 0.267333984375, 0.2493896484375, 0.171630859375, 0.08587646484375, 0.2247314453125, 0.187255859375, 0.0682373046875, 0.06109619140625, 0.079833984375, 0.1265869140625, 0.03582763671875, ...
embed
76799152_c1
76799152
haskell
1
term. Now I want to leave quit() ####### Left Chat ####### All looks good, but that program has not terminated, it is just waiting. After "quit()" is sent, I expect clientSender to leave the fix , which I can confirm it does because the left chat message is posted, but I am left hanging UNTIL another user sends a chat...
term. Now I want to leave quit() ####### Left Chat ####### All looks good, but that program has not terminated, it is just waiting. After "quit()" is sent, I expect clientSender to leave the fix , which I can confirm it does because the left chat message is posted, but I am left hanging UNTIL another user sends a chat...
[ 0.027587890625, 0.0126953125, 0.0081787109375, 0.016845703125, 0.00179290771484375, 0.004852294921875, -0.00017452239990234375, -0.0089111328125, 0.01092529296875, -0.032470703125, 0.002227783203125, -0.0072021484375, -0.00323486328125, -0.00469970703125, 0.0206298828125, -0.0022583007...
[ 13579, 14240, 3444, 47, 31358, 569, 18, 132, 187284, 636, 2480, 18032, 3164, 33342, 4127, 1528, 1556, 959, 121011, 1660, 89289, 24372, 3181, 9325, 41206, 23282, 23894, 30022, 39563, 25737, 3245, 26008, 44183, 10756, 214, 89944, 15700, 38937, ...
[ 0.2100830078125, 0.0760498046875, 0.0577392578125, 0.0045166015625, 0.19287109375, 0.144775390625, 0.1156005859375, 0.0833740234375, 0.018707275390625, 0.038360595703125, 0.1343994140625, 0.17236328125, 0.0154571533203125, 0.1181640625, 0.06988525390625, 0.14208984375, 0.016876220703...
embed
68280524_c0
68280524
haskell
0
Title: Can a pattern synonym have a different type signature in each direction, like numeric literals do? Problem title: Can a pattern synonym have a different type signature in each direction, like numeric literals do? Tags: haskell, pattern-synonyms Problem: Can a pattern synonym have a different type signature in ea...
Can a pattern synonym have a different type signature in each direction, like numeric literals do? Can a pattern synonym have a different type signature in each direction, like numeric literals do? haskell pattern-synonyms Can Num LooksLikeFoo Read Show Foo Can a pattern synonym have a different type signature in each ...
[ -0.000080108642578125, 0.0201416015625, -0.0181884765625, 0.01275634765625, -0.0162353515625, -0.000850677490234375, -0.004730224609375, -0.006927490234375, 0, 0.005340576171875, -0.005584716796875, -0.0169677734375, -0.0004749298095703125, -0.0076904296875, 0.00408935546875, 0.0043945...
[ 4171, 103510, 164661, 765, 12921, 10644, 138256, 12638, 48225, 1884, 54744, 15659, 16765, 238, 1556, 142508, 12654, 45757, 52782, 60818, 7, 156607, 27591, 31, 4764, 17367, 9572, 54, 137399, 289, 106, 96819, 11814, 25737, 707, 7108, 105950, 24...
[ 0.1055908203125, 0.25537109375, 0.255859375, 0.0496826171875, 0.164794921875, 0.2142333984375, 0.21826171875, 0.1109619140625, 0.219970703125, 0.03936767578125, 0.15283203125, 0.1400146484375, 0.0784912109375, 0.0200347900390625, 0.105224609375, 0.200439453125, 0.07293701171875, 0....
embed
36866219_c0
36866219
haskell
0
Title: Haskell type mismatch in do block Problem title: Haskell type mismatch in do block Tags: haskell, types, type-mismatch, io Problem: Haskell type mismatch in do block While learning Haskell "for a greater good" (aka to pass the exams on functional languages), I ran into a weird error. I get a Type mismatch error ...
Haskell type mismatch in do block Haskell type mismatch in do block haskell types type-mismatch io System.IO Haskell chaos.hs dictionary.txt ReadMode Handle chaos.hs:12:27 Couldn Expected Bool Actual chaos.hs:14:31 chaos.hs:16:39 Haskell type mismatch in do block While learning Haskell "for a greater good" (aka to pass...
[ 0.01611328125, 0.00182342529296875, 0.00640869140625, 0.0030670166015625, -0.01214599609375, 0.00787353515625, -0.0098876953125, 0.01202392578125, 0.0174560546875, -0.0025787353515625, 0.011962890625, -0.0311279296875, 0.000675201416015625, -0.031494140625, -0.0018310546875, 0.00671386...
[ 20625, 142508, 10644, 1239, 98753, 54, 46389, 23, 1556, 52895, 2179, 22995, 12353, 17780, 156059, 127, 7, 10763, 124326, 4764, 9083, 10639, 20927, 27592, 191147, 60075, 13, 89829, 2460, 929, 100582, 27321, 52080, 2472, 117396, 4127, 27875, 42...
[ 0.1275634765625, 0.21875, 0.21337890625, 0.1177978515625, 0.25537109375, 0.121337890625, 0.1947021484375, 0.0225830078125, 0.10467529296875, 0.1900634765625, 0.093505859375, 0.1536865234375, 0.04547119140625, 0.1439208984375, 0.16162109375, 0.06427001953125, 0.007537841796875, 0.03...
embed
25859627_c1
25859627
haskell
1
4:flag) [_15] rejecting: transformers-compat-0.3.3.4:+two (manual flag can only be changed explicitly) [__0] fail (backjumping, conflict set: lens, transformers, transformers-compat, transformers-compat-0.3.3.4:flag) cabal: Could not resolve dependencies: trying: lens-4.1.2.1 (user goal) trying: transformers-compat-0.3...
-haskell-2.9.0.0 terminfo-0.4.0.0 time-1.4.2 unix-2.7.0.1 xhtml-3000.2.1 index.cache Boolean-0.2.1 MemoTrie-0.6.2 NumInstances-1.3 QuickCheck-2.6 ReadArgs-1.2.1 aeson-0.7.0.4 attoparsec-0.10.4.0 base-unicode-symbols-0.2.2.4 basic-prelude-0.3.8 byteable-0.1.1 comonad-4.2.2 contravariant-0.6.1.1 distributive-0.4.4 dlist-...
[ -0.0084228515625, 0.00823974609375, 0.01007080078125, -0.00286865234375, -0.0021514892578125, -0.0010986328125, -0.0267333984375, -0.0006103515625, -0.00238037109375, 0.0101318359375, 0.0194091796875, 0.0003604888916015625, -0.00311279296875, -0.01513671875, 0.00933837890625, -0.000976...
[ 20, 10557, 142508, 5428, 38331, 99929, 18614, 3584, 121254, 5, 1733, 117904, 51, 4084, 53489, 102014, 7693, 36605, 68107, 63262, 408, 1430, 73783, 34677, 23320, 17443, 31, 74257, 178121, 52782, 116071, 7, 9, 81046, 89038, 202567, 154784, 4764...
[ 0.0316162109375, 0.127197265625, 0.272216796875, 0.081298828125, 0.17431640625, 0.195556640625, 0.1456298828125, 0.205322265625, 0.1275634765625, 0.007110595703125, 0.1510009765625, 0.104248046875, 0.09283447265625, 0.10064697265625, 0.06243896484375, 0.09228515625, 0.1925048828125, ...
embed
50866517_c1
50866517
haskell
1
5} ] These lists of events, one for each trial, will always have a trial number and time, but may have 0, 1, or more of other values, such as Efix in this example. My confusion is about how to generate a csv file from such data where I can have column heads such as trialTime, trialNumber, fixationStartTime, ... , rewSt...
5} ] These lists of events, one for each trial, will always have a trial number and time, but may have 0, 1, or more of other values, such as Efix in this example. My confusion is about how to generate a csv file from such data where I can have column heads such as trialTime, trialNumber, fixationStartTime, ... , rewSt...
[ 0.01220703125, 0.00174713134765625, 0.00154876708984375, 0.04443359375, -0.0123291015625, -0.01361083984375, 0.01513671875, 0.004302978515625, 0.024169921875, 0.01275634765625, -0.0016632080078125, -0.031494140625, 0.013427734375, 0.037109375, -0.011962890625, -0.0235595703125, -0.00...
[ 190, 8152, 32255, 5303, 7, 47353, 1632, 100, 12638, 110324, 11343, 765, 14012, 136, 1733, 1543, 757, 106, 1286, 142424, 241, 55923, 27781, 169463, 3642, 139392, 20763, 334, 11435, 1295, 6044, 2053, 831, 3365, 316, 10336, 70059, 18444, 26278...
[ 0.0185699462890625, 0.0164947509765625, 0.0164794921875, 0.2186279296875, 0.003509521484375, 0.1986083984375, 0.02484130859375, 0.00335693359375, 0.0552978515625, 0.2330322265625, 0.10516357421875, 0.006011962890625, 0.1151123046875, 0.015045166015625, 0.1201171875, 0.005462646484375, ...
embed
4144403_c0
4144403
haskell
0
Title: Converting from a cartesian 3d to spherical 3d coordinate system in haskell Problem title: Converting from a cartesian 3d to spherical 3d coordinate system in haskell Tags: haskell, coordinate-systems Problem: Converting from a cartesian 3d to spherical 3d coordinate system in haskell I'm trying to convert a poi...
Converting from a cartesian 3d to spherical 3d coordinate system in haskell Converting from a cartesian 3d to spherical 3d coordinate system in haskell haskell coordinate-systems a Converting radialDistance3D cartesian3DToPolar3D atan2 RealFloat Possible Converting from a cartesian 3d to spherical 3d coordinate system ...
[ 0.007568359375, 0.01171875, -0.01348876953125, -0.0198974609375, -0.004180908203125, -0.0150146484375, 0.003204345703125, 0.0086669921875, -0.01611328125, -0.0030670166015625, -0.006927490234375, -0.00665283203125, 0.0024871826171875, 0.003387451171875, -0.0084228515625, 0.008117675781...
[ 1657, 814, 1916, 1295, 129912, 3378, 138, 71, 47, 94266, 21533, 176866, 5426, 1556, 142508, 91, 13, 16751, 4567, 14055, 116071, 363, 397, 31, 7192, 320, 99, 66, 304, 5120, 919, 365, 257, 115861, 23, 31577, 96760, 6275, 2060, 55112, 318,...
[ 0.057281494140625, 0.1402587890625, 0.015960693359375, 0.058074951171875, 0.16357421875, 0.1319580078125, 0.1453857421875, 0.1207275390625, 0.07958984375, 0.1732177734375, 0.1455078125, 0.2015380859375, 0.1661376953125, 0.1304931640625, 0.237548828125, 0.008270263671875, 0.0146331787...
embed
58082889_c0
58082889
haskell
0
Title: Why does Data.Tree.Tree not have a monoid instance? Problem title: Why does Data.Tree.Tree not have a monoid instance? Tags: haskell Problem: Why does Data.Tree.Tree not have a monoid instance? I realise that the answer may be that there are multiple valid such instances (as is the case for e.g. integers; sum, p...
Why does Data.Tree.Tree not have a monoid instance? Why does Data.Tree.Tree not have a monoid instance? haskell Why Data.Tree.Tree Applicative Monoid Why does Data.Tree.Tree not have a monoid instance? I realise that the answer may be that there are multiple valid such instances (as is the case for e.g. integers; sum, ...
[ 0.0087890625, -0.005096435546875, 0.006927490234375, 0.0240478515625, 0.0150146484375, 0.0184326171875, -0.00019741058349609375, -0.01007080078125, 0.002899169921875, -0.02880859375, 0.00083160400390625, -0.0146484375, -0.00799560546875, 0.0191650390625, -0.005035400390625, -0.00179290...
[ 44084, 11809, 62731, 13, 959, 765, 22460, 532, 110527, 10, 1556, 142508, 5659, 11048, 4935, 77879, 14602, 48716, 35604, 892, 26255, 10554, 12996, 177357, 29479, 101758, 53201, 2499, 41816, 15400, 1295, 116419, 6044, 10750, 5809, 11814, 2667, ...
[ 0.0833740234375, 0.1580810546875, 0.2042236328125, 0.04058837890625, 0.09466552734375, 0.041351318359375, 0.197509765625, 0.20068359375, 0.265869140625, 0.0264892578125, 0.08758544921875, 0.2132568359375, 0.07696533203125, 0.131591796875, 0.105712890625, 0.19482421875, 0.003692626953...
embed
54117352_c0
54117352
haskell
0
Title: Unable to understand how State Monad get it&#x27;s state in this code Problem title: Unable to understand how State Monad get it&#x27;s state in this code Tags: monads, haskell, state-monad Problem: Unable to understand how State Monad get it's state in this code I kind of understand State Monad's usefulness it ...
Unable to understand how State Monad get it&#x27;s state in this code Unable to understand how State Monad get it&#x27;s state in this code monads haskell state-monad Unable State Monad Integer FizzBuzz Buzz Fizz mapM_ Unable to understand how State Monad get it's state in this code I kind of understand State Monad's u...
[ -0.01263427734375, -0.000591278076171875, -0.00396728515625, -0.00077056884765625, -0.006805419921875, 0.0279541015625, 0.0091552734375, -0.0012359619140625, 0.01318359375, -0.00848388671875, 0.0242919921875, -0.00799560546875, -0.0033111572265625, 0.0028533935546875, -0.016845703125, ...
[ 2886, 28219, 3642, 22836, 60331, 71, 2046, 3768, 11341, 903, 18151, 2667, 712, 1556, 142508, 3796, 44401, 94610, 7235, 13894, 188272, 169, 22288, 594, 442, 80234, 175648, 3525, 142424, 243228, 71924, 25632, 63134, 100094, 7440, 15190, 4332, 7...
[ 0.1146240234375, 0.1402587890625, 0.0643310546875, 0.1871337890625, 0.188720703125, 0.1318359375, 0.10601806640625, 0.051788330078125, 0.20947265625, 0.0284576416015625, 0.1285400390625, 0.0704345703125, 0.092041015625, 0.05926513671875, 0.18603515625, 0.0986328125, 0.09332275390625,...
embed
21069522_c0
21069522
haskell
0
Title: Turn a textfield and button clicks into `UI (Event String)` Problem title: Turn a textfield and button clicks into `UI (Event String)` Tags: threepenny-gui, haskell, frp Problem: Turn a textfield and button clicks into `UI (Event String)` I'm trying to use threepenny to learn about FRP. I'd like to generate even...
Turn a textfield and button clicks into `UI (Event String)` Turn a textfield and button clicks into `UI (Event String)` threepenny-gui haskell frp Turn Event Element UI.click Ash Turn a textfield and button clicks into `UI (Event String)` I'm trying to use threepenny to learn about FRP. I'd like to generate events that...
[ -0.00787353515625, 0.000850677490234375, 0.01324462890625, -0.0159912109375, -0.0032196044921875, -0.002960205078125, 0.0218505859375, -0.006256103515625, -0.005126953125, -0.055908203125, 0.00396728515625, 0.0025177001953125, -0.0022125244140625, 0.0308837890625, 0.007232666015625, -0...
[ 41961, 7986, 28394, 136, 77679, 18158, 3934, 33457, 192134, 23351, 214, 17262, 2278, 299, 17086, 1556, 142508, 14119, 254, 36943, 48325, 111481, 123278, 39055, 10, 30698, 563, 38796, 1884, 139392, 47353, 70541, 38937, 107730, 11476, 12638, 1733...
[ 0.1754150390625, 0.1585693359375, 0.23388671875, 0.025177001953125, 0.169189453125, 0.2269287109375, 0.1046142578125, 0.2169189453125, 0.200439453125, 0.1690673828125, 0.1058349609375, 0.1678466796875, 0.1783447265625, 0.1895751953125, 0.13525390625, 0.091064453125, 0.202880859375, ...
embed
47914587_c1
47914587
haskell
1
-potential-instances to see them all) • In the first argument of ‘Just’, namely ‘0’ In the first argument of ‘inc'’, namely ‘(Just 0)’ In the second argument of ‘($)’, namely ‘inc' (Just 0)’ maybenum.hs:14:16: error: • Ambiguous type variable ‘a0’ arising from the literal ‘5’ prevents the constraint ‘(Num a0)’ from bei...
-potential-instances to see them all) • In the first argument of ‘Just’, namely ‘0’ In the first argument of ‘inc'’, namely ‘(Just 0)’ In the second argument of ‘($)’, namely ‘inc' (Just 0)’ maybenum.hs:14:16: error: • Ambiguous type variable ‘a0’ arising from the literal ‘5’ prevents the constraint ‘(Num a0)’ from bei...
[ -0.01104736328125, 0.00274658203125, 0.0198974609375, 0.01373291015625, 0.007568359375, 0.0306396484375, -0.011962890625, 0.0019989013671875, 0.0002460479736328125, -0.00421142578125, -0.0242919921875, -0.0198974609375, 0.0159912109375, 0.00396728515625, 0.01031494140625, -0.0043334960...
[ 20, 7804, 80973, 73, 116071, 7, 47, 1957, 2856, 756, 768, 360, 5117, 10750, 127794, 110987, 2389, 111, 38893, 757, 17932, 4369, 51139, 2606, 127, 22635, 22354, 18499, 10250, 12282, 10644, 77336, 11, 187, 72219, 1295, 70, 15659, 289, 758, ...
[ 0.0199432373046875, 0.1866455078125, 0.237060546875, 0.1416015625, 0.27734375, 0.11962890625, 0.0294189453125, 0.1566162109375, 0.055694580078125, 0.0994873046875, 0.06988525390625, 0.0543212890625, 0.1107177734375, 0.25146484375, 0.2308349609375, 0.07305908203125, 0.15673828125, 0...
embed
9757310_c0
9757310
haskell
0
Title: Irrefutable pattern inside an action? Problem title: Irrefutable pattern inside an action? Tags: haskell Problem: Irrefutable pattern inside an action? In my application several threads modify the same data. Whilst under "normal" circumstances there will always be a messages, I found out that with very large amo...
Irrefutable pattern inside an action? Irrefutable pattern inside an action? haskell Irrefutable Socket POSIXTime TPSQ TMap Map.delete PSQ.delete PSQ.insert Map.insert Just Map.lookup B.pack Nothing Irrefutable pattern inside an action? In my application several threads modify the same data. Whilst under "normal" circum...
[ -0.02001953125, 0.00994873046875, 0.001068115234375, -0.013427734375, 0.00180816650390625, -0.01116943359375, 0.00689697265625, 0.0146484375, 0.00830078125, -0.0203857421875, 0.0322265625, 0.0240478515625, 0.006378173828125, -0.00101470947265625, 0.0225830078125, 0.01190185546875, -0...
[ 6921, 107, 3125, 22819, 103510, 46132, 22631, 1556, 142508, 1061, 27853, 54602, 21487, 70059, 9059, 2737, 166179, 42719, 8520, 7940, 33657, 64747, 335, 29102, 182747, 142, 38415, 40368, 86997, 2811, 40383, 5701, 2053, 33176, 170420, 11343, 8991...
[ 0.047027587890625, 0.0687255859375, 0.1622314453125, 0.1265869140625, 0.267333984375, 0.1783447265625, 0.2269287109375, 0.0924072265625, 0.223388671875, 0.06060791015625, 0.1414794921875, 0.076416015625, 0.063232421875, 0.1649169921875, 0.0732421875, 0.14111328125, 0.138427734375, ...
embed
65135114_c0
65135114
haskell
0
Title: Change List of Strings to List of Integer Problem title: Change List of Strings to List of Integer Tags: haskell Problem: Change List of Strings to List of Integer First of all, sorry for my bad english. I'm not native and try my best :) Now to the problem: i have a list of Strings and want to convert them to a ...
Change List of Strings to List of Integer Change List of Strings to List of Integer haskell Change List Strings Integer T.pack HtmlModule.h1 Author Result Change List of Strings to List of Integer First of all, sorry for my bad english. I'm not native and try my best :) Now to the problem: i have a list of Strings and ...
[ -0.020751953125, -0.01043701171875, -0.00167083740234375, 0.01507568359375, -0.01556396484375, 0.032958984375, 0.00135040283203125, -0.021240234375, 0.00640869140625, -0.015625, 0.000743865966796875, -0.037109375, 0.003936767578125, 0.037109375, 0.02490234375, -0.0166015625, 0.017333...
[ 87377, 32036, 111, 23351, 5180, 47, 44401, 1556, 142508, 384, 29102, 18, 7237, 91616, 8782, 127, 418, 61804, 126684, 59090, 6494, 175457, 39, 959, 24, 4935, 9790, 2965, 14240, 2967, 765, 5303, 3444, 96760, 2856, 892, 26255, 15649, 101935, ...
[ 0.1993408203125, 0.2264404296875, 0.11279296875, 0.241943359375, 0.1868896484375, 0.1724853515625, 0.25634765625, 0.138671875, 0.2227783203125, 0.06024169921875, 0.170654296875, 0.10186767578125, 0.1551513671875, 0.06689453125, 0.05889892578125, 0.05438232421875, 0.027557373046875, ...
embed
67221513_c1
67221513
haskell
1
ocolateyInstall.ps1'. See log for details. **ghc messages:** Attempt to get headers for https://downloads.haskell.org/~ghc/9.0.1/ghc-9.0.1-x86_64-unknown-mingw32.tar.xz failed. The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://downloads.haskell.org/~ghc/9.0.1/ghc-9.0.1-x86_64-unkno...
ocolateyInstall.ps1'. See log for details. **ghc messages:** Attempt to get headers for https://downloads.haskell.org/~ghc/9.0.1/ghc-9.0.1-x86_64-unknown-mingw32.tar.xz failed. The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://downloads.haskell.org/~ghc/9.0.1/ghc-9.0.1-x86_64-unkno...
[ -0.0019989013671875, 0.013916015625, 0.0274658203125, -0.01275634765625, 0.006256103515625, -0.0184326171875, -0.0142822265625, -0.0301513671875, -0.00970458984375, 0.0308837890625, 0.0118408203125, -0.0240478515625, -0.006622314453125, 0.00726318359375, 0.0020294189453125, 0.006286621...
[ 36, 21854, 67, 53, 4153, 92621, 6423, 418, 6872, 12684, 41653, 9486, 238, 89914, 34224, 2046, 10336, 1314, 61754, 10557, 142508, 1478, 22364, 102014, 15205, 15276, 13307, 309, 69723, 14578, 434, 6460, 867, 425, 169, 165523, 148814, 11435, 1...
[ 0.07421875, 0.169677734375, 0.1331787109375, 0.1678466796875, 0.04449462890625, 0.1929931640625, 0.1722412109375, 0.1427001953125, 0.028961181640625, 0.06353759765625, 0.003997802734375, 0.175537109375, 0.1900634765625, 0.1270751953125, 0.121826171875, 0.020843505859375, 0.1590576171...
embed
32997325_c0
32997325
haskell
0
Title: How fast is Haskell pattern matching? Problem title: How fast is Haskell pattern matching? Tags: function, haskell, performance, pattern-matching Problem: How fast is Haskell pattern matching? We mostly use data to store values, like this: data Sex = Male | Female data Person = Person {name :: String, age :: Int...
How fast is Haskell pattern matching? How fast is Haskell pattern matching? function haskell performance pattern-matching How Haskell Sex Male Female Person Charlie LANGUAGE GADTs Rank2Types Data Name Age How fast is Haskell pattern matching? We mostly use data to store values, like this: And now we have nice functions...
[ 0.0015106201171875, 0.00445556640625, 0.01214599609375, 0.0029754638671875, 0.00518798828125, -0.0042724609375, -0.02197265625, -0.0024261474609375, 0.0135498046875, -0.0233154296875, 0.0152587890625, -0.017578125, -0.00982666015625, -0.0194091796875, 0.00970458984375, -0.013916015625,...
[ 11249, 4271, 83, 20625, 142508, 103510, 14858, 214, 32354, 1556, 23718, 98753, 3621, 35220, 213342, 15270, 71305, 98064, 23749, 41072, 134405, 304, 196707, 11809, 15757, 72944, 153161, 4527, 2053, 47, 4343, 142424, 26267, 9351, 32070, 1100, 204...
[ 0.09014892578125, 0.19873046875, 0.073974609375, 0.1646728515625, 0.26123046875, 0.2413330078125, 0.24951171875, 0.134765625, 0.144775390625, 0.1522216796875, 0.158203125, 0.2353515625, 0.18017578125, 0.08428955078125, 0.124755859375, 0.06231689453125, 0.148193359375, 0.08618164062...
embed
17629275_c0
17629275
haskell
0
Title: cps in &quot;yet another haskell turorial&quot; Problem title: cps in &quot;yet another haskell turorial&quot; Tags: haskell Problem: cps in "yet another haskell turorial" I'm learning haskell by reading the book "Yet Another Haskell Tutorial", and I encounter a problem when comes to the contiuation passing styl...
cps in &quot;yet another haskell turorial&quot; cps in &quot;yet another haskell turorial&quot; haskell x:xs CPS Main Occurs t10 Expected Actual cps in "yet another haskell turorial" I'm learning haskell by reading the book "Yet Another Haskell Tutorial", and I encounter a problem when comes to the contiuation passing ...
[ -0.004669189453125, 0.0177001953125, 0.01251220703125, -0.0103759765625, 0.0040283203125, -0.0186767578125, -0.004669189453125, -0.00457763671875, -0.005462646484375, -0.036865234375, -0.0111083984375, -0.033935546875, -0.0242919921875, 0.01025390625, 0.006927490234375, -0.021118164062...
[ 501, 6423, 23, 25983, 15700, 1556, 142508, 2130, 3929, 289, 1022, 12, 425, 313, 9059, 12321, 180, 48650, 963, 60075, 13, 100582, 52080, 16454, 12877, 126, 116267, 20625, 183447, 190647, 2967, 158, 35663, 2320, 452, 6953, 20623, 76199, 42822...
[ 0.08209228515625, 0.25927734375, 0.0673828125, 0.083251953125, 0.1201171875, 0.108154296875, 0.20068359375, 0.06854248046875, 0.1126708984375, 0.0751953125, 0.0270843505859375, 0.00384521484375, 0.044281005859375, 0.07086181640625, 0.274169921875, 0.06744384765625, 0.009521484375, ...
embed
27549397_c0
27549397
haskell
0
Title: Creating a new entry in a sorted list in Haskell Problem title: Creating a new entry in a sorted list in Haskell Tags: haskell, list, sorting Problem: Creating a new entry in a sorted list in Haskell I implemented following code to make a new entry in a list of persons (including name and birth date). The List i...
Creating a new entry in a sorted list in Haskell Creating a new entry in a sorted list in Haskell haskell list sorting Creating Haskell Lastname Firstname y:ys x:y:ys Creating a new entry in a sorted list in Haskell I implemented following code to make a new entry in a list of persons (including name and birth date). T...
[ 0.0140380859375, 0.002166748046875, 0.0184326171875, 0.00445556640625, -0.002105712890625, 0.0157470703125, -0.01177978515625, 0.007476806640625, 0.00750732421875, 0.005218505859375, 0.000484466552734375, -0.00970458984375, 0.01318359375, 0.006011962890625, -0.00372314453125, 0.0019149...
[ 56781, 3525, 42805, 23, 17497, 71, 5303, 20625, 142508, 1556, 12096, 21672, 11627, 23972, 113, 4778, 53, 29479, 25632, 18151, 3249, 3445, 9351, 127319, 5622, 32036, 229231, 76104, 214, 5701, 61924, 32354, 42671, 19, 15504, 10932, 43240, 16912...
[ 0.136474609375, 0.124755859375, 0.2130126953125, 0.041015625, 0.1922607421875, 0.0775146484375, 0.1893310546875, 0.1373291015625, 0.2242431640625, 0.12353515625, 0.1763916015625, 0.07342529296875, 0.1304931640625, 0.0293426513671875, 0.0143890380859375, 0.055450439453125, 0.021163940...
embed
66071778_c1
66071778
haskell
1
there's a way to lift a local :: (r -> r) -> m a -> m a to this. What would be a reasonable implementation for local for this instance? Minimal Complete example: {-# LANGUAGE FlexibleInstances, MultiParamTypeClasses, UndecidableInstances, LambdaCase, FlexibleContexts #-} module Tmpfundep where import Control.Monad.Rea...
there's a way to lift a local :: (r -> r) -> m a -> m a to this. What would be a reasonable implementation for local for this instance? Minimal Complete example: {-# LANGUAGE FlexibleInstances, MultiParamTypeClasses, UndecidableInstances, LambdaCase, FlexibleContexts #-} module Tmpfundep where import Control.Monad.Rea...
[ -0.0198974609375, 0.0059814453125, 0.0035858154296875, -0.006072998046875, 0.0000820159912109375, -0.0152587890625, -0.0162353515625, -0.029052734375, -0.01007080078125, -0.041015625, 0.00860595703125, 0.02880859375, 0, -0.006927490234375, 0.0269775390625, -0.020751953125, -0.0190429...
[ 2685, 10, 3917, 47, 60520, 4000, 1984, 42, 33079, 1690, 347, 903, 2806, 169022, 208124, 110527, 119305, 168318, 27781, 3358, 98064, 75930, 180842, 2661, 116071, 19335, 55292, 196707, 140803, 79912, 24750, 122930, 85, 441, 6991, 22829, 88996, ...
[ 0.02398681640625, 0.1644287109375, 0.1182861328125, 0.153076171875, 0.2841796875, 0.262451171875, 0.168701171875, 0.1241455078125, 0.125732421875, 0.1346435546875, 0.140869140625, 0.1475830078125, 0.043548583984375, 0.155029296875, 0.1900634765625, 0.2239990234375, 0.173583984375, ...
embed
15079916_c0
15079916
haskell
0
Title: Haskell: Data Type Problem title: Haskell: Data Type Tags: ghci, haskell, types, instance Problem: Haskell: Data Type I declare my data to be like this: data Op = Plus | Minus | Mul | Div | Pow deriving (Eq, Show) type Name = String data Variable a = Variable Name (Expression a) deriving (Eq, Show) data Declarat...
Haskell: Data Type Haskell: Data Type ghci haskell types instance Haskell Data Type Plus Minus Mul Div Pow Show Name Variable Expression Declaration Number Simple var1 Num Haskell: Data Type I declare my data to be like this: In GHCi, I want to create a instance of Declaration by typing: Declaration Variable "var1" 2+3...
[ 0.026123046875, 0.0096435546875, 0.008056640625, 0.02392578125, 0.0128173828125, 0.01141357421875, 0.01458740234375, -0.0027008056640625, 0.0079345703125, -0.00830078125, -0.0203857421875, -0.037353515625, 0.01055908203125, -0.0084228515625, -0.00885009765625, 0.00323486328125, 0.013...
[ 20625, 142508, 11809, 60457, 12, 31380, 318, 1556, 52895, 110527, 8183, 24169, 21442, 53026, 53982, 17367, 15757, 84572, 2886, 25129, 98501, 103332, 60552, 285, 418, 52782, 159978, 2053, 1884, 903, 527, 73265, 14, 3444, 28282, 10, 1363, 11417...
[ 0.1441650390625, 0.23095703125, 0.09222412109375, 0.1988525390625, 0.005462646484375, 0.11181640625, 0.1304931640625, 0.1298828125, 0.1402587890625, 0.263427734375, 0.1156005859375, 0.154296875, 0.130126953125, 0.141845703125, 0.156005859375, 0.08251953125, 0.04754638671875, 0.1473...
embed
18290416_c0
18290416
haskell
0
Title: path for installation binaries for cabal Problem title: path for installation binaries for cabal Tags: path, haskell, cabal, haskell-snap-framework Problem: path for installation binaries for cabal I am following the instructions for installing the snap framework for Haskell: http://janrain.com/blog/tutorial-bui...
path for installation binaries for cabal path for installation binaries for cabal path haskell cabal haskell-snap-framework janrain.com Users USER NAME Library Haskell ghc-7.6.3 snap-0.12.1 trac.haskell.org path for installation binaries for cabal I am following the instructions for installing the snap framework for Ha...
[ 0.0264892578125, 0.002593994140625, 0.004638671875, 0.01446533203125, -0.03271484375, 0.00836181640625, -0.005615234375, -0.00185394287109375, -0.0023345947265625, -0.006072998046875, -0.0137939453125, -0.0123291015625, -0.036865234375, 0.0035247802734375, -0.006591796875, 0.0051879882...
[ 60875, 100, 59720, 23035, 10484, 109524, 1556, 142508, 7, 10957, 160328, 18244, 50256, 53400, 103835, 20625, 31380, 238, 16709, 200768, 76685, 102014, 68107, 39989, 10557, 1478, 25632, 167934, 20600, 170846, 71924, 113054, 87109, 75101, 959, 1403...
[ 0.2481689453125, 0.082275390625, 0.2138671875, 0.2232666015625, 0.1502685546875, 0.27734375, 0.126708984375, 0.24462890625, 0.04058837890625, 0.244140625, 0.14990234375, 0.0838623046875, 0.1539306640625, 0.039825439453125, 0.126220703125, 0.14111328125, 0.067138671875, 0.0325317382...
embed
52431887_c1
52431887
haskell
1
) = (y, a, b, c) apply f (y, a, b, c) = f y a b c -- | Calculate the gravitational force vector acted on p1 by p2 getForce :: Particle -> Particle -> Vec getForce p1 p2 | p1 == p2 = scalar 0.0 | otherwise = scalar (g * (m1 * m2 / r^2)) * unit where m1 = mass p1 m2 = mass p2 r1 = position p1 r2 = position p2 dr = r2 - r...
) = (y, a, b, c) apply f (y, a, b, c) = f y a b c -- | Calculate the gravitational force vector acted on p1 by p2 getForce :: Particle -> Particle -> Vec getForce p1 p2 | p1 == p2 = scalar 0.0 | otherwise = scalar (g * (m1 * m2 / r^2)) * unit where m1 = mass p1 m2 = mass p2 r1 = position p1 r2 = position p2 dr = r2 - r...
[ -0.0152587890625, 0.0242919921875, -0.01361083984375, 0.0155029296875, 0.0162353515625, -0.01141357421875, -0.0179443359375, 0.003173828125, 0.00518798828125, -0.016357421875, -0.004486083984375, 0.036376953125, -0.031982421875, -0.01904296875, -0.0029449462890625, -0.0087890625, -0....
[ 1388, 2203, 53, 10, 876, 501, 59911, 1238, 113, 4210, 58745, 212467, 2182, 137352, 43315, 37772, 173, 18770, 89829, 98, 915, 418, 304, 2046, 18537, 329, 1984, 26147, 52884, 69112, 146232, 89678, 120262, 177, 25072, 46889, 19069, 3568, 22599...
[ 0.09716796875, 0.0933837890625, 0.10418701171875, 0.1053466796875, 0.110595703125, 0.0867919921875, 0.1729736328125, 0.1444091796875, 0.0662841796875, 0.1070556640625, 0.07183837890625, 0.2235107421875, 0.09014892578125, 0.237548828125, 0.1405029296875, 0.216064453125, 0.16162109375,...
embed
7850389_c0
7850389
haskell
0
Title: Can reactive-banana handle cycles in the network? Problem title: Can reactive-banana handle cycles in the network? Tags: haskell, reactive-banana, reactive-programming Problem: Can reactive-banana handle cycles in the network? We have code like this: guiState :: Discrete GuiState guiState = stepperD (GuiState []...
Can reactive-banana handle cycles in the network? Can reactive-banana handle cycles in the network? haskell reactive-banana reactive-programming Can Discrete GuiState Event Can reactive-banana handle cycles in the network? We have code like this: You can see that evtAutoLayout feeds into guiState which feeds into evtAu...
[ -0.000247955322265625, 0.01141357421875, 0.006591796875, 0.01483154296875, -0.001983642578125, 0.00628662109375, 0.001617431640625, 0.00543212890625, 0.0098876953125, -0.04736328125, -0.01416015625, -0.007659912109375, -0.02099609375, 0.03759765625, 0.006378173828125, 0.00836181640625,...
[ 4171, 456, 71232, 105281, 11, 34831, 105823, 7, 23, 33120, 1556, 142508, 28966, 53092, 38417, 53513, 135206, 36943, 9, 18151, 1957, 75743, 38115, 2729, 53, 6056, 61590, 3934, 17086, 10, 2685, 91755, 4396, 108802, 126596, 11341, 58359, 155159,...
[ 0.097412109375, 0.14111328125, 0.2279052734375, 0.183349609375, 0.177001953125, 0.18408203125, 0.2332763671875, 0.07489013671875, 0.042144775390625, 0.1522216796875, 0.09014892578125, 0.1800537109375, 0.07421875, 0.0908203125, 0.1512451171875, 0.151611328125, 0.1561279296875, 0.144...
embed
30520219_c1
30520219
haskell
1
== Nil then "printed" else "not printed") I see that the following solution works: data List a = Nil | Cons a (List a) instance Eq a => Eq (List a) where (Cons a b) == (Cons c d) = (a == c) && (b == d) Nil == Nil = True _ == _ = False testfunction = Nil :: List Int main = print (if testfunction == Nil then "printed" e...
== Nil then "printed" else "not printed") I see that the following solution works: data List a = Nil | Cons a (List a) instance Eq a => Eq (List a) where (Cons a b) == (Cons c d) = (a == c) && (b == d) Nil == Nil = True _ == _ = False testfunction = Nil :: List Int main = print (if testfunction == Nil then "printed" e...
[ -0.0037078857421875, 0.01141357421875, 0.03515625, -0.005279541015625, 0.01324462890625, 0.0157470703125, -0.0031585693359375, -0.0191650390625, -0.01043701171875, 0.01287841796875, 0.0026092529296875, 0.00860595703125, 0.016845703125, 0.00156402587890625, -0.00183868408203125, -0.0060...
[ 69112, 77175, 7068, 35662, 297, 37076, 10869, 28412, 1957, 25632, 29806, 43240, 2053, 32036, 10, 2203, 39215, 154663, 110527, 864, 11935, 876, 104, 1230, 87599, 22225, 3034, 137175, 360, 18, 5201, 3190, 959, 4488, 23009, 80934, 241, 647, 71...
[ 0.2078857421875, 0.288330078125, 0.02685546875, 0.18798828125, 0.107177734375, 0.08184814453125, 0.113037109375, 0.1785888671875, 0.00347900390625, 0.048492431640625, 0.110595703125, 0.098876953125, 0.1424560546875, 0.1639404296875, 0.1199951171875, 0.051055908203125, 0.1768798828125...
embed
61447856_c0
61447856
haskell
0
Title: How to run a specific Haskell code in Windows? Problem title: How to run a specific Haskell code in Windows? Tags: haskell Problem: How to run a specific Haskell code in Windows? I had installed Haskell compiler. I use CMD, I type ghci and I getting the Haskell prompt Prelude> All the following examples works: P...
How to run a specific Haskell code in Windows? How to run a specific Haskell code in Windows? haskell Data.Numbers.Primes How Haskell Windows Prelude Hello World n-1 binom.hs Compiling Main binom.o binom.hs:1:1 How to run a specific Haskell code in Windows? I had installed Haskell compiler. I use CMD, I type ghci and I...
[ -0.0169677734375, -0.0002727508544921875, 0.01318359375, 0.017822265625, 0.00701904296875, 0.00848388671875, 0.0006866455078125, -0.01446533203125, -0.012939453125, -0.035400390625, -0.0062255859375, -0.025146484375, 0.006500244140625, -0.0174560546875, 0.004180908203125, 0.00052642822...
[ 11249, 47, 11675, 10, 29458, 20625, 142508, 18151, 23, 3773, 1556, 11809, 18444, 26278, 145111, 90, 1914, 822, 112, 35378, 6661, 653, 5759, 333, 1687, 127, 15612, 49725, 12321, 31, 19721, 20600, 9969, 34759, 4527, 44644, 10644, 31380, 318, ...
[ 0.0941162109375, 0.05169677734375, 0.2161865234375, 0.043914794921875, 0.254150390625, 0.1866455078125, 0.2998046875, 0.2332763671875, 0.1383056640625, 0.22412109375, 0.1474609375, 0.1212158203125, 0.10321044921875, 0.1595458984375, 0.1163330078125, 0.04876708984375, 0.10986328125, ...
embed