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
5690523_c0
5690523
haskell
0
Title: Understanding Haskell postgresql connection function type error Problem title: Understanding Haskell postgresql connection function type error Tags: haskell, postgresql Problem: Understanding Haskell postgresql connection function type error I am java programmer reading and learning haskell now. I am trying writ...
Understanding Haskell postgresql connection function type error Understanding Haskell postgresql connection function type error haskell postgresql Database.HDBC Database.HDBC.PostgreSQL Database.HaskellDB Database.HaskellDB.HDBC.PostgreSQL Understanding Haskell Database Connection db1 user1 Couldn Understanding Haskell...
[ 0.01239013671875, 0.005889892578125, -0.01226806640625, 0.010009765625, 0.003753662109375, 0.01556396484375, -0.023193359375, -0.0174560546875, -0.0022735595703125, -0.032470703125, -0.00186920166015625, -0.060546875, -0.00787353515625, -0.028076171875, -0.01318359375, -0.0062561035156...
[ 9626, 144057, 20625, 142508, 1305, 17562, 99247, 94878, 32354, 10644, 18499, 1556, 187781, 16291, 24318, 49411, 7134, 158897, 6495, 39463, 62448, 40041, 418, 38937, 191147, 79, 330, 77848, 16454, 52080, 31577, 33022, 8781, 1528, 37067, 2837, 13...
[ 0.1102294921875, 0.076416015625, 0.1695556640625, 0.27001953125, 0.1275634765625, 0.220703125, 0.2161865234375, 0.17626953125, 0.1552734375, 0.207275390625, 0.176513671875, 0.146484375, 0.133544921875, 0.1046142578125, 0.18359375, 0.016510009765625, 0.14892578125, 0.16943359375, ...
embed
52260416_c0
52260416
haskell
0
Title: decode json based on the value of a field with Data.Aeson Problem title: decode json based on the value of a field with Data.Aeson Tags: haskell Problem: decode json based on the value of a field with Data.Aeson How would you implement the FromJson of this Sum Type ? data CommandRequest = CreateWorkspace {comman...
decode json based on the value of a field with Data.Aeson decode json based on the value of a field with Data.Aeson haskell Data.Aeson CommandRequest CreateWorkspace UUID IntroduceIdea ToJSON FromJSON Object Just Command Nothing decode json based on the value of a field with Data.Aeson How would you implement the FromJ...
[ -0.01348876953125, 0.0186767578125, -0.0032806396484375, 0.0341796875, -0.006256103515625, 0.01104736328125, -0.0157470703125, 0.0142822265625, -0.004486083984375, 0.00592041015625, -0.00112152099609375, 0.00628662109375, 0.0106201171875, -0.01318359375, -0.01025390625, -0.002624511718...
[ 8, 40899, 1647, 1681, 35509, 98, 34292, 44457, 11809, 284, 90, 191, 678, 1556, 142508, 123573, 75616, 151313, 108259, 65421, 91916, 7146, 44891, 112, 717, 1375, 58627, 28090, 134549, 9563, 182747, 2806, 29479, 903, 36335, 60457, 75101, 163612...
[ 0.1480712890625, 0.2081298828125, 0.1239013671875, 0.2156982421875, 0.1192626953125, 0.0003662109375, 0.1744384765625, 0.1949462890625, 0.1263427734375, 0.057830810546875, 0.0919189453125, 0.181396484375, 0.0242919921875, 0.0826416015625, 0.155029296875, 0.1578369140625, 0.0307922363...
embed
46134228_c0
46134228
haskell
0
Title: haskell-stack: main module to load is ambiguous Problem title: haskell-stack: main module to load is ambiguous Tags: ghci, haskell, haskell-stack Problem: haskell-stack: main module to load is ambiguous I have multiple executables with non-conflicting names. Yet stack ghci complains that the main module is ambig...
haskell-stack: main module to load is ambiguous haskell-stack: main module to load is ambiguous ghci haskell haskell-stack ambig.cabal:executable ambig.cabal Apple.hs Apple.apple Banana.hs Banana.banana Apple.hs:module Apple Apple.hs:apple Banana.hs:module Banana Banana.hs:banana Candidates Version Git Simple Haskell20...
[ 0.00634765625, 0.0001239776611328125, -0.017822265625, 0.0267333984375, -0.00138092041015625, 0.0069580078125, 0.0162353515625, 0.0186767578125, -0.0037841796875, -0.0198974609375, 0.006927490234375, -0.02001953125, 0.007781982421875, -0.0014495849609375, 0.00506591796875, 0.0157470703...
[ 1556, 142508, 590, 2594, 5201, 88996, 47, 72367, 83, 920, 12282, 31380, 318, 872, 408, 3571, 46480, 1010, 22819, 4129, 127, 9007, 53592, 76, 7, 105281, 11, 83279, 194215, 40647, 217, 60552, 20625, 11436, 10821, 48716, 98927, 13566, 351, 2...
[ 0.115966796875, 0.2149658203125, 0.100830078125, 0.1470947265625, 0.1329345703125, 0.2362060546875, 0.06390380859375, 0.1929931640625, 0.03021240234375, 0.15234375, 0.1982421875, 0.104248046875, 0.116455078125, 0.1280517578125, 0.0626220703125, 0.20166015625, 0.0270233154296875, 0....
embed
30274226_c0
30274226
haskell
0
Title: is my parser lazy? Problem title: is my parser lazy? Tags: ghci, parsing, lazy-evaluation, haskell Problem: is my parser lazy? I'm playing with the functional pearl by Hutton and Meijer ( https://www.cs.nott.ac.uk/~gmh/pearl.pdf ). With the primitive functions defined in it, I've made a very basic csv parser: cs...
is my parser lazy? is my parser lazy? ghci parsing lazy-evaluation haskell Control.Monad Data.Char Parser Main n123 n124 _t5 Monad MonadPlus x:xs Char c:nc Bool many1 t:ts sepBy1 is my parser lazy? I'm playing with the functional pearl by Hutton and Meijer ( https://www.cs.nott.ac.uk/~gmh/pearl.pdf ). With the primitiv...
[ -0.0078125, 0.00188446044921875, 0.01458740234375, 0.0206298828125, -0.00274658203125, 0.0206298828125, 0.009033203125, -0.010986328125, 0.0181884765625, 0.01806640625, -0.000885009765625, -0.0025787353515625, 0.00286865234375, -0.0079345703125, -0.00188446044921875, 0.00848388671875, ...
[ 83, 759, 366, 2189, 21, 3285, 31380, 318, 6953, 159258, 1556, 142508, 27131, 46674, 712, 11809, 84068, 2392, 12321, 48636, 109589, 758, 60331, 71, 88225, 425, 21656, 8766, 2460, 929, 5941, 808, 933, 25040, 75358, 75169, 123309, 280, 147, ...
[ 0.07891845703125, 0.06964111328125, 0.1968994140625, 0.220703125, 0.166748046875, 0.216552734375, 0.068115234375, 0.097900390625, 0.0601806640625, 0.146240234375, 0.08123779296875, 0.2044677734375, 0.1629638671875, 0.0572509765625, 0.083740234375, 0.04620361328125, 0.118408203125, ...
embed
56079450_c0
56079450
haskell
0
Title: How to get the Index of an element in a list, by not using "list comprehensions"? Problem title: How to get the Index of an element in a list, by not using "list comprehensions"? Tags: haskell, indexing, recursion, list, list-comprehension Problem: How to get the Index of an element in a list...
How to get the Index of an element in a list, by not using "list comprehensions"? How to get the Index of an element in a list, by not using "list comprehensions"? haskell indexing recursion list list-comprehension How Index x:xs Main How to get the Index of an element in a list, by not using "list ...
[ -0.020263671875, 0.03125, -0.00634765625, 0.002532958984375, -0.005218505859375, 0.0167236328125, 0.02001953125, -0.00106048583984375, 0.01104736328125, -0.034423828125, 0.0037841796875, -0.00634765625, -0.003143310546875, 0.0238037109375, 0.0022125244140625, -0.00116729736328125, 0....
[ 11249, 2046, 70, 31471, 111, 12830, 23, 5303, 390, 959, 17368, 6562, 46683, 3220, 63239, 1556, 142508, 63262, 195625, 1830, 4692, 1022, 425, 12321, 3525, 56037, 86869, 2967, 10869, 15649, 7413, 30646, 136913, 80854, 14037, 44402, 15490, 5844,...
[ 0.03936767578125, 0.13037109375, 0.0880126953125, 0.279296875, 0.044525146484375, 0.1829833984375, 0.0804443359375, 0.1962890625, 0.052978515625, 0.13818359375, 0.100830078125, 0.163818359375, 0.1436767578125, 0.1549072265625, 0.0819091796875, 0.1002197265625, 0.206298828125, 0.240...
embed
33595312_c0
33595312
haskell
0
Title: Getting GHC to produce "Add With Carry (ADC)" instructions Problem title: Getting GHC to produce "Add With Carry (ADC)" instructions Tags: optimization, haskell Problem: Getting GHC to produce "Add With Carry (ADC)" instructions Here is code that adds two triples of unboxed Words representing...
Getting GHC to produce "Add With Carry (ADC)" instructions Getting GHC to produce "Add With Carry (ADC)" instructions optimization haskell GHC.Prim Getting GHC Add Carry ADC LANGUAGE MagicHash UnboxedTuples plusWord2 Word plusWord3 Getting GHC to produce "Add With Carry (ADC)" instructions Here is c...
[ -0.0062255859375, 0.021240234375, 0.01202392578125, 0.011474609375, -0.017333984375, -0.0118408203125, -0.0277099609375, -0.02099609375, 0.01025390625, -0.03662109375, 0.01025390625, -0.012939453125, 0.0019683837890625, 0.02197265625, -0.00124359130859375, -0.004547119140625, 0.00222...
[ 210732, 527, 73265, 27489, 4028, 17106, 3980, 1294, 12351, 441, 167934, 47, 87235, 1556, 142508, 145111, 29117, 62, 21960, 98064, 61707, 6495, 1495, 992, 11728, 15665, 99726, 1001, 164805, 304, 22543, 363, 18151, 15190, 6626, 162738, 51, 3363...
[ 0.08355712890625, 0.08782958984375, 0.2076416015625, 0.1463623046875, 0.1544189453125, 0.18505859375, 0.1551513671875, 0.1571044921875, 0.10400390625, 0.125732421875, 0.2232666015625, 0.0141143798828125, 0.1142578125, 0.076416015625, 0.1943359375, 0.119873046875, 0.10986328125, 0.0...
embed
38438932_c0
38438932
haskell
0
Title: Gycwin: c compiler cannot create executables - tidalcycles installation Problem title: Gycwin: c compiler cannot create executables - tidalcycles installation Tags: haskell, windows, c, gcc Problem: Gycwin: c compiler cannot create executables - tidalcycles installation I'm trying to install tidalcycles ( http:/...
Gycwin: c compiler cannot create executables - tidalcycles installation Gycwin: c compiler cannot create executables - tidalcycles installation haskell windows c gcc Gycwin Andrea Pc_di_Andrea Resolving Configuring old-time-1.1.0.3 network-2.6.2.1 Failed Build Users AppData Roaming old-time-1.1.0.3.log WARNING PROGRA H...
[ 0.01336669921875, 0.01141357421875, 0.0162353515625, -0.0135498046875, 0.0234375, -0.0164794921875, -0.0262451171875, -0.0203857421875, -0.01458740234375, -0.0361328125, -0.0108642578125, -0.019775390625, 0.00064849853515625, 0.0006256103515625, -0.005157470703125, -0.002227783203125, ...
[ 11998, 238, 9494, 12, 501, 9969, 34759, 53418, 28282, 98927, 13566, 2936, 289, 75457, 7, 59720, 1556, 142508, 54825, 22109, 48176, 428, 148233, 11, 132944, 59994, 10332, 6032, 92134, 170179, 33120, 154784, 68107, 190355, 121137, 53400, 5659, ...
[ 0.1552734375, 0.09716796875, 0.2425537109375, 0.011383056640625, 0.1561279296875, 0.2147216796875, 0.2015380859375, 0.18896484375, 0.1661376953125, 0.2310791015625, 0.1796875, 0.19384765625, 0.175048828125, 0.2408447265625, 0.0648193359375, 0.1138916015625, 0.1123046875, 0.20642089...
embed
53231314_c0
53231314
haskell
0
Title: Divide and conquer approach for Karatsuba algorithm Problem title: Divide and conquer approach for Karatsuba algorithm Tags: divide-and-conquer, haskell, karatsuba Problem: Divide and conquer approach for Karatsuba algorithm I'm trying to write Karatsuba Algorithm using the divide and conquer approach in Haskell...
Divide and conquer approach for Karatsuba algorithm Divide and conquer approach for Karatsuba algorithm divide-and-conquer haskell karatsuba Divide Karatsuba x:x1:xs x:y:z:xs x:x1:x2:xs Occurs Expected Actual Divide and conquer approach for Karatsuba algorithm I'm trying to write Karatsuba Algorithm using the divide an...
[ 0.0009002685546875, 0.03076171875, 0.010986328125, -0.00830078125, -0.00457763671875, 0.0115966796875, 0.01416015625, -0.005096435546875, 0.00183868408203125, 0.001495361328125, 0.003326416015625, 0.00153350830078125, 0.007110595703125, 0.02392578125, 0.000873565673828125, -0.010681152...
[ 76278, 112, 136, 158, 27227, 51515, 9006, 17750, 402, 234873, 101637, 2940, 2271, 1556, 142508, 7895, 1022, 425, 82825, 169, 48650, 60075, 13, 100582, 31577, 33022, 109847, 2783, 18337, 20625, 42564, 12096, 26366, 10176, 88500, 5201, 32354, 3...
[ 0.1767578125, 0.1544189453125, 0.1400146484375, 0.10736083984375, 0.1898193359375, 0.1627197265625, 0.1549072265625, 0.170654296875, 0.191650390625, 0.1959228515625, 0.20654296875, 0.120361328125, 0.0810546875, 0.08258056640625, 0.24462890625, 0.088623046875, 0.0192413330078125, 0....
embed
28975541_c0
28975541
haskell
0
Title: give (without duplicates) the names of actors who have co-starred in at least one film with a particular actor Problem title: give (without duplicates) the names of actors who have co-starred in at least one film with a particular actor Tags: haskell-platform, template-haskell, haskell Problem: give (without dup...
give (without duplicates) the names of actors who have co-starred in at least one film with a particular actor give (without duplicates) the names of actors who have co-starred in at least one film with a particular actor haskell-platform template-haskell haskell Text.Printf Data.List Data.Ord Data.Foldable Title Actor...
[ 0.0072021484375, -0.0140380859375, 0.00860595703125, 0.00445556640625, 0.01080322265625, -0.000682830810546875, 0.007293701171875, 0.01708984375, -0.00038909912109375, -0.017333984375, -0.0019989013671875, -0.0179443359375, 0.009765625, -0.01214599609375, -0.0224609375, 0.011962890625,...
[ 8337, 76228, 6056, 171763, 1636, 70, 123055, 111, 39329, 7, 2750, 765, 552, 5613, 2822, 23, 19713, 1632, 1346, 678, 17311, 1556, 142508, 172121, 110934, 10557, 24129, 112079, 11809, 154663, 143045, 18345, 48962, 185617, 32301, 42552, 11213, 1...
[ 0.1953125, 0.08599853515625, 0.138671875, 0.2120361328125, 0.1090087890625, 0.03985595703125, 0.1932373046875, 0.05035400390625, 0.2445068359375, 0.1043701171875, 0.0850830078125, 0.1612548828125, 0.1968994140625, 0.1942138671875, 0.1273193359375, 0.0406494140625, 0.1539306640625, ...
embed
20783528_c0
20783528
haskell
0
Title: Cabal - mismatched interface file versions (wanted "7063", got "7042") Problem title: Cabal - mismatched interface file versions (wanted "7063", got "7042") Tags: cabal, haskell Problem: Cabal - mismatched interface file versions (wanted "7063", got "7042") I have upgraded...
Cabal - mismatched interface file versions (wanted "7063", got "7042") Cabal - mismatched interface file versions (wanted "7063", got "7042") cabal haskell Date-0.0 MissingH-1.2.0.2 base-4.6.0.1 directory-1.2.0.1 filepath-1.3.0.1 ftphs-1.0.9.1 time-1.4.0.1 -optPdist/build/autogen...
[ 0.0108642578125, 0.0037994384765625, 0.0118408203125, -0.00830078125, -0.00872802734375, 0.014892578125, -0.0247802734375, 0.005401611328125, -0.00836181640625, 0.025634765625, -0.0059814453125, -0.03662109375, -0.00421142578125, -0.0223388671875, 0.0021209716796875, 0.00445556640625, ...
[ 30438, 289, 20, 1239, 98753, 297, 101758, 11435, 11389, 3206, 5757, 15748, 13023, 109524, 1556, 142508, 25512, 99929, 16771, 214, 841, 48400, 133684, 3647, 115459, 102014, 14364, 128405, 81046, 6, 2480, 11727, 38331, 1733, 91977, 2146, 46295, ...
[ 0.2188720703125, 0.2249755859375, 0.0180511474609375, 0.1513671875, 0.273193359375, 0.08966064453125, 0.2276611328125, 0.1580810546875, 0.190673828125, 0.0849609375, 0.1221923828125, 0.225830078125, 0.2164306640625, 0.2666015625, 0.1436767578125, 0.244140625, 0.148193359375, 0.1651...
embed
12742085_c0
12742085
haskell
0
Title: GUI programming in Haskell - installation problems on Ubuntu Problem title: GUI programming in Haskell - installation problems on Ubuntu Tags: gtk2hs, wxhaskell, haskell Problem: GUI programming in Haskell - installation problems on Ubuntu is there a GUI package that is still up-to-date? I tried installing both ...
GUI programming in Haskell - installation problems on Ubuntu GUI programming in Haskell - installation problems on Ubuntu gtk2hs wxhaskell haskell this GUI Haskell Ubuntu Carsten-VirtualBox Resolving Compiling SetupWrapper glade-0.12.1-12934 glade-0.12.1 SetupWrapper.hs SetupWrapper.o Main Setup.hs Main.o Linking Gtk2H...
[ -0.006927490234375, 0.00982666015625, 0.00537109375, -0.023193359375, -0.0062255859375, 0.008544921875, -0.00897216796875, -0.022216796875, -0.003936767578125, 0.0181884765625, 0.0128173828125, -0.06103515625, 0.005859375, -0.009765625, -0.01025390625, -0.0106201171875, -0.0025482177...
[ 195490, 56037, 449, 23, 20625, 142508, 59720, 44402, 98, 116890, 706, 31472, 304, 127, 148, 137056, 7, 1556, 903, 3980, 2581, 79600, 72295, 132944, 15612, 49725, 19943, 2037, 219, 8079, 116755, 15654, 4235, 10289, 102014, 68107, 31, 12321, ...
[ 0.24609375, 0.16357421875, 0.0709228515625, 0.07904052734375, 0.174560546875, 0.2841796875, 0.1383056640625, 0.1572265625, 0.053619384765625, 0.1944580078125, 0.026763916015625, 0.16064453125, 0.109375, 0.1468505859375, 0.08416748046875, 0.083251953125, 0.10791015625, 0.1416015625,...
embed
19197682_c0
19197682
haskell
0
Title: yesod persistent postgresql complex record Problem title: yesod persistent postgresql complex record Tags: persistent, orm, haskell, database, yesod Problem: yesod persistent postgresql complex record I am using persistent to save the following records (Time is UTCTime). type Price = Int type Volume = Int share ...
yesod persistent postgresql complex record yesod persistent postgresql complex record persistent orm haskell database yesod Price Volume Level Show Read Book Time CREATE TABLE NOT CONSTRAINT book_pkey PRIMARY KEY level_pkey AId persistent-postgresql-1.0.3 yesod-persistent-1.1.0.1 Postgres yesod persistent postgresql co...
[ -0.00494384765625, 0.0245361328125, -0.00101470947265625, 0.01153564453125, 0.01904296875, 0.01953125, -0.0240478515625, -0.00970458984375, 0.00445556640625, -0.0242919921875, 0.0267333984375, 0.0107421875, -0.0037078857421875, -0.002777099609375, -0.01953125, 0.007476806640625, -0.0...
[ 2422, 23722, 70560, 2517, 1305, 17562, 99247, 27140, 17164, 707, 39, 1556, 142508, 63399, 48025, 98872, 84136, 17367, 4764, 27432, 19055, 175151, 384, 183057, 86725, 59020, 12877, 19770, 105029, 186104, 17366, 38730, 71, 4594, 170179, 21777, 68...
[ 0.16357421875, 0.2083740234375, 0.253173828125, 0.2139892578125, 0.06072998046875, 0.139404296875, 0.1351318359375, 0.1837158203125, 0.1602783203125, 0.07275390625, 0.0794677734375, 0.077880859375, 0.1617431640625, 0.1181640625, 0.119140625, 0.0894775390625, 0.1942138671875, 0.0820...
embed
71145144_c0
71145144
haskell
0
Title: Checking String is a Palindrome Case Insensitive in Haskell Problem title: Checking String is a Palindrome Case Insensitive in Haskell Tags: haskell Problem: Checking String is a Palindrome Case Insensitive in Haskell I'm trying to write a function that checks if a string is a Palindrome (case insensitive) in Ha...
Checking String is a Palindrome Case Insensitive in Haskell Checking String is a Palindrome Case Insensitive in Haskell haskell Data.Text Checking Palindrome Case Insensitive Haskell LANGUAGE OverloadedStrings Bool XOverloadedStrings Prelude Couldn Data.Text.Internal.Text Char Checking String is a Palindrome Case Insen...
[ -0.00083160400390625, -0.0026702880859375, 0.0130615234375, 0.01214599609375, -0.0076904296875, 0.0174560546875, 0.0341796875, -0.0262451171875, -0.001617431640625, 0.0233154296875, 0.008544921875, -0.006378173828125, 0.01470947265625, -0.0247802734375, -0.0048828125, -0.00029373168945...
[ 38679, 214, 23351, 12530, 73, 102851, 43731, 360, 176302, 13, 20625, 142508, 83, 10, 23, 1556, 11809, 174379, 98064, 9578, 63033, 297, 71713, 2460, 929, 1193, 156673, 1914, 822, 191147, 44851, 21656, 33022, 32354, 12765, 2174, 79315, 58437, ...
[ 0.191162109375, 0.130615234375, 0.2196044921875, 0.160888671875, 0.1265869140625, 0.2197265625, 0.1749267578125, 0.05438232421875, 0.217041015625, 0.0439453125, 0.1322021484375, 0.2529296875, 0.0153961181640625, 0.005767822265625, 0.014434814453125, 0.105712890625, 0.07421875, 0.11...
embed
34294202_c0
34294202
haskell
0
Title: program mode determined from arguments count [optparse-applicative] Problem title: program mode determined from arguments count [optparse-applicative] Tags: command-line-arguments, haskell, optparse-applicative Problem: program mode determined from arguments count [optparse-applicative] i will determine the prog...
program mode determined from arguments count [optparse-applicative] program mode determined from arguments count [optparse-applicative] command-line-arguments haskell optparse-applicative arguments Options.Applicative Configuring GHCi www.haskell.org Main.hs Compiling Main Usage Exception ExitFailure AppArgs ShowVersio...
[ -0.0019378662109375, 0.007598876953125, -0.01123046875, 0.03076171875, 0.0078125, 0.028076171875, 0.006317138671875, 0.00133514404296875, 0.01446533203125, -0.00130462646484375, 0.0137939453125, -0.040771484375, 0.006683349609375, 0.0078125, 0.0006256103515625, -0.0123291015625, 0.02...
[ 1528, 13736, 83324, 1295, 10750, 54529, 2146, 18, 2500, 184, 9007, 11048, 4935, 75101, 2256, 155937, 1556, 142508, 43922, 152448, 59994, 527, 73265, 14, 10557, 12321, 127, 15612, 70166, 63928, 5443, 17647, 379, 5659, 7614, 9405, 17367, 178390...
[ 0.173583984375, 0.209228515625, 0.13525390625, 0.06982421875, 0.253173828125, 0.17236328125, 0.10986328125, 0.049041748046875, 0.14794921875, 0.0977783203125, 0.060577392578125, 0.0989990234375, 0.06561279296875, 0.08544921875, 0.0214080810546875, 0.145263671875, 0.1011962890625, 0...
embed
65952459_c0
65952459
haskell
0
Title: Haskell Aeson return empty object Problem title: Haskell Aeson return empty object Tags: haskell, ihp Problem: Haskell Aeson return empty object I'm trying to return a JSON data representation if not Nothing, and an empty JSON object if Nothing; I know that I can do: encode () -- "[]" But now I'd like to have an...
Haskell Aeson return empty object Haskell Aeson return empty object haskell ihp a being Haskell Aeson Person Integer Float Show ToJSON Nothing Ambiguous Probable These DotNetTime Defined aeson-1.4.7.1:Data.Aeson.Types.ToJSON Value Either Haskell Aeson return empty object I'm trying to return a JSON data representation ...
[ -0.0076904296875, -0.003936767578125, -0.0030059814453125, 0.01153564453125, -0.02685546875, -0.00025177001953125, 0.005340576171875, -0.000850677490234375, -0.012451171875, 0.0030517578125, -0.004547119140625, 0.00872802734375, 0.00145721435546875, 0.0019683837890625, 0.01153564453125, ...
[ 20625, 142508, 62, 90, 191, 30646, 201505, 36746, 1556, 9633, 254, 8035, 15270, 44401, 38699, 17367, 717, 1375, 58627, 182747, 12282, 1250, 275, 84929, 24447, 70059, 5983, 10, 91977, 165830, 137989, 5, 284, 196707, 7763, 190060, 31577, 821, ...
[ 0.134765625, 0.1912841796875, 0.1094970703125, 0.1173095703125, 0.151123046875, 0.193359375, 0.2320556640625, 0.179443359375, 0.1312255859375, 0.0350341796875, 0.05059814453125, 0.1343994140625, 0.164306640625, 0.11767578125, 0.1285400390625, 0.1209716796875, 0.0772705078125, 0.104...
embed
29820870_c0
29820870
haskell
0
Title: Floating point numbers, precision, and Parsec Problem title: Floating point numbers, precision, and Parsec Tags: floating-point, haskell, parsec Problem: Floating point numbers, precision, and Parsec Consider the following code: import Text.Parsec import Text.Parsec.Language import Text.Parsec.String import qual...
Floating point numbers, precision, and Parsec Floating point numbers, precision, and Parsec floating-point haskell parsec ParseError Text.Parsec Text.Parsec.Language Text.Parsec.String qualified Floating Parsec Text.Parsec.Token Token Parser Double Token.float Token.makeTokenParser Either Right Floating point numbers, ...
[ -0.00543212890625, -0.002960205078125, 0.00150299072265625, 0.024169921875, 0.005035400390625, 0.0098876953125, 0.006805419921875, -0.01251220703125, -0.0034637451171875, 0.00836181640625, -0.003082275390625, 0.0140380859375, 0.00537109375, 0.0038909912109375, 0.00250244140625, 0.00343...
[ 38699, 26518, 6275, 101935, 22619, 1830, 136, 2392, 39797, 21917, 38496, 1556, 142508, 366, 184, 18468, 31611, 24129, 28636, 5, 10393, 4588, 71713, 217225, 7763, 1098, 717, 2189, 107172, 52347, 257, 55898, 9319, 90911, 4, 137399, 70, 25632, ...
[ 0.2098388671875, 0.149658203125, 0.1939697265625, 0.2059326171875, 0.2332763671875, 0.11767578125, 0.060150146484375, 0.1561279296875, 0.261962890625, 0.200439453125, 0.17236328125, 0.11865234375, 0.220703125, 0.154296875, 0.05914306640625, 0.126220703125, 0.102294921875, 0.1346435...
embed
58666061_c0
58666061
haskell
0
Title: What is the proper way to fill some complex structure with data from IO using Lenses? Problem title: What is the proper way to fill some complex structure with data from IO using Lenses? Tags: haskell, haskell-lens Problem: What is the proper way to fill some complex structure with data from IO using Lenses? {- ...
What is the proper way to fill some complex structure with data from IO using Lenses? What is the proper way to fill some complex structure with data from IO using Lenses? haskell haskell-lens IO Lenses System.IO Control.Monad Control.Lens Data.UUID Data.UUID.V4 pre What Some Main JSON Data.Aeson.Lens But Instead Easie...
[ -0.0235595703125, 0.00034332275390625, -0.0142822265625, -0.0169677734375, 0.01007080078125, 0.0115966796875, -0.00347900390625, -0.0133056640625, -0.01409912109375, -0.048583984375, 0.020751953125, 0.0242919921875, 0.01202392578125, 0.0016937255859375, 0.018310546875, 0.00367736816406...
[ 27798, 3917, 47, 26292, 3060, 27140, 45646, 678, 2053, 1295, 17780, 17368, 339, 47754, 4865, 83, 70, 1556, 142508, 1977, 7, 12353, 27131, 46674, 712, 5, 866, 1755, 11809, 41317, 7146, 856, 617, 479, 31384, 12321, 821, 58627, 90, 191, 49...
[ 0.14599609375, 0.08917236328125, 0.037017822265625, 0.191650390625, 0.04229736328125, 0.2205810546875, 0.1881103515625, 0.10430908203125, 0.15771484375, 0.114013671875, 0.2469482421875, 0.1060791015625, 0.173583984375, 0.2119140625, 0.0279541015625, 0.009429931640625, 0.0006408691406...
embed
15095902_c0
15095902
haskell
0
Title: GHC Generating Redundant Core Operations Problem title: GHC Generating Redundant Core Operations Tags: performance, haskell, ghc Problem: GHC Generating Redundant Core Operations I have the following program for converting 6bit ASCII to binary format. ascii2bin :: Char -> B.ByteString ascii2bin = B.reverse . fst...
GHC Generating Redundant Core Operations GHC Generating Redundant Core Operations performance haskell ghc GHC Generating Redundant Core Operations ascii2bin Char B.ByteString B.reverse B.unfoldrN to6BitASCII Just bs2bin B.concatMap Rec ww1 ww2 __DEFAULT wild2 int2Word __word lvl2 writeWord8OffAddr narrow8Word lvl1 GHC ...
[ -0.006134033203125, -0.006439208984375, 0.0244140625, 0.00092315673828125, 0.010498046875, -0.0010833740234375, -0.0264892578125, -0.0240478515625, -0.00372314453125, 0.00335693359375, 0.018798828125, -0.01544189453125, -0.01324462890625, 0.0208740234375, -0.000957489013671875, 0.00891...
[ 527, 73265, 155370, 6096, 35405, 31365, 102203, 1916, 23718, 1556, 142508, 31380, 238, 237, 26506, 304, 7568, 21656, 335, 75358, 71713, 37676, 42822, 47, 910, 571, 217, 134165, 568, 4460, 166179, 48224, 202001, 284, 56409, 23, 18, 164805, 4...
[ 0.1002197265625, 0.241943359375, 0.130615234375, 0.0855712890625, 0.2188720703125, 0.178466796875, 0.188232421875, 0.016510009765625, 0.180419921875, 0.1094970703125, 0.215087890625, 0.1224365234375, 0.1064453125, 0.011688232421875, 0.1484375, 0.08331298828125, 0.1331787109375, 0.1...
embed
24822083_c0
24822083
haskell
0
Title: Pattern matching rewrites with internal DSL? Problem title: Pattern matching rewrites with internal DSL? Tags: dsl, haskell, pattern-matching, scala Problem: Pattern matching rewrites with internal DSL? My question is about DSL design. It is related to internal vs. external DSLs, but is more specific than that. ...
Pattern matching rewrites with internal DSL? Pattern matching rewrites with internal DSL? dsl haskell pattern-matching scala Pattern DSL SELECT CROSS JOIN Pattern matching rewrites with internal DSL? My question is about DSL design. It is related to internal vs. external DSLs, but is more specific than that. Background...
[ -0.0125732421875, 0.018798828125, 0.025634765625, 0.0181884765625, -0.0081787109375, 0.00714111328125, -0.0279541015625, 0.00089263916015625, -0.0142822265625, -0.005218505859375, 0.0091552734375, 0.004425048828125, -0.006072998046875, 0.00958251953125, 0.0036468505859375, 0.0099487304...
[ 9876, 22766, 14858, 214, 456, 5429, 52164, 678, 70796, 114479, 104, 24861, 1556, 142508, 103510, 98753, 146232, 6755, 144832, 25109, 21253, 4331, 20209, 173591, 7, 57945, 57143, 60212, 168698, 20625, 27781, 116120, 41911, 429, 2844, 1119, 2109,...
[ 0.1788330078125, 0.1424560546875, 0.2177734375, 0.0731201171875, 0.1641845703125, 0.163818359375, 0.150146484375, 0.070068359375, 0.2109375, 0.2181396484375, 0.03521728515625, 0.173828125, 0.1265869140625, 0.2236328125, 0.2176513671875, 0.2227783203125, 0.1361083984375, 0.025207519...
embed
20420956_c0
20420956
haskell
0
Title: Convert a Haskell function to SML Problem title: Convert a Haskell function to SML Tags: smlnj, functional-programming, haskell, sml Problem: Convert a Haskell function to SML I'm trying to convert a Haskell function, which displays a boolean formula, to a SML function. The function: data Formula = Atom String |...
Convert a Haskell function to SML Convert a Haskell function to SML smlnj functional-programming haskell sml Convert Haskell SML Formula Atom Neg Conj Disj Convert a Haskell function to SML I'm trying to convert a Haskell function, which displays a boolean formula, to a SML function. The function: I' ve come so far as ...
[ 0.00122833251953125, 0.0032501220703125, 0.004150390625, 0.0242919921875, 0.00885009765625, -0.0086669921875, 0.0179443359375, -0.005767822265625, 0.0022430419921875, 0.00098419189453125, 0.001251220703125, -0.0024871826171875, -0.0174560546875, -0.000713348388671875, -0.01068115234375, ...
[ 1657, 11549, 10, 20625, 142508, 32354, 47, 159, 39456, 91, 7237, 170, 123309, 28966, 1556, 72791, 69728, 799, 177, 31577, 96760, 44116, 337, 31, 34677, 26168, 173, 1380, 2060, 3900, 143, 51, 2844, 27853, 43240, 45831, 15490, 1620, 5170, 4...
[ 0.0361328125, 0.1478271484375, 0.022216796875, 0.1510009765625, 0.265625, 0.2376708984375, 0.108154296875, 0.131103515625, 0.298583984375, 0.079833984375, 0.194580078125, 0.1285400390625, 0.143310546875, 0.05084228515625, 0.1297607421875, 0.18994140625, 0.1439208984375, 0.038085937...
embed
57035583_c0
57035583
haskell
0
Title: How do I create a recursive infix parser that does not hang? Problem title: How do I create a recursive infix parser that does not hang? Tags: haskell Problem: How do I create a recursive infix parser that does not hang? Consider this code: import Text.ParserCombinators.ReadP prefixExpr :: ReadP Int prefixExpr =...
How do I create a recursive infix parser that does not hang? How do I create a recursive infix parser that does not hang? haskell Text.ParserCombinators.ReadP How ReadP readS_to_P readP_to_S Right Left CInterrupted How do I create a recursive infix parser that does not hang? Consider this code: It works great! But this...
[ -0.017822265625, 0.00439453125, 0.01513671875, 0.021240234375, 0.0024261474609375, 0.0228271484375, 0.00567626953125, -0.00762939453125, 0.01025390625, -0.047607421875, 0.017333984375, -0.03271484375, 0.0130615234375, 0.00238037109375, 0.0260009765625, 0.00860595703125, 0.00326538085...
[ 11249, 28282, 195625, 5844, 23, 55923, 366, 2189, 450, 14602, 959, 10756, 1556, 142508, 24129, 28636, 19155, 22230, 31345, 683, 4764, 12301, 188, 90911, 2480, 9167, 18151, 43240, 6782, 903, 20117, 192728, 442, 7, 28219, 19279, 10287, 30957, ...
[ 0.003265380859375, 0.149169921875, 0.1949462890625, 0.137451171875, 0.1124267578125, 0.233154296875, 0.1693115234375, 0.1851806640625, 0.059112548828125, 0.08050537109375, 0.1396484375, 0.2100830078125, 0.0880126953125, 0.1700439453125, 0.0755615234375, 0.1072998046875, 0.12829589843...
embed
40832422_c0
40832422
haskell
0
Title: Luhn function in Haskell Problem title: Luhn function in Haskell Tags: haskell, luhn Problem: Luhn function in Haskell I'm currently working through the book Programming in Haskell (which is absolutely amazing so far), but ran into a problem in exercise 4.8.8. The task is to implement the Luhn algorithm in Haske...
Luhn function in Haskell Luhn function in Haskell haskell luhn Luhn Haskell Bool Couldn Integer Luhn function in Haskell I'm currently working through the book Programming in Haskell (which is absolutely amazing so far), but ran into a problem in exercise 4.8.8. The task is to implement the Luhn algorithm in Haskell, u...
[ -0.01483154296875, 0.0133056640625, 0.020263671875, -0.0018463134765625, -0.006256103515625, 0.020263671875, -0.00537109375, -0.007568359375, -0.006439208984375, -0.01318359375, 0.00775146484375, -0.00787353515625, 0.0004730224609375, -0.0125732421875, -0.01611328125, 0.004669189453125...
[ 3350, 127, 19, 32354, 23, 20625, 142508, 1556, 79278, 2460, 929, 191147, 44401, 82424, 20697, 8305, 12877, 27958, 115839, 44613, 2060, 2967, 81979, 1398, 200701, 66211, 29479, 234873, 4358, 8331, 34, 2661, 1984, 360, 33079, 18, 41929, 153939,...
[ 0.186767578125, 0.210693359375, 0.2008056640625, 0.2161865234375, 0.0604248046875, 0.1546630859375, 0.253173828125, 0.1265869140625, 0.1712646484375, 0.114990234375, 0.221923828125, 0.1317138671875, 0.2137451171875, 0.00115966796875, 0.0408935546875, 0.012176513671875, 0.036468505859...
embed
2815358_c0
2815358
haskell
0
Title: haskell: a data structure for storing ascending integers with a very fast lookup Problem title: haskell: a data structure for storing ascending integers with a very fast lookup Tags: lookup, data-structures, haskell Problem: haskell: a data structure for storing ascending integers with a very fast lookup (This q...
haskell: a data structure for storing ascending integers with a very fast lookup haskell: a data structure for storing ascending integers with a very fast lookup lookup data-structures haskell is_cube haskell: a data structure for storing ascending integers with a very fast lookup (This question is related to my previo...
[ -0.0003643035888671875, 0.012451171875, 0.003631591796875, 0.00244140625, 0.022216796875, 0.0184326171875, 0.006561279296875, -0.005035400390625, 0.0220947265625, -0.0306396484375, 0.00885009765625, -0.01171875, 0.000644683837890625, -0.004241943359375, -0.0184326171875, -0.01904296875...
[ 1556, 142508, 12, 2053, 45646, 100, 3082, 82800, 214, 892, 26255, 678, 4552, 4271, 6713, 2037, 137656, 83, 454, 1010, 372, 10, 62548, 3444, 4343, 756, 1103, 7438, 6083, 101935, 29458, 1957, 2174, 15787, 314, 5045, 56, 3501, 74481, 1916, ...
[ 0.1883544921875, 0.302001953125, 0.0003662109375, 0.113525390625, 0.230224609375, 0.017730712890625, 0.1336669921875, 0.1865234375, 0.1160888671875, 0.1151123046875, 0.1187744140625, 0.0141448974609375, 0.0987548828125, 0.1463623046875, 0.1334228515625, 0.1407470703125, 0.15258789062...
embed
73385955_c0
73385955
haskell
0
Title: How to do nested 'looping' in Haskell Problem title: How to do nested 'looping' in Haskell Tags: haskell, java Problem: How to do nested 'looping' in Haskell I am looking at some JAVA code and I would like to know how this can be translated into Haskell. IntStream.range(0, cookedWords.length)...
How to do nested 'looping' in Haskell How to do nested 'looping' in Haskell haskell java How Haskell IntStream.range cookedWords.length ABC ABCD System.out.printf stopwatch.elapsedTime foldl1 How to do nested 'looping' in Haskell I am looking at some JAVA code and I would like to know how this can b...
[ -0.0174560546875, 0.004638671875, -0.004180908203125, 0.00665283203125, 0.012939453125, 0.021240234375, -0.01300048828125, -0.0172119140625, 0.009521484375, -0.0296630859375, -0.00274658203125, -0.006011962890625, 0.0125732421875, 0.007476806640625, -0.02197265625, -0.006195068359375, ...
[ 11249, 47, 54, 8512, 71, 3768, 28354, 214, 23, 20625, 142508, 1556, 79, 330, 360, 18, 115061, 94250, 110309, 297, 164805, 23986, 47457, 397, 12353, 6056, 35662, 420, 7279, 35414, 127966, 70059, 18344, 20469, 418, 16487, 189950, 18151, 3900,...
[ 0.07989501953125, 0.0301666259765625, 0.0997314453125, 0.252685546875, 0.1785888671875, 0.0936279296875, 0.21728515625, 0.1826171875, 0.0650634765625, 0.142578125, 0.252685546875, 0.10888671875, 0.0728759765625, 0.1282958984375, 0.0237884521484375, 0.049560546875, 0.218505859375, 0...
embed
75680491_c0
75680491
haskell
0
Title: What is the trade-off between Lazy and Strict/Eager evaluation? Problem title: What is the trade-off between Lazy and Strict/Eager evaluation? Tags: evaluation, haskell, java-stream, lazy-evaluation Problem: What is the trade-off between Lazy and Strict/Eager evaluation? So this concept of lazy evaluation gets t...
What is the trade-off between Lazy and Strict/Eager evaluation? What is the trade-off between Lazy and Strict/Eager evaluation? evaluation haskell java-stream lazy-evaluation What Lazy Strict Eager What is the trade-off between Lazy and Strict/Eager evaluation? So this concept of lazy evaluation gets thrown around a lo...
[ 0.01129150390625, 0.031982421875, 0.005889892578125, -0.01007080078125, 0.024169921875, -0.003753662109375, 0.0206298828125, -0.0028076171875, 0.016845703125, 0.0106201171875, 0.006744384765625, -0.01275634765625, 0.005645751953125, 0.01116943359375, -0.01190185546875, 0.0177001953125,...
[ 52350, 16713, 17721, 239, 3285, 73425, 15390, 647, 33730, 219836, 136, 1556, 142508, 79, 330, 86429, 21, 159258, 4865, 241, 9, 64, 23755, 104250, 5915, 123309, 56037, 75973, 32036, 2053, 32599, 51339, 541, 41018, 98, 4734, 17669, 3249, 106,...
[ 0.2041015625, 0.19921875, 0.05609130859375, 0.158935546875, 0.2171630859375, 0.1650390625, 0.1165771484375, 0.10614013671875, 0.22802734375, 0.2344970703125, 0.0633544921875, 0.06951904296875, 0.1827392578125, 0.04986572265625, 0.11376953125, 0.1138916015625, 0.14892578125, 0.18041...
embed
30008910_c0
30008910
haskell
0
Title: Is Curry-Howard correspondent of double negation ((a->r)->r) or ((a->⊥)->⊥)? Problem title: Is Curry-Howard correspondent of double negation ((a->r)->r) or ((a->⊥)->⊥)? Tags: haskell, curry-howard, continuations Problem: Is Curry-Howard correspondent of double negation ((a->r)->r) or ((a-...
Is Curry-Howard correspondent of double negation ((a->r)->r) or ((a->⊥)->⊥)? Is Curry-Howard correspondent of double negation ((a->r)->r) or ((a->⊥)->⊥)? haskell curry-howard continuations Curry-Howard LANGUAGE RankNTypes to_double_neg from_double_neg Is Curry-Howard correspondent of double nega...
[ -0.004150390625, -0.0081787109375, 0.01025390625, 0.0081787109375, -0.0242919921875, -0.00372314453125, 0.006500244140625, -0.0172119140625, 0.0036773681640625, -0.01104736328125, -0.01287841796875, 0.004119873046875, 0.000904083251953125, -0.017333984375, 0.002288818359375, -0.0044250...
[ 17065, 1294, 9, 11193, 19364, 82122, 660, 41929, 108, 125682, 11, 1230, 5386, 42, 247699, 1556, 142508, 198555, 497, 9454, 98064, 134405, 196707, 47, 21555, 2661, 86, 177, 1295, 60494, 103607, 707, 111, 10, 33079, 1690, 15044, 149766, 52895...
[ 0.1353759765625, 0.2093505859375, 0.0537109375, 0.09033203125, 0.2227783203125, 0.1829833984375, 0.09429931640625, 0.172119140625, 0.183837890625, 0.15185546875, 0.097412109375, 0.000518798828125, 0.05084228515625, 0.1148681640625, 0.253173828125, 0.073486328125, 0.2130126953125, 0...
embed
31467255_c0
31467255
haskell
0
Title: Parsing data types with all nullary constructors using generic decode Problem title: Parsing data types with all nullary constructors using generic decode Tags: generics, haskell, aeson Problem: Parsing data types with all nullary constructors using generic decode I have the following code: {-# LANGUAGE DeriveGe...
Parsing data types with all nullary constructors using generic decode Parsing data types with all nullary constructors using generic decode generics haskell aeson generic Data.Aeson GHC.Generics Parsing LANGUAGE DeriveGeneric OverloadedStrings CharClass Fighter Rogue Wizard Show FromJSON ToJSON Main Left Failed Either ...
[ -0.006805419921875, 0.010498046875, -0.005279541015625, 0.01031494140625, -0.0027008056640625, -0.0054931640625, 0.0106201171875, -0.01275634765625, -0.00701904296875, 0.00616455078125, -0.0194091796875, -0.01544189453125, 0.006561279296875, 0.010498046875, -0.018310546875, -0.00451660...
[ 2392, 6953, 2053, 52895, 678, 756, 9229, 1294, 64549, 25251, 189534, 8, 40899, 1556, 142508, 90, 191, 11809, 73265, 135932, 12259, 98064, 1310, 5844, 9578, 63033, 71713, 5180, 21656, 140803, 106313, 56, 2777, 6261, 221479, 17367, 28090, 1375,...
[ 0.1790771484375, 0.04656982421875, 0.117431640625, 0.228515625, 0.07257080078125, 0.109619140625, 0.1790771484375, 0.1668701171875, 0.15234375, 0.07586669921875, 0.239990234375, 0.153564453125, 0.2239990234375, 0.0693359375, 0.1527099609375, 0.012542724609375, 0.0936279296875, 0.08...
embed
24714801_c0
24714801
haskell
0
Title: Instance not being exported? Problem title: Instance not being exported? Tags: haskell Problem: Instance not being exported? I'm trying to convert a tuple to an HList.Record and there is something really strange. I created a ToRecord class which zip a tuple of things and a tuple of labels to a record. Everything...
Instance not being exported? Instance not being exported? haskell GHC.TypeLits Data.HList.FakePrelude Data.HList.Record Data.HList.Labelable a Instance HList.Record ToRecord LANGUAGE TypeFamilies DataKinds TypeOperators MultiParamTypeClasses FlexibleInstances Symbol Tuples Records Conversion Result Label Record Tagged ...
[ -0.004119873046875, -0.0169677734375, -0.00113677978515625, 0.00274658203125, -0.02734375, 0.017333984375, -0.0155029296875, -0.005035400390625, 0.021728515625, 0.0015411376953125, -0.0263671875, -0.0137939453125, 0.014404296875, 0.019775390625, 0.006011962890625, -0.0262451171875, 0...
[ 360, 116071, 959, 8035, 31255, 297, 1556, 142508, 527, 73265, 196707, 9506, 933, 11809, 48599, 1419, 17647, 19273, 822, 32271, 4063, 2886, 572, 154663, 717, 98064, 60457, 7250, 156823, 19335, 140803, 180842, 2661, 131899, 1371, 99726, 89916, ...
[ 0.056732177734375, 0.2039794921875, 0.1396484375, 0.030853271484375, 0.229736328125, 0.030517578125, 0.1102294921875, 0.193115234375, 0.07733154296875, 0.162353515625, 0.1385498046875, 0.0751953125, 0.027252197265625, 0.0643310546875, 0.0283660888671875, 0.09033203125, 0.104248046875...
embed
9302758_c0
9302758
haskell
0
Title: What's the best way to support monad transformers, in functions that take monadic commands as arguments? Problem title: What's the best way to support monad transformers, in functions that take monadic commands as arguments? Tags: haskell, typeclass, monad-transformers Problem: What's the best way to s...
What's the best way to support monad transformers, in functions that take monadic commands as arguments? What's the best way to support monad transformers, in functions that take monadic commands as arguments? haskell typeclass monad-transformers What MyMonadTransformerT Monad StateT Num run_computation What'...
[ -0.01068115234375, 0.016845703125, 0.0184326171875, 0.0079345703125, 0.0196533203125, -0.01220703125, -0.004669189453125, -0.0205078125, -0.00101470947265625, -0.034912109375, 0.005279541015625, 0.0004024505615234375, -0.0021209716796875, 0.005645751953125, -0.01202392578125, -0.025024...
[ 3768, 2965, 3917, 8060, 2667, 712, 27198, 1314, 32354, 5646, 11, 18403, 75101, 237, 10750, 47, 1556, 142508, 10644, 67413, 215175, 4865, 2646, 46674, 62624, 82772, 618, 60331, 71, 22836, 52782, 11675, 277, 7077, 765, 181135, 1363, 139124, 3...
[ 0.046173095703125, 0.12451171875, 0.0689697265625, 0.232421875, 0.143798828125, 0.194091796875, 0.253173828125, 0.122802734375, 0.177001953125, 0.031951904296875, 0.07415771484375, 0.0853271484375, 0.21142578125, 0.0372314453125, 0.2294921875, 0.041839599609375, 0.0975341796875, 0....
embed
38089536_c0
38089536
haskell
0
Title: Usage generics from function type declaration in function body Problem title: Usage generics from function type declaration in function body Tags: haskell Problem: Usage generics from function type declaration in function body {-# LANGUAGE TemplateHaskell, DeriveGeneric, DeriveAnyClass #-} module Main where impo...
Usage generics from function type declaration in function body Usage generics from function type declaration in function body haskell function Flow Control.Lens Data.Default GHC.Generics Usage LANGUAGE TemplateHaskell DeriveGeneric DeriveAnyClass Main SectionedItems _section Maybe _items _subsections Show Generic Defau...
[ -0.0164794921875, 0.0157470703125, 0.01031494140625, -0.0281982421875, 0.00049591064453125, 0.004730224609375, -0.0185546875, 0.00185394287109375, 0.00897216796875, -0.030029296875, 0.0022125244140625, 0.00970458984375, 0.00823974609375, -0.0036468505859375, 0.01507568359375, -0.005035...
[ 70166, 189534, 7, 1295, 32354, 10644, 21635, 23, 14361, 1556, 142508, 17336, 27131, 866, 1755, 187423, 11, 527, 73265, 135932, 12259, 98064, 196631, 6495, 1310, 5844, 299, 140803, 140978, 2982, 58994, 83425, 1486, 22144, 17367, 88342, 262, 10...
[ 0.130126953125, 0.26416015625, 0.086181640625, 0.09930419921875, 0.18505859375, 0.1884765625, 0.165283203125, 0.0286712646484375, 0.1988525390625, 0.1038818359375, 0.1756591796875, 0.09100341796875, 0.1141357421875, 0.0321044921875, 0.0689697265625, 0.0479736328125, 0.0736083984375, ...
embed
4154106_c0
4154106
haskell
0
Title: Error: Couldn't match expected type Eval [a]' against inferred type() Problem title: Error: Couldn't match expected type Eval [a]' against inferred type() Tags: haskell Problem: Error: Couldn't match expected type Eval [a]' against inferred type() What is this error? 1.hs:41:30: Couldn't matc...
Error: Couldn't match expected type Eval [a]' against inferred type() Error: Couldn't match expected type Eval [a]' against inferred type() haskell Control.Exception Control.Parallel Text.Printf System.CPUTime Data.List IO Data.Char Control.DeepSeq Control.Parallel.Strategies Error Couldn Eval Main ...
[ -0.007110595703125, 0.005401611328125, 0.0081787109375, 0.0030364990234375, 0.00604248046875, -0.0196533203125, -0.004852294921875, -0.0274658203125, 0.0162353515625, -0.034423828125, 0.00262451171875, 0.0111083984375, 0.0260009765625, -0.00970458984375, -0.00799560546875, -0.005432128...
[ 212059, 191147, 19, 3768, 18, 14858, 84751, 10644, 241, 1405, 11, 54764, 26548, 53498, 2822, 1556, 142508, 27131, 63928, 1229, 24129, 112079, 420, 12353, 124599, 3602, 11809, 154663, 17780, 84068, 864, 31828, 12321, 212467, 159415, 107172, 4272...
[ 0.1885986328125, 0.13623046875, 0.0426025390625, 0.1307373046875, 0.114013671875, 0.2181396484375, 0.182861328125, 0.18310546875, 0.1258544921875, 0.251708984375, 0.1280517578125, 0.00286865234375, 0.205078125, 0.19580078125, 0.125244140625, 0.0894775390625, 0.2060546875, 0.1538085...
embed
78573266_c1
78573266
haskell
1
fixL $ binary (ArithOp . Conj) TokConj , InfixL $ binary (ArithOp . ConjU) TokConjU -- || , InfixL $ binary (ArithOp . Disj) TokDisj , InfixL $ binary (ArithOp . DisjU) TokDisjU ] -- => , [ InfixR $ binary (ArithOp . Implies) TokImpl , InfixR $ binary (ArithOp . ImpliesU) TokImplU -- <=> , InfixL $ binary (ChainOp . EQ...
fixL $ binary (ArithOp . Conj) TokConj , InfixL $ binary (ArithOp . ConjU) TokConjU -- || , InfixL $ binary (ArithOp . Disj) TokDisj , InfixL $ binary (ArithOp . DisjU) TokDisjU ] -- => , [ InfixR $ binary (ArithOp . Implies) TokImpl , InfixR $ binary (ArithOp . ImpliesU) TokImplU -- <=> , InfixL $ binary (ChainOp . EQ...
[ 0.007781982421875, -0.015869140625, 0.01092529296875, 0.011962890625, 0.006622314453125, 0.0179443359375, -0.001800537109375, -0.01953125, 0.0123291015625, -0.0037689208984375, -0.006866455078125, 0.0181884765625, 0.015625, -0.003265380859375, 0.003997802734375, 0.025146484375, -0.02...
[ 30022, 866, 3650, 2394, 6635, 7614, 8962, 39029, 1657, 170, 66196, 11935, 360, 55923, 1062, 6206, 44456, 1052, 29128, 128878, 141, 62467, 178102, 10752, 254, 116, 8562, 39933, 1172, 4841, 73, 3638, 91, 145581, 40946, 1608, 14653, 4426, 876,...
[ 0.223388671875, 0.1707763671875, 0.15576171875, 0.1712646484375, 0.1116943359375, 0.035919189453125, 0.143310546875, 0.2181396484375, 0.084716796875, 0.210693359375, 0.1817626953125, 0.1376953125, 0.0865478515625, 0.2218017578125, 0.1072998046875, 0.03289794921875, 0.05828857421875, ...
embed
54589842_c0
54589842
haskell
0
Title: Getting Haskell record fields based on their type Problem title: Getting Haskell record fields based on their type Tags: typeclass, haskell Problem: Getting Haskell record fields based on their type I would like to define a typeclass for accessing specific fields in records based on their type. In this toy examp...
Getting Haskell record fields based on their type Getting Haskell record fields based on their type typeclass haskell Getting Haskell Money Double Name ErrMsg HasFailable Either SomeRecord SomeOtherRecord SomeOtherOtherRecord Right John Getting Haskell record fields based on their type I would like to define a typeclas...
[ -0.017578125, -0.01904296875, -0.001983642578125, -0.00213623046875, -0.00836181640625, 0.0107421875, -0.020751953125, 0.016845703125, 0.003326416015625, -0.0274658203125, 0.00146484375, -0.029296875, 0.00439453125, -0.01483154296875, -0.0081787109375, -0.0262451171875, 0.00352478027...
[ 210732, 20625, 142508, 17164, 44457, 35509, 98, 2363, 10644, 67413, 1556, 81669, 107172, 15757, 1004, 7, 17647, 379, 2886, 9319, 31384, 32271, 90911, 4939, 1884, 61924, 17203, 214, 29458, 23, 115923, 72713, 27781, 190355, 4565, 831, 13379, 12...
[ 0.1204833984375, 0.134765625, 0.2396240234375, 0.212890625, 0.2239990234375, 0.1517333984375, 0.05328369140625, 0.07958984375, 0.2457275390625, 0.2435302734375, 0.129638671875, 0.1671142578125, 0.10504150390625, 0.1275634765625, 0.051025390625, 0.030609130859375, 0.0916748046875, 0...
embed
12788181_c1
12788181
haskell
1
= runParser expr () "" s expr :: ParsecT T.Text () Identity Expr expr = whiteSpace >> choice [do _ <- char '$' AntiIden <$> identifier ,Num <$> natural ,Iden <$> identifier ] identifier :: ParsecT T.Text () Identity T.Text identifier = T.pack <$> P.identifier lexer natural :: ParsecT T.Text () Identity Integer natural...
= runParser expr () "" s expr :: ParsecT T.Text () Identity Expr expr = whiteSpace >> choice [do _ <- char '$' AntiIden <$> identifier ,Num <$> natural ,Iden <$> identifier ] identifier :: ParsecT T.Text () Identity T.Text identifier = T.pack <$> P.identifier lexer natural :: ParsecT T.Text () Identity Integer natural...
[ -0.0201416015625, 0, -0.0034942626953125, 0.0260009765625, -0.0028076171875, 0.0234375, -0.005096435546875, 0.010986328125, 0.00799560546875, -0.016357421875, 0.00244140625, 0.03125, -0.0257568359375, -0.02734375, 0.0167236328125, 0.0203857421875, 0.00140380859375, 0.00405883789062...
[ 2203, 11675, 28636, 2189, 14700, 42, 91, 1984, 2392, 39797, 618, 384, 174379, 71257, 2481, 60075, 35011, 141012, 6396, 44126, 246, 21441, 4369, 8332, 568, 555, 42485, 316, 6083, 29102, 436, 95, 34058, 44401, 84832, 1098, 1937, 187423, 10393...
[ 0.07568359375, 0.1536865234375, 0.201171875, 0.177978515625, 0.1243896484375, 0.137939453125, 0.041778564453125, 0.00439453125, 0.1102294921875, 0.140625, 0.1519775390625, 0.114990234375, 0.2318115234375, 0.2083740234375, 0.089111328125, 0.1097412109375, 0.0853271484375, 0.17749023...
embed
12800399_c0
12800399
haskell
0
Title: yesod install fails Problem title: yesod install fails Tags: haskell, yesod Problem: yesod install fails I generally find that cabal install's for more than half of big packages fail, rather a fatal flaw to new users! This time I am trying to install yesod, any hints? > cabal install yesod ... Loading package ti...
yesod install fails yesod install fails haskell yesod Loading time-1.2.0.5 GHCi _get_current_timezone_seconds Users AppData Roaming ghc-7.4.1 HStime-1.2.0.5.o Specifying package.conf Exiting Sorry Error authenticate-1.3.1.1 http-conduit-1.6.1.1 ExitFailure yesod-1.1.1.2 yesod-core-1.1.2.1 yesod-auth-1.1.1.1 yesod-form-...
[ -0.00860595703125, 0.007080078125, 0.01226806640625, 0.001495361328125, -0.0242919921875, -0.01055908203125, -0.01312255859375, -0.006744384765625, -0.01177978515625, -0.0020751953125, 0.0069580078125, -0.02978515625, -0.00160980224609375, -0.009765625, 0.00191497802734375, 0.013366699...
[ 2422, 23722, 20600, 35782, 7, 1556, 142508, 228006, 1733, 48400, 93645, 527, 73265, 14, 3794, 163812, 6032, 18979, 191633, 53400, 5659, 137989, 2777, 302, 31380, 238, 16709, 120518, 39718, 31, 24990, 98169, 70547, 5443, 90502, 212059, 195734, ...
[ 0.1947021484375, 0.28271484375, 0.1810302734375, 0.2142333984375, 0.026153564453125, 0.1214599609375, 0.19775390625, 0.143310546875, 0.07147216796875, 0.0849609375, 0.1063232421875, 0.04876708984375, 0.090087890625, 0.09375, 0.0166473388671875, 0.123779296875, 0.1737060546875, 0.13...
embed
36531658_c0
36531658
haskell
0
Title: FP101x Lab 2 sumDigits Problem title: FP101x Lab 2 sumDigits Tags: recursion, haskell Problem: FP101x Lab 2 sumDigits I'm stuck on Lab 2 of the Functional Programming course on edX taught by Erik Meijer. I will copy paste the assignment here: In this lab, you will implement a validation algorithm for credit card...
FP101x Lab 2 sumDigits FP101x Lab 2 sumDigits recursion haskell the FP101x Lab Double Add Calculate Then Integer Bool FP101x Lab 2 sumDigits I'm stuck on Lab 2 of the Functional Programming course on edX taught by Erik Meijer. I will copy paste the assignment here: Since the final value is 0, we know that the above num...
[ -0.004364013671875, -0.00167083740234375, -0.005035400390625, -0.0196533203125, -0.0242919921875, 0.037353515625, -0.005615234375, 0.028076171875, 0.030029296875, -0.01708984375, -0.0091552734375, -0.00159454345703125, -0.017822265625, -0.0120849609375, -0.0181884765625, 0.005096435546...
[ 51006, 35046, 425, 21488, 116, 10554, 14055, 15769, 195625, 1830, 1556, 142508, 107172, 29117, 212467, 44401, 2460, 929, 179933, 28670, 10763, 27958, 15411, 2223, 1542, 189924, 27303, 11204, 4227, 71099, 95486, 2704, 34292, 757, 3714, 36917, 14...
[ 0.146240234375, 0.205322265625, 0.1192626953125, 0.167236328125, 0.136962890625, 0.1893310546875, 0.09844970703125, 0.1727294921875, 0.1595458984375, 0.0023193359375, 0.09130859375, 0.1724853515625, 0.111572265625, 0.1390380859375, 0.1334228515625, 0.1441650390625, 0.08404541015625, ...
embed
49471982_c0
49471982
haskell
0
Title: Why are some foreign functions statically linked while others are dynamically linked? Problem title: Why are some foreign functions statically linked while others are dynamically linked? Tags: haskell, libgit2 Problem: Why are some foreign functions statically linked while others are dynamically linked? I'm work...
Why are some foreign functions statically linked while others are dynamically linked? Why are some foreign functions statically linked while others are dynamically linked? haskell libgit2 Why git-bindings.c git2 libgit2 Why are some foreign functions statically linked while others are dynamically linked? I'm working on...
[ 0.01068115234375, 0.0089111328125, 0.005859375, -0.00616455078125, -0.0113525390625, 0.0147705078125, -0.0048828125, 0.006011962890625, 0.004852294921875, 0.006927490234375, -0.00689697265625, -0.035400390625, -0.01422119140625, 0.000701904296875, 0.004608154296875, 0.00138092041015625...
[ 44084, 3060, 110613, 32354, 13254, 71407, 3126, 297, 12960, 27060, 84079, 1556, 142508, 25474, 15769, 304, 62270, 128239, 7, 238, 621, 20697, 1528, 45258, 59111, 4527, 5442, 40368, 5369, 5622, 92635, 64209, 126826, 313, 11782, 563, 22724, 328...
[ 0.10986328125, 0.013153076171875, 0.20947265625, 0.2200927734375, 0.1961669921875, 0.10986328125, 0.225341796875, 0.06903076171875, 0.0947265625, 0.0638427734375, 0.1995849609375, 0.1114501953125, 0.2147216796875, 0.1458740234375, 0.27685546875, 0.1990966796875, 0.23876953125, 0.23...
embed
78803115_c1
78803115
haskell
1
dependency of dbus) [__4] next goal: semigroupoids (dependency of lens) [__4] rejecting: semigroupoids-6.0.1 (conflict: transformers==0.5.6.2, semigroupoids => transformers>=0.6.1.0 && <0.7) my understanding is as follows: several versions (the non deprecated ones) of transformers were discarded, going from most recent...
as follows: several versions (the non deprecated ones) of transformers were discarded, going from most recent 0.6.1.1 down to 0.6.0.2 , and finally 0.5.6.2 was picked up as it is within the bounds I have in my .cabal file, i.e. transformers >=0.5.6 && <0.6 ; dbus , however, whose most recent version is still within th...
[ -0.0037078857421875, 0.020751953125, 0.0179443359375, 0.0133056640625, -0.00008106231689453125, 0.01141357421875, -0.0189208984375, -0.01025390625, -0.00506591796875, 0.03173828125, 0.017822265625, -0.0235595703125, 0.00994873046875, 0.012451171875, 0.009765625, 0.004730224609375, 0....
[ 28960, 40368, 11389, 7, 351, 8, 4692, 27198, 1314, 17116, 5861, 297, 17309, 122887, 83783, 7565, 5, 133684, 77681, 81730, 178121, 171739, 1257, 28032, 99091, 408, 3571, 11435, 145407, 124525, 104, 4223, 49903, 7464, 72516, 48733, 158, 2816, ...
[ 0.0323486328125, 0.05657958984375, 0.2005615234375, 0.0226898193359375, 0.03778076171875, 0.008453369140625, 0.035491943359375, 0.268310546875, 0.18701171875, 0.04119873046875, 0.1151123046875, 0.036865234375, 0.06036376953125, 0.188720703125, 0.1583251953125, 0.078369140625, 0.03359...
embed
59437971_c0
59437971
haskell
0
Title: Constraint implication as a constraint Problem title: Constraint implication as a constraint Tags: haskell, rank-n-types, ghc Problem: Constraint implication as a constraint How can I encode a constraint implication in Haskell into a new constraint? In my example, I want to require that every Functor c d f needs...
Constraint implication as a constraint Constraint implication as a constraint haskell rank-n-types ghc Prelude Data.Kind a the doublefmap Constraint Functor Obj LANGUAGE AllowAmbiguousTypes KindSignatures MultiParamTypeClasses RankNTypes ScopedTypeVariables TypeApplications TypeFamilies QuantifiedConstraints Category M...
[ 0.005157470703125, -0.027587890625, -0.0106201171875, 0.01239013671875, 0.01513671875, 0.00421142578125, -0.022216796875, -0.002960205078125, 0.007110595703125, -0.01263427734375, -0.0223388671875, -0.0184326171875, -0.01483154296875, -0.0006256103515625, 0, 0.00958251953125, -0.0070...
[ 1657, 2816, 4288, 17914, 1363, 237, 10, 158, 1556, 142508, 30648, 19, 50986, 31380, 238, 1914, 822, 11809, 7250, 41929, 62346, 28670, 18770, 3545, 170, 98064, 41566, 150567, 12282, 196707, 27435, 218723, 19335, 140803, 134405, 182783, 81827, ...
[ 0.119140625, 0.2548828125, 0.16943359375, 0.2490234375, 0.06884765625, 0.10107421875, 0.0288543701171875, 0.1201171875, 0.1241455078125, 0.251953125, 0.163330078125, 0.00311279296875, 0.15283203125, 0.053009033203125, 0.0306854248046875, 0.027130126953125, 0.07757568359375, 0.08593...
embed
24559535_c0
24559535
haskell
0
Title: Proper tagged AST Problem title: Proper tagged AST Tags: abstract-syntax-tree, gadt, haskell, monads, name-binding Problem: Proper tagged AST I’ve been trying to build tagged AST for a while now. Let’s introduce the issue: data E a = V a | LitInt Int | LitBool Bool | FooIntBool (E a) (E a) -- er… deriving (Eq,Sh...
Proper tagged AST Proper tagged AST abstract-syntax-tree gadt haskell monads name-binding Proper AST LitInt LitBool Bool FooIntBool Show Monad Proper tagged AST I’ve been trying to build tagged AST for a while now. Let’s introduce the issue: The issue with that piece of code, to me, resides in FooIntBool . The idea is ...
[ -0.017822265625, -0.0052490234375, 0.0103759765625, 0.002166748046875, 0.0284423828125, -0.002105712890625, -0.021728515625, 0.000782012939453125, 0.001953125, -0.0277099609375, 0.02294921875, -0.0213623046875, -0.0213623046875, 0.01708984375, 0.01708984375, 0.007080078125, -0.003234...
[ 1250, 1264, 113005, 48963, 164789, 12654, 86531, 62600, 914, 13384, 1556, 142508, 2667, 712, 9351, 128239, 27668, 4153, 18, 12647, 929, 2460, 9572, 17367, 60331, 71, 31577, 45367, 12960, 65508, 31089, 63847, 18151, 157176, 31, 6528, 51776, 23...
[ 0.09912109375, 0.1597900390625, 0.2401123046875, 0.2056884765625, 0.1375732421875, 0.009185791015625, 0.1077880859375, 0.138427734375, 0.03564453125, 0.1448974609375, 0.0672607421875, 0.1661376953125, 0.1005859375, 0.1280517578125, 0.0736083984375, 0.1663818359375, 0.0885009765625, ...
embed
51128360_c0
51128360
haskell
0
Title: Haskell type instance failed to resolve Problem title: Haskell type instance failed to resolve Tags: type-families, haskell, recursion-schemes Problem: Haskell type instance failed to resolve I'm trying to create a Cofree structure by anamorphism, according to this post . But the compiler complains about type mi...
Haskell type instance failed to resolve Haskell type instance failed to resolve type-families haskell recursion-schemes qualified Haskell Cofree Expected Base Term Fix Actual CofreeF Control.Comonad.Trans.Cofree Maybe COFREEF.Cofree COFREEF.CofreeF Couldn Compose Data.Functor.Identity.Identity Haskell type instance fai...
[ 0.00138092041015625, -0.0086669921875, 0.0194091796875, 0.006591796875, 0.0130615234375, -0.024169921875, -0.024169921875, -0.00311279296875, 0.00439453125, -0.007659912109375, -0.01287841796875, -0.0186767578125, 0.01214599609375, 0.009033203125, -0.000949859619140625, -0.02587890625,...
[ 20625, 142508, 10644, 110527, 165523, 47, 103608, 69128, 1556, 195625, 1830, 7560, 3716, 217225, 1311, 32087, 60075, 13, 44978, 2994, 96746, 100582, 919, 27131, 191, 712, 62624, 10625, 83425, 8244, 148776, 191147, 15612, 11809, 97249, 18770, 37...
[ 0.113037109375, 0.234130859375, 0.2274169921875, 0.2186279296875, 0.18798828125, 0.0186004638671875, 0.2215576171875, 0.1007080078125, 0.103515625, 0.167724609375, 0.051971435546875, 0.115234375, 0.0865478515625, 0.1202392578125, 0.05712890625, 0.219482421875, 0.047027587890625, 0....
embed
41776516_c0
41776516
haskell
0
Title: Stack not resolving dependencies properly Problem title: Stack not resolving dependencies properly Tags: dependency-management, haskell, hakyll, haskell-stack Problem: Stack not resolving dependencies properly I'm trying to set up Hakyll on a fresh Ubuntu 16.04 instance, but I can't seem to get the Stack-based s...
Stack not resolving dependencies properly Stack not resolving dependencies properly dependency-management haskell hakyll haskell-stack Stack Error While hakyll-4.9.3.0 http-conduit-2.1.11 Plan http-conduit-2.2.3 http-client-0.4.31.2 http-client-tls-0.2.4.1 x86_64-linux ghc-8.0.1 PATH Stack not resolving dependencies pr...
[ -0.0208740234375, 0.01092529296875, 0.005462646484375, -0.0037841796875, -0.00982666015625, -0.00112152099609375, -0.0240478515625, -0.0020599365234375, -0.005401611328125, 0.017578125, -0.0028533935546875, -0.01470947265625, 0.0205078125, 0.0106201171875, 0.0029144287109375, 0.0202636...
[ 6512, 2594, 959, 166996, 449, 42548, 117538, 155965, 27771, 87140, 1556, 142508, 256, 1002, 1181, 590, 212059, 51404, 156982, 132265, 1621, 2271, 112061, 68107, 1662, 5586, 120883, 222978, 158406, 48400, 18, 8080, 133684, 120518, 15276, 13307, ...
[ 0.2314453125, 0.227783203125, 0.147705078125, 0.2318115234375, 0.08740234375, 0.255126953125, 0.13916015625, 0.1917724609375, 0.107666015625, 0.1527099609375, 0.1317138671875, 0.2352294921875, 0.1295166015625, 0.1881103515625, 0.2230224609375, 0.1759033203125, 0.177978515625, 0.028...
embed
73244177_c0
73244177
haskell
0
Title: Capturing typeclass dictionaries Problem title: Capturing typeclass dictionaries Tags: haskell, typeclass Problem: Capturing typeclass dictionaries Below is code that will happily compile (once adding the constraints package). Foo1 and Foo2 are two alternate definitions of Foo , which I can write f1 and f2 sensi...
Capturing typeclass dictionaries Capturing typeclass dictionaries haskell typeclass Data.Constraint Data.Proxy Capturing Foo1 Foo2 Foo Foo3 Dict Proxy LANGUAGE ScopedTypeVariables Alice Silly mkFoo3 Capturing typeclass dictionaries Below is code that will happily compile (once adding the constraints package). Foo1 and ...
[ 0.0030975341796875, 0.00518798828125, -0.00994873046875, 0.00811767578125, 0.013671875, -0.0147705078125, -0.00537109375, 0.0086669921875, -0.0028076171875, -0.0189208984375, -0.01904296875, -0.0283203125, -0.02001953125, 0.012451171875, 0.01055908203125, 0.002166748046875, 0.0065002...
[ 14304, 109561, 10644, 67413, 45, 10763, 11, 1556, 142508, 11809, 2816, 10752, 50878, 9572, 31, 418, 304, 363, 60897, 18, 1250, 98064, 182783, 196707, 81827, 66083, 602, 12097, 19201, 27591, 18151, 256, 7520, 9969, 154107, 158, 4288, 98169, ...
[ 0.08837890625, 0.03179931640625, 0.1612548828125, 0.2108154296875, 0.031982421875, 0.07861328125, 0.0183868408203125, 0.070556640625, 0.224365234375, 0.04364013671875, 0.1456298828125, 0.070068359375, 0.2042236328125, 0.186279296875, 0.153564453125, 0.0860595703125, 0.1219482421875, ...
embed
47700598_c0
47700598
haskell
0
Title: Haskell: app build troubleshooting (docker primer) Problem title: Haskell: app build troubleshooting (docker primer) Tags: build, docker, haskell-stack, haskell Problem: Haskell: app build troubleshooting (docker primer) How am I supposed to go about troubleshooting if an imported library won't build? $ stack ne...
Haskell: app build troubleshooting (docker primer) Haskell: app build troubleshooting (docker primer) build docker haskell-stack haskell Turtle Haskell Main.hs LANGUAGE OverloadedStrings Main any-tool.cabal Haskell2010 clock-0.7.2 hashable-1.2.6.1 Progress While Setup.hs x86_64-linux-tinfo6-nopie Cabal-simple_mPHDZzAJ_...
[ -0.0086669921875, 0.020751953125, -0.003631591796875, 0.0155029296875, -0.006683349609375, 0.0018310546875, -0.01708984375, -0.020263671875, 0.0045166015625, 0.01953125, -0.002105712890625, -0.029296875, 0.0228271484375, 0.0198974609375, 0.003936767578125, 0.005828857421875, 0.004089...
[ 20625, 142508, 12, 4027, 45367, 63134, 105727, 246, 11050, 4809, 54, 1556, 590, 4252, 17991, 12321, 127, 98064, 9578, 63033, 71713, 2499, 89110, 408, 3571, 11436, 21135, 179642, 48400, 173245, 109816, 19943, 15276, 13307, 2397, 6077, 7319, 91...
[ 0.1275634765625, 0.25634765625, 0.0059814453125, 0.11474609375, 0.2349853515625, 0.166748046875, 0.1641845703125, 0.0352783203125, 0.1630859375, 0.171875, 0.0311431884765625, 0.09710693359375, 0.01800537109375, 0.15185546875, 0.202392578125, 0.12744140625, 0.1038818359375, 0.073242...
embed
79322933_c0
79322933
haskell
0
Title: Why does Haskell allow a function to be defined with a (seemingly) non-existent type? Problem title: Why does Haskell allow a function to be defined with a (seemingly) non-existent type? Tags: function, haskell Problem: Why does Haskell allow a function to be defined with a (seemingly) non-existent type? Apologi...
Why does Haskell allow a function to be defined with a (seemingly) non-existent type? Why does Haskell allow a function to be defined with a (seemingly) non-existent type? function haskell Why Haskell Num Why does Haskell allow a function to be defined with a (seemingly) non-existent type? Apologies in advance if this ...
[ -0.010009765625, 0.00286865234375, 0.0067138671875, 0.0096435546875, 0.01153564453125, 0.018310546875, 0.00025177001953125, 0.006866455078125, 0.0016021728515625, -0.00159454345703125, -0.002960205078125, -0.0400390625, 0.01416015625, -0.0125732421875, -0.005401611328125, -0.0314941406...
[ 44084, 20625, 142508, 63769, 32354, 61924, 71, 678, 21231, 14578, 351, 201367, 10644, 1556, 52782, 62822, 3525, 28007, 527, 73265, 14, 27998, 2806, 84751, 104250, 18499, 6626, 8781, 1238, 136, 706, 51776, 10750, 1632, 4734, 30646, 32399, 3784...
[ 0.125, 0.139892578125, 0.27099609375, 0.138427734375, 0.216796875, 0.2177734375, 0.05517578125, 0.0780029296875, 0.06353759765625, 0.09521484375, 0.1168212890625, 0.2103271484375, 0.214599609375, 0.1373291015625, 0.2218017578125, 0.00714111328125, 0.001129150390625, 0.07666015625, ...
embed
12080512_c0
12080512
haskell
0
Title: Ignoring XML attributes with HXT unpickler Problem title: Ignoring XML attributes with HXT unpickler Tags: hxt, xml, haskell Problem: Ignoring XML attributes with HXT unpickler I'm writing a small application that aims to scrape XML from multiple sites and then process the data in a way I want it to. I made such...
Ignoring XML attributes with HXT unpickler Ignoring XML attributes with HXT unpickler hxt xml haskell Ignoring XML HXT Text.XML.HXT.Arrow.XmlState.SystemConfig Ignoring XML attributes with HXT unpickler I'm writing a small application that aims to scrape XML from multiple sites and then process the data in a way I want...
[ -0.006561279296875, 0.005706787109375, -0.00665283203125, -0.0245361328125, -0.002593994140625, 0.00970458984375, 0.00872802734375, -0.0201416015625, -0.0169677734375, -0.003387451171875, -0.0030670166015625, -0.0172119140625, -0.0111083984375, 0.0115966796875, -0.0257568359375, 0.0059...
[ 87, 11137, 2852, 92537, 150380, 90, 678, 572, 70981, 51, 18695, 28329, 1096, 29062, 131492, 1556, 142508, 24129, 1542, 39456, 841, 7614, 15555, 7237, 135206, 84293, 83671, 32562, 19336, 38415, 131264, 120948, 48716, 15271, 9433, 2053, 3917, 3...
[ 0.032318115234375, 0.177978515625, 0.0150604248046875, 0.26123046875, 0.2147216796875, 0.01263427734375, 0.0452880859375, 0.1153564453125, 0.2340087890625, 0.101318359375, 0.170166015625, 0.2166748046875, 0.041961669921875, 0.1810302734375, 0.139892578125, 0.1124267578125, 0.17150878...
embed
17886307_c1
17886307
haskell
1
user:password' "sftp://[redacted]/~/test.txt" Succeeds * About to connect() to [redacted] port 22 (#0) * Trying [redacted]... connected * Connected to [redacted] ([redacted]) port 22 (#0) * Failed to read known hosts from [redacted] * SSH host check: 0, key: [redacted] * SSH authentication methods available: gssapi-key...
user:password' "sftp://[redacted]/~/test.txt" Succeeds * About to connect() to [redacted] port 22 (#0) * Trying [redacted]... connected * Connected to [redacted] ([redacted]) port 22 (#0) * Failed to read known hosts from [redacted] * SSH host check: 0, key: [redacted] * SSH authentication methods available: gssapi-key...
[ 0.0050048828125, 0.004974365234375, 0.01129150390625, -0.00176239013671875, 0.0076904296875, -0.0281982421875, -0.02197265625, 0.00102996826171875, 0.0020599365234375, 0.029052734375, 0.0032196044921875, -0.0240478515625, -0.03076171875, 0.004638671875, -0.00830078125, -0.0067749023437...
[ 38937, 13409, 47416, 25, 2480, 254, 696, 85, 6954, 124326, 103544, 329, 56888, 37067, 11469, 1039, 77495, 40858, 27, 162711, 62448, 4904, 190355, 12301, 51529, 27980, 159, 12927, 12765, 757, 22799, 195734, 150624, 19882, 1434, 19770, 3355, 76...
[ 0.1500244140625, 0.0714111328125, 0.154541015625, 0.002655029296875, 0.088134765625, 0.1429443359375, 0.000152587890625, 0.05841064453125, 0.1522216796875, 0.122802734375, 0.06378173828125, 0.0899658203125, 0.1287841796875, 0.1712646484375, 0.1614990234375, 0.220458984375, 0.11267089...
embed
41215314_c1
41215314
haskell
1
thead> <tr><td>Name</td><td>Favorite Rock</td></tr> </thead> <tbody> <tr id="rock1"> <td>Fred</td> <td>Igneous</td> </tr> <tr id="rock2"> <td>Bill</td> <td>Sedimentary</td> </tr> </tbody> </table> </body> </html> Here's the code I'm trying, along with 2 different approaches to parsing this. First, imports ... {-# LANGU...
thead> <tr><td>Name</td><td>Favorite Rock</td></tr> </thead> <tbody> <tr id="rock1"> <td>Fred</td> <td>Igneous</td> </tr> <tr id="rock2"> <td>Bill</td> <td>Sedimentary</td> </tr> </tbody> </table> </body> </html> Here's the code I'm trying, along with 2 different approaches to parsing this. First, imports ... {-# LANGU...
[ 0.015869140625, 0.025634765625, -0.0081787109375, -0.0036468505859375, 0.0184326171875, 0.003509521484375, -0.0003452301025390625, -0.007232666015625, 0.01007080078125, -0.038330078125, 0.00823974609375, -0.005279541015625, -0.017333984375, 0.00518798828125, -0.00738525390625, -0.00735...
[ 70, 712, 4448, 163612, 17647, 69998, 67, 14434, 31251, 37873, 32491, 2822, 71, 16123, 10821, 304, 192948, 428, 53470, 22819, 7693, 18151, 31577, 116, 12921, 51515, 366, 6953, 903, 24927, 98064, 1172, 15555, 9578, 63033, 71713, 5180, 1310, 1...
[ 0.07958984375, 0.0645751953125, 0.054962158203125, 0.083984375, 0.129638671875, 0.2293701171875, 0.1488037109375, 0.2347412109375, 0.0662841796875, 0.10662841796875, 0.1470947265625, 0.121337890625, 0.00732421875, 0.150390625, 0.1973876953125, 0.04443359375, 0.16162109375, 0.096313...
embed
59654051_c0
59654051
haskell
0
Title: How do I turn this regex into a Megaparsec parser without making a mess? Problem title: How do I turn this regex into a Megaparsec parser without making a mess? Tags: regex, parser-combinators, megaparsec, haskell, backtracking Problem: How do I turn this regex into a Megaparsec parser without making a mess? Con...
How do I turn this regex into a Megaparsec parser without making a mess? How do I turn this regex into a Megaparsec parser without making a mess? regex parser-combinators megaparsec haskell backtracking TrivialError Text.Regex.Applicative Text.ParserCombinators.ReadP Text.Megaparsec How Megaparsec ReadP Just readP_to_S...
[ -0.022216796875, -0.011962890625, -0.00927734375, 0.018310546875, -0.0174560546875, 0.0118408203125, -0.00946044921875, -0.01287841796875, 0.02392578125, -0.0108642578125, -0.017578125, 0.023681640625, 0.0157470703125, 0.005340576171875, -0.01336669921875, 0.007354736328125, 0.004699...
[ 11249, 15504, 903, 6835, 3355, 3934, 26842, 2500, 39797, 366, 2189, 15490, 2409, 7, 10, 19155, 22230, 31534, 1556, 142508, 4420, 125728, 686, 18468, 31611, 24129, 54601, 11048, 28636, 31345, 683, 6696, 208, 4764, 9563, 12301, 188, 294, 5941...
[ 0.013519287109375, 0.139404296875, 0.05584716796875, 0.1563720703125, 0.1900634765625, 0.10467529296875, 0.1751708984375, 0.1407470703125, 0.2274169921875, 0.152587890625, 0.2122802734375, 0.036376953125, 0.1488037109375, 0.04205322265625, 0.011077880859375, 0.147705078125, 0.0072326...
embed
52186329_c0
52186329
haskell
0
Title: Parallel Haskell with HXT Problem title: Parallel Haskell with HXT Tags: haskell, hxt, parallel-processing Problem: Parallel Haskell with HXT I'm trying to get performance increases in a program I have that parses XML. The program can parse multiple XML files so I thought that I could make this run in parallel, ...
Parallel Haskell with HXT Parallel Haskell with HXT haskell hxt parallel-processing Parallel Haskell HXT FilePath CV_scene Scene CV_layer Time Show Layer DirtyRects SourceCrop Rect Left Top Width Height NFData DirtyRect Int64 Parallel Haskell with HXT I'm trying to get performance increases in a program I have that par...
[ -0.004638671875, 0.0172119140625, -0.013916015625, -0.005401611328125, 0.0003910064697265625, 0.027099609375, -0.006103515625, -0.0299072265625, 0.000499725341796875, -0.04443359375, 0.0152587890625, 0.005859375, 0.0184326171875, 0.01153564453125, -0.00555419921875, 0.01312255859375, ...
[ 211485, 20625, 142508, 678, 572, 70981, 1556, 1096, 29062, 95103, 63923, 42724, 683, 10519, 27479, 31146, 178460, 5259, 19055, 17367, 8889, 19946, 939, 1052, 24762, 77641, 28437, 48224, 2480, 4792, 58302, 1529, 73493, 137989, 13307, 31577, 2046...
[ 0.235107421875, 0.16650390625, 0.270263671875, 0.1175537109375, 0.153076171875, 0.278076171875, 0.1107177734375, 0.1051025390625, 0.2364501953125, 0.251708984375, 0.132080078125, 0.136474609375, 0.06427001953125, 0.155029296875, 0.1497802734375, 0.110595703125, 0.1444091796875, 0.1...
embed
60174778_c0
60174778
haskell
0
Title: Building a Haskell nix expression from GitHub fails when passing optional build argument Problem title: Building a Haskell nix expression from GitHub fails when passing optional build argument Tags: haskell, nix, github Problem: Building a Haskell nix expression from GitHub fails when passing optional build argu...
Building a Haskell nix expression from GitHub fails when passing optional build argument Building a Haskell nix expression from GitHub fails when passing optional build argument haskell nix github GitHub Building Haskell haskellPackages.callPackage default.nix SimulaVR df592f8e12647ed58d7ba6da4cf40a382d83725e sha256 xn...
[ -0.019287109375, 0.01611328125, 0.01104736328125, -0.0283203125, -0.004119873046875, 0.0107421875, 0.00848388671875, -0.021484375, -0.0172119140625, 0.003570556640625, 0.010498046875, -0.043212890625, 0.00836181640625, -0.00244140625, -0.000286102294921875, 0.00421142578125, 0.021484...
[ 104919, 20625, 142508, 300, 425, 125195, 1295, 527, 217, 140505, 35782, 3229, 452, 35829, 289, 45367, 10750, 1556, 62270, 32102, 205956, 85763, 114977, 93, 144814, 35930, 192616, 127892, 60427, 19721, 9405, 3249, 29102, 19308, 27592, 15649, 339...
[ 0.1829833984375, 0.1207275390625, 0.215576171875, 0.13916015625, 0.1690673828125, 0.2060546875, 0.07037353515625, 0.043609619140625, 0.099365234375, 0.1973876953125, 0.1783447265625, 0.02972412109375, 0.05609130859375, 0.165283203125, 0.044525146484375, 0.1751708984375, 0.1806640625,...
embed
24050141_c0
24050141
haskell
0
Title: How can I conditionally apply a conduit? Problem title: How can I conditionally apply a conduit? Tags: haskell, conduit Problem: How can I conditionally apply a conduit? I have a Conduit of type Conduit a m a and a function of type (a -> Maybe a) . I want to run the function, and then if it returns Nothing, use ...
How can I conditionally apply a conduit? How can I conditionally apply a conduit? haskell conduit How Conduit Maybe IRC.Message ClientSettings IRC.decode IRC.encode Just IRC.Server PING IRC.pong Nothing ByteString How can I conditionally apply a conduit? I have a Conduit of type Conduit a m a and a function of type (a ...
[ -0.0142822265625, -0.004638671875, 0.0084228515625, 0.0181884765625, -0.0020599365234375, 0.020263671875, -0.011962890625, 0.002197265625, -0.0004138946533203125, -0.006011962890625, -0.0018463134765625, 0.00070953369140625, 0.006744384765625, -0.005126953125, 0.0025787353515625, 0.003...
[ 11249, 831, 35431, 25958, 59911, 10, 120565, 87, 1556, 142508, 1657, 112061, 83425, 25740, 6011, 91732, 105548, 112, 40899, 9563, 193348, 212003, 87700, 182747, 3311, 67, 71713, 10644, 347, 32354, 11, 33079, 3444, 11675, 2174, 30646, 4527, 70...
[ 0.1092529296875, 0.1087646484375, 0.2294921875, 0.1959228515625, 0.239013671875, 0.1083984375, 0.312744140625, 0.05181884765625, 0.1282958984375, 0.23193359375, 0.1339111328125, 0.2509765625, 0.228271484375, 0.1556396484375, 0.05487060546875, 0.083251953125, 0.1099853515625, 0.0979...
embed
25369283_c0
25369283
haskell
0
Title: Haskell type annotation in function Problem title: Haskell type annotation in function Tags: haskell Problem: Haskell type annotation in function Haskell doesn't seem to recognize my type annotation below. Why is this? Here Runner is a wrapper for a function, with a default starting value for c (a "continuant")....
Haskell type annotation in function Haskell type annotation in function haskell a the Haskell ExitCode Fail Success Show Runner Pointed point::c Could Runner.hs:39:8-44 Possible Haskell type annotation in function Haskell doesn't seem to recognize my type annotation below. Why is this? Here Runner is a wrapper for a fu...
[ -0.00732421875, -0.00106048583984375, 0.01080322265625, -0.0120849609375, -0.0004825592041015625, -0.00408935546875, -0.031982421875, -0.0130615234375, -0.009521484375, -0.0247802734375, -0.01007080078125, -0.016845703125, -0.0089111328125, 0.003936767578125, -0.006378173828125, -0.019...
[ 20625, 142508, 10644, 8668, 22062, 32354, 1556, 10, 5443, 217, 114211, 190355, 144053, 17367, 208545, 41097, 6275, 238, 191147, 127, 34539, 1019, 12465, 18, 125296, 35064, 44084, 137565, 1264, 114977, 72134, 34292, 501, 133891, 1690, 62346, 344...
[ 0.128173828125, 0.22216796875, 0.2030029296875, 0.180908203125, 0.0838623046875, 0.1668701171875, 0.1258544921875, 0.09228515625, 0.1068115234375, 0.06982421875, 0.1434326171875, 0.16357421875, 0.160400390625, 0.07806396484375, 0.263916015625, 0.1461181640625, 0.125, 0.049133300781...
embed
58343835_c0
58343835
haskell
0
Title: Understanding this implemented recursive-descent parser in Haskell Problem title: Understanding this implemented recursive-descent parser in Haskell Tags: parsing, recursive-descent, haskell, abstract-syntax-tree Problem: Understanding this implemented recursive-descent parser in Haskell I had an assignment prob...
Understanding this implemented recursive-descent parser in Haskell Understanding this implemented recursive-descent parser in Haskell parsing recursive-descent haskell abstract-syntax-tree Understanding Haskell Ast Tall Sum Mult Min Show Empty x:rs Syntax Understanding this implemented recursive-descent parser in Haske...
[ -0.00506591796875, 0.00341796875, -0.004913330078125, 0.00701904296875, -0.004486083984375, 0.00933837890625, -0.0191650390625, -0.00439453125, 0.004150390625, -0.00787353515625, 0.0252685546875, -0.01287841796875, 0.00823974609375, -0.005584716796875, 0.00060272216796875, 0.0145874023...
[ 9626, 144057, 903, 29479, 195625, 5844, 71, 150506, 366, 2189, 20625, 142508, 1556, 164789, 12654, 86531, 62600, 271, 92229, 36335, 81212, 4211, 17367, 31678, 939, 1022, 4295, 19010, 95486, 2967, 47, 1098, 183114, 154993, 110, 22062, 479, 598...
[ 0.0609130859375, 0.038116455078125, 0.09326171875, 0.1478271484375, 0.242919921875, 0.1650390625, 0.12158203125, 0.22119140625, 0.1405029296875, 0.149658203125, 0.1224365234375, 0.2432861328125, 0.10174560546875, 0.113037109375, 0.000518798828125, 0.0853271484375, 0.1055908203125, ...
embed
45506813_c0
45506813
haskell
0
Title: Performance of Conway&#x27;s Game of Life using the Store comonad Problem title: Performance of Conway&#x27;s Game of Life using the Store comonad Tags: comonad, performance, haskell Problem: Performance of Conway's Game of Life using the Store comonad I've written a simple implementation of Conway's Game of Lif...
Performance of Conway&#x27;s Game of Life using the Store comonad Performance of Conway&#x27;s Game of Life using the Store comonad comonad performance haskell the Control.Comonad Performance Conway Game Life Store Functor Comonad Pos Bool neighbours8 Performance of Conway's Game of Life using the Store comonad I've wr...
[ -0.0230712890625, 0.00150299072265625, -0.01202392578125, 0.00128936767578125, 0.0035552978515625, -0.017578125, 0.0076904296875, -0.0026092529296875, 0.016357421875, -0.043701171875, -0.0004634857177734375, 0.044921875, 0.0093994140625, 0.00927734375, -0.01312255859375, 0.010192871093...
[ 94030, 1657, 7514, 3768, 13547, 111, 16505, 17368, 14934, 533, 9169, 23718, 1556, 142508, 27131, 10770, 191, 712, 28670, 18770, 6646, 13498, 2460, 929, 6958, 38648, 1019, 59121, 8781, 208124, 18151, 2967, 120067, 58093, 20949, 9105, 72803, 80...
[ 0.186279296875, 0.133544921875, 0.251220703125, 0.04998779296875, 0.1617431640625, 0.2008056640625, 0.1839599609375, 0.10595703125, 0.1898193359375, 0.1640625, 0.218505859375, 0.1951904296875, 0.091064453125, 0.1845703125, 0.1990966796875, 0.1007080078125, 0.1048583984375, 0.158447...
embed
61278791_c0
61278791
haskell
0
Title: Using variable from outer scope in where in do block Problem title: Using variable from outer scope in where in do block Tags: haskell, scope, do-notation, where-clause Problem: Using variable from outer scope in where in do block I'm trying to use the variable defined in the outer scope within an action defined...
Using variable from outer scope in where in do block Using variable from outer scope in where in do block haskell scope do-notation where-clause outer Using Main Variable Char Using variable from outer scope in where in do block I'm trying to use the variable defined in the outer scope within an action defined in do bl...
[ 0.02197265625, 0.0169677734375, -0.0213623046875, -0.01019287109375, 0.00213623046875, 0.0186767578125, 0.000469207763671875, 0.01409912109375, 0.0014495849609375, -0.02197265625, -0.0111083984375, -0.044677734375, 0.00007915496826171875, -0.00909423828125, 0.0157470703125, 0.001235961...
[ 345, 77336, 1295, 1810, 56, 70820, 7440, 23, 54, 46389, 1556, 142508, 157, 18347, 12321, 84572, 2886, 21656, 31577, 4527, 61924, 28032, 22631, 17368, 15400, 9969, 34759, 30646, 25632, 18499, 8912, 282, 64113, 32354, 5608, 28282, 170224, 70541...
[ 0.0703125, 0.270263671875, 0.1165771484375, 0.1895751953125, 0.167724609375, 0.23095703125, 0.1700439453125, 0.0556640625, 0.119873046875, 0.1971435546875, 0.0947265625, 0.2135009765625, 0.120849609375, 0.07080078125, 0.06219482421875, 0.156005859375, 0.0310516357421875, 0.09417724...
embed
73631463_c0
73631463
haskell
0
Title: When is `after` called? Problem title: When is `after` called? Tags: haskell Problem: When is `after` called? There is a good known function - bracket : bracket :: IO a -- ^ computation to run first (\"acquire resource\") -> (a -> IO b) -- ^ computation to run last (\"release resource\") -> (a -> IO c) -- ^ comp...
When is `after` called? When is `after` called? haskell onException the When Maybe Nothing Just When is `after` called? There is a good known function - bracket : I see two calls of after : once on an exception, the second time - _ <- after a - in all cases (with exception/without exception). I call this: And print hap...
[ -0.031982421875, 0.009765625, -0.00138092041015625, 0.002593994140625, 0.02978515625, 0.0186767578125, 0.00225830078125, 0.005645751953125, 0.00457763671875, -0.0028228759765625, 0.0036773681640625, -0.0068359375, -0.005889892578125, 0.005218505859375, 0.0169677734375, -0.0145874023437...
[ 14847, 83, 11, 46327, 35839, 1556, 142508, 98, 63928, 83425, 182747, 9563, 4127, 51529, 32354, 1620, 27853, 1957, 6626, 11782, 111, 7103, 24145, 131527, 17932, 1733, 10, 756, 50218, 76228, 6056, 28412, 96276, 4734, 15400, 678, 116, 91, 4488...
[ 0.130859375, 0.07415771484375, 0.1248779296875, 0.292236328125, 0.1983642578125, 0.1265869140625, 0.2269287109375, 0.09393310546875, 0.1617431640625, 0.144775390625, 0.1611328125, 0.07977294921875, 0.012664794921875, 0.078125, 0.138671875, 0.1278076171875, 0.176025390625, 0.0627441...
embed
35933655_c0
35933655
haskell
0
Title: How to resolve Undefined symbols for architecture x86_64: _ZCMain_main_closure? Problem title: How to resolve Undefined symbols for architecture x86_64: _ZCMain_main_closure? Tags: macos, cabal, haskell Problem: How to resolve Undefined symbols for architecture x86_64: _ZCMain_main_closure? I built a haskell cab...
How to resolve Undefined symbols for architecture x86_64: _ZCMain_main_closure? How to resolve Undefined symbols for architecture x86_64: _ZCMain_main_closure? macos cabal haskell How Undefined x86_64 _ZCMain_main_closure webrtc-vad.cabal Easy WebRTC MIT LICENSE Patrick Chilton gmail.com Sound Simple common_audio signa...
[ -0.02392578125, 0.006683349609375, -0.0118408203125, 0.015380859375, -0.01177978515625, 0.0023345947265625, -0.010498046875, 0.00994873046875, -0.007232666015625, -0.0084228515625, -0.009765625, -0.07958984375, 0.0264892578125, 0.008056640625, 0.0181884765625, 0.0118408203125, 0.0090...
[ 11249, 103608, 79912, 5983, 26582, 159958, 15276, 13307, 1511, 441, 168793, 24931, 170224, 7, 291, 7840, 109524, 1556, 142508, 1467, 3198, 238, 2113, 408, 3571, 71975, 4002, 20503, 78999, 107615, 61201, 1507, 42413, 60552, 39210, 43521, 26073, ...
[ 0.008819580078125, 0.161376953125, 0.1112060546875, 0.193115234375, 0.2244873046875, 0.130126953125, 0.220703125, 0.1920166015625, 0.077392578125, 0.040618896484375, 0.1602783203125, 0.10687255859375, 0.1708984375, 0.016387939453125, 0.0233917236328125, 0.1162109375, 0.228759765625, ...
embed
55996595_c0
55996595
haskell
0
Title: Is it possible to have a data type that has just one constructor of another data type? Problem title: Is it possible to have a data type that has just one constructor of another data type? Tags: constructor, haskell, types Problem: Is it possible to have a data type that has just one constructor of another data ...
Is it possible to have a data type that has just one constructor of another data type? Is it possible to have a data type that has just one constructor of another data type? constructor haskell types SomeDataType Constructor Blah OtherConstructor Yadda YetAnotherConstructor Tittle StillOneMoreConstructor Tattle Wish Wa...
[ 0.008544921875, 0.00909423828125, -0.0024261474609375, 0.00811767578125, 0.00640869140625, -0.0029449462890625, -0.0135498046875, -0.0096435546875, 0.010986328125, -0.035400390625, 0.0019989013671875, -0.017333984375, -0.004974365234375, -0.001220703125, -0.0296630859375, 0.00090026855...
[ 2071, 442, 7722, 765, 2053, 10644, 1556, 1660, 1632, 64549, 748, 111, 15700, 142508, 52895, 31384, 137989, 196707, 82084, 18770, 1566, 64511, 36716, 990, 11262, 63519, 126340, 2371, 46401, 50605, 62068, 122880, 1218, 174837, 5282, 127, 107172, ...
[ 0.07037353515625, 0.046478271484375, 0.19384765625, 0.0902099609375, 0.17236328125, 0.250732421875, 0.10546875, 0.127197265625, 0.1778564453125, 0.1956787109375, 0.1910400390625, 0.043792724609375, 0.165283203125, 0.2457275390625, 0.189697265625, 0.1180419921875, 0.10565185546875, ...
embed
58687538_c0
58687538
haskell
0
Title: Converting from Church Encoding to Numerals Problem title: Converting from Church Encoding to Numerals Tags: church-encoding, lambda-calculus, haskell Problem: Converting from Church Encoding to Numerals I am trying to convert Church Encoding to numerals. I have defined my own Lambda definition as follows: type ...
Converting from Church Encoding to Numerals Converting from Church Encoding to Numerals church-encoding lambda-calculus haskell Church Converting Encoding Numerals Variable Lambda Lam App Show Integer i-1 Maybe Just Exception Church.hs Non-exhaustive Converting from Church Encoding to Numerals I am trying to convert Ch...
[ -0.000946044921875, 0.003570556640625, -0.0145263671875, -0.00119781494140625, -0.00433349609375, 0.0216064453125, -0.00787353515625, 0.01483154296875, 0.00689697265625, -0.0240478515625, -0.0078125, -0.031982421875, 0.00653076171875, 0.01055908203125, 0.007568359375, 0.001785278320312...
[ 1657, 814, 1916, 1295, 84084, 357, 587, 6238, 47, 93511, 16765, 106820, 66332, 21, 6492, 85, 6827, 94739, 1556, 142508, 84572, 122930, 59387, 5659, 17367, 44401, 17, 5759, 83425, 9563, 5443, 63928, 127, 3775, 18391, 31577, 96760, 22542, 619...
[ 0.05224609375, 0.1451416015625, 0.022705078125, 0.0953369140625, 0.193115234375, 0.1011962890625, 0.189453125, 0.1220703125, 0.08660888671875, 0.2015380859375, 0.169677734375, 0.175537109375, 0.166748046875, 0.0421142578125, 0.1810302734375, 0.1510009765625, 0.0906982421875, 0.1585...
embed
5012205_c0
5012205
haskell
0
Title: Haskell: Possible fix: add (Eq a) to the context of Problem title: Haskell: Possible fix: add (Eq a) to the context of Tags: compiler-errors, typeclass, tree, haskell Problem: Haskell: Possible fix: add (Eq a) to the context of I'm kind of new to Haskell and I'm having a hard time understanding what is wrong wit...
Haskell: Possible fix: add (Eq a) to the context of Haskell: Possible fix: add (Eq a) to the context of compiler-errors typeclass tree haskell Haskell Possible BinaryTree Empty Node Bool Haskell: Possible fix: add (Eq a) to the context of I'm kind of new to Haskell and I'm having a hard time understanding what is wrong...
[ 0.012451171875, 0.002838134765625, 0.00604248046875, 0.01171875, 0.0169677734375, 0.01263427734375, 0.00156402587890625, -0.0107421875, 0.00101470947265625, 0.0001888275146484375, 0.0079345703125, -0.02490234375, 0.02001953125, 0.018798828125, 0.01239013671875, -0.0185546875, -0.0022...
[ 20625, 142508, 115861, 2661, 30022, 15190, 864, 10, 47, 43701, 9969, 34759, 188800, 10644, 67413, 53201, 1556, 54092, 1294, 62731, 31678, 939, 438, 112, 2460, 929, 3525, 7941, 100094, 44691, 18151, 80934, 2394, 6635, 32354, 44961, 3173, 19155...
[ 0.1280517578125, 0.2347412109375, 0.0887451171875, 0.062744140625, 0.1573486328125, 0.1536865234375, 0.1405029296875, 0.1649169921875, 0.038543701171875, 0.2418212890625, 0.072998046875, 0.1116943359375, 0.165283203125, 0.1708984375, 0.1534423828125, 0.220458984375, 0.10028076171875,...
embed
49301663_c0
49301663
haskell
0
Title: Why can&#x27;t I implement these functions with a Functor/Applicative constraint only? Problem title: Why can&#x27;t I implement these functions with a Functor/Applicative constraint only? Tags: haskell, monads Problem: Why can't I implement these functions with a Functor/Applicative constraint only? Consider th...
Why can&#x27;t I implement these functions with a Functor/Applicative constraint only? Why can&#x27;t I implement these functions with a Functor/Applicative constraint only? haskell monads Why Functor Applicative func6 Monad Integer func7 Just Exception Prelude.undefined Note func9 Why can't I implement these functions...
[ 0.00225830078125, 0.004119873046875, 0.0142822265625, 0.0146484375, 0.01263427734375, 0.013671875, 0.00004076957702636719, -0.01171875, 0.00897216796875, 0.0040283203125, 0.0079345703125, -0.015380859375, -0.0011138916015625, 0.0107421875, 0.0181884765625, -0.0091552734375, 0.0014953...
[ 44084, 831, 3768, 18, 29479, 6097, 32354, 678, 28670, 18770, 64, 39179, 11048, 4935, 158, 2816, 4288, 4734, 1556, 142508, 2667, 712, 7, 5659, 7477, 910, 60331, 71, 44401, 966, 9563, 5443, 63928, 1914, 822, 112, 59437, 5983, 18622, 1126, ...
[ 0.1109619140625, 0.1182861328125, 0.0294342041015625, 0.0867919921875, 0.234619140625, 0.05206298828125, 0.1978759765625, 0.09722900390625, 0.1431884765625, 0.1688232421875, 0.0304107666015625, 0.054931640625, 0.1322021484375, 0.09375, 0.049530029296875, 0.1572265625, 0.096435546875,...
embed
57826989_c0
57826989
haskell
0
Title: Stack unable to find package in snapshot when an extra-dep is specified that is out of a dependency&#x27;s version bounds Problem title: Stack unable to find package in snapshot when an extra-dep is specified that is out of a dependency&#x27;s version bounds Tags: haskell-stack, haskell Problem: Stack unable to ...
Stack unable to find package in snapshot when an extra-dep is specified that is out of a dependency&#x27;s version bounds Stack unable to find package in snapshot when an extra-dep is specified that is out of a dependency&#x27;s version bounds haskell-stack haskell time-1.9.2 Stack package.yaml lts-14.4 stack.yaml WARN...
[ -0.00860595703125, 0.0087890625, -0.005645751953125, -0.0201416015625, -0.016357421875, -0.006683349609375, -0.0108642578125, 0.016357421875, -0.003387451171875, 0.0262451171875, -0.013671875, -0.02001953125, -0.0010833740234375, 0.011962890625, 0.021484375, 0.0023956298828125, 0.012...
[ 6512, 2594, 51, 2886, 7413, 98169, 23, 76685, 72697, 4173, 112, 254, 58735, 1810, 42548, 27771, 3768, 11389, 99091, 3229, 1556, 142508, 590, 1733, 151309, 14520, 141, 96, 933, 16249, 617, 177261, 60873, 11137, 236267, 212059, 51404, 3647, 2...
[ 0.203857421875, 0.19921875, 0.0640869140625, 0.114990234375, 0.167724609375, 0.235595703125, 0.03131103515625, 0.1783447265625, 0.217529296875, 0.129638671875, 0.1510009765625, 0.16748046875, 0.1810302734375, 0.0968017578125, 0.18603515625, 0.068115234375, 0.065673828125, 0.1823730...
embed
50562146_c0
50562146
haskell
0
Title: How to write a lisp parser in Haskell? Problem title: How to write a lisp parser in Haskell? Tags: compilation, haskell, parsing Problem: How to write a lisp parser in Haskell? I'm trying to write a lisp interpreter in haskell, inspired by Norvig's in Python ( http://norvig.com/lispy.html ). I have a successful ...
How to write a lisp parser in Haskell? How to write a lisp parser in Haskell? compilation haskell parsing How Haskell Ast Val Node Show Char x:xs Prelude How to write a lisp parser in Haskell? I'm trying to write a lisp interpreter in haskell, inspired by Norvig's in Python ( http://norvig.com/lispy.html ). I have a su...
[ -0.0014801025390625, 0.03076171875, -0.01165771484375, 0.0074462890625, -0.014404296875, 0.01287841796875, -0.0152587890625, -0.01318359375, -0.0211181640625, -0.0201416015625, 0.015380859375, -0.01324462890625, 0.00390625, -0.00885009765625, -0.005889892578125, 0.0026092529296875, 0...
[ 11249, 33022, 400, 7008, 366, 2189, 23, 20625, 142508, 10, 98352, 1556, 271, 4769, 438, 112, 17367, 21656, 1022, 425, 822, 47, 31577, 29481, 56, 191722, 12876, 24299, 145581, 4086, 6493, 7693, 65771, 1098, 52825, 3126, 3871, 140992, 26785, ...
[ 0.0673828125, 0.199951171875, 0.1614990234375, 0.222900390625, 0.1910400390625, 0.2095947265625, 0.057403564453125, 0.1307373046875, 0.26123046875, 0.0240631103515625, 0.092041015625, 0.1063232421875, 0.045440673828125, 0.1234130859375, 0.07171630859375, 0.07470703125, 0.054473876953...
embed
56402002_c0
56402002
haskell
0
Title: Haskell point-free style with no functions in the expression Problem title: Haskell point-free style with no functions in the expression Tags: haskell, combinators, pointfree Problem: Haskell point-free style with no functions in the expression I've been trying to take some simple functions and convert them to p...
Haskell point-free style with no functions in the expression Haskell point-free style with no functions in the expression haskell combinators pointfree Haskell Haskell point-free style with no functions in the expression I've been trying to take some simple functions and convert them to point-free style for practice. I...
[ 0.00069427490234375, 0.0224609375, -0.00677490234375, 0.0025634765625, -0.005645751953125, 0.025146484375, -0.010986328125, -0.0272216796875, 0.002288818359375, -0.0152587890625, 0.00994873046875, 0.0009765625, 0.00408935546875, 0.005096435546875, -0.00811767578125, -0.005157470703125,...
[ 20625, 142508, 6275, 32087, 20623, 678, 110, 32354, 125195, 1556, 22321, 22230, 8781, 96760, 41361, 117176, 2965, 43240, 34390, 56566, 68330, 12096, 16487, 5351, 1290, 190219, 121742, 13379, 186351, 4734, 115081, 24145, 4527, 41816, 4935, 7477, ...
[ 0.1180419921875, 0.1961669921875, 0.147216796875, 0.187255859375, 0.219970703125, 0.013092041015625, 0.0972900390625, 0.1834716796875, 0.1875, 0.1259765625, 0.2020263671875, 0.0836181640625, 0.05218505859375, 0.1068115234375, 0.024383544921875, 0.07147216796875, 0.0208587646484375, ...
embed
13186428_c0
13186428
haskell
0
Title: How to work around duplicate symbol error when using Yesod and Darcs library? Problem title: How to work around duplicate symbol error when using Yesod and Darcs library? Tags: yesod, darcs, haskell Problem: How to work around duplicate symbol error when using Yesod and Darcs library? It seems impossible to use ...
How to work around duplicate symbol error when using Yesod and Darcs library? How to work around duplicate symbol error when using Yesod and Darcs library? yesod darcs haskell Yesod Crypt.SHA256 Crypto.Hash.SHA256 Data.ByteString qualified ccall How Darcs GHCi sha256_init darcs-2.9.5 ghc-7.4.2 libHSdarcs-2.9.5.a Loadin...
[ -0.01409912109375, 0.0069580078125, -0.0021514892578125, -0.01446533203125, -0.0089111328125, 0.00138092041015625, -0.00909423828125, 0.0093994140625, -0.002532958984375, -0.0230712890625, -0.01251220703125, 0.0027008056640625, 0.01708984375, 0.0034027099609375, 0.005523681640625, -0.0...
[ 11249, 4488, 10932, 171763, 67, 26582, 18499, 17368, 32635, 2199, 136, 2541, 4439, 35773, 1294, 2422, 23722, 1011, 1556, 142508, 239159, 67619, 127892, 201543, 6495, 1495, 11809, 71713, 217225, 85763, 527, 73265, 14, 9638, 73, 217, 5428, 1178...
[ 0.0435791015625, 0.1025390625, 0.16650390625, 0.2203369140625, 0.1292724609375, 0.22265625, 0.1893310546875, 0.102783203125, 0.1837158203125, 0.2440185546875, 0.054473876953125, 0.19091796875, 0.192138671875, 0.1722412109375, 0.043426513671875, 0.1319580078125, 0.2098388671875, 0.1...
embed
79234308_c0
79234308
haskell
0
Title: How to get a Drawable or DrawWindow from a DrawingArea in Haskell Gtk2Hs Gtk3 Problem title: How to get a Drawable or DrawWindow from a DrawingArea in Haskell Gtk2Hs Gtk3 Tags: haskell, gtk3, gtk2hs, cartography Problem: How to get a Drawable or DrawWindow from a DrawingArea in Haskell Gtk2Hs Gtk3 I want to draw...
How to get a Drawable or DrawWindow from a DrawingArea in Haskell Gtk2Hs Gtk3 How to get a Drawable or DrawWindow from a DrawingArea in Haskell Gtk2Hs Gtk3 haskell gtk3 gtk2hs cartography a Graphics.UI.Gtk Graphics.UI.Gtk.Abstract.Widget Graphics.UI.Gtk.Misc.DrawingArea How Drawable DrawWindow DrawingArea Haskell Gtk2H...
[ -0.00909423828125, 0.01397705078125, 0.005615234375, -0.00579833984375, -0.0174560546875, -0.004241943359375, 0.008056640625, -0.0184326171875, 0.0054931640625, -0.015869140625, 0.008056640625, -0.0205078125, -0.01007080078125, 0.011474609375, -0.01611328125, -0.025146484375, -0.0155...
[ 11249, 2046, 18186, 434, 2886, 707, 92049, 24293, 1295, 14775, 284, 1283, 20625, 142508, 527, 31472, 304, 841, 363, 10, 23, 1556, 706, 127, 41718, 87168, 189682, 33457, 2816, 532, 130777, 219, 110588, 10828, 15612, 42719, 22635, 73265, 1277...
[ 0.027984619140625, 0.1258544921875, 0.1583251953125, 0.146240234375, 0.2254638671875, 0.06488037109375, 0.19873046875, 0.21875, 0.139892578125, 0.143798828125, 0.1361083984375, 0.1890869140625, 0.13427734375, 0.2210693359375, 0.071533203125, 0.171142578125, 0.0616455078125, 0.10382...
embed
9145087_c0
9145087
haskell
0
Title: Using Parsec to parse configurations Problem title: Using Parsec to parse configurations Tags: parsec, haskell Problem: Using Parsec to parse configurations Here I have in mind that a possible configuration is a tree of specifications, each specification has a corresponding keyword (the string) and type. Somethi...
Using Parsec to parse configurations Using Parsec to parse configurations parsec haskell Using Parsec Select ConfigTree Node Leaf Double Using Parsec to parse configurations Here I have in mind that a possible configuration is a tree of specifications, each specification has a corresponding keyword (the string) and typ...
[ 0.0018463134765625, 0.0137939453125, 0.00188446044921875, 0.017333984375, -0.01397705078125, 0.0140380859375, -0.0272216796875, -0.02978515625, 0.007537841796875, 0.00433349609375, -0.01544189453125, -0.006256103515625, 0.000865936279296875, 0.002197265625, 0.00093841552734375, 0.00897...
[ 345, 6953, 2392, 39797, 47, 366, 184, 180346, 1556, 142508, 51620, 139403, 62731, 438, 112, 636, 2407, 107172, 7086, 10, 7722, 83, 53201, 71679, 12638, 29458, 42518, 166117, 79315, 10644, 33022, 155965, 50986, 52895, 3095, 3444, 45367, 2189, ...
[ 0.075927734375, 0.005340576171875, 0.161865234375, 0.259765625, 0.01373291015625, 0.177734375, 0.1146240234375, 0.265625, 0.08209228515625, 0.2034912109375, 0.1143798828125, 0.1365966796875, 0.1671142578125, 0.088134765625, 0.05328369140625, 0.029388427734375, 0.12548828125, 0.1199...
embed
70123667_c0
70123667
haskell
0
Title: List of ad-hoc polymorphic functions with same return value type isn&#x27;t passing type checking Problem title: List of ad-hoc polymorphic functions with same return value type isn&#x27;t passing type checking Tags: haskell Problem: List of ad-hoc polymorphic functions with same return value type isn't passing ...
List of ad-hoc polymorphic functions with same return value type isn&#x27;t passing type checking List of ad-hoc polymorphic functions with same return value type isn&#x27;t passing type checking haskell List MyType field1 field2 Bool field3 Show Maybe fail_value Bad Nothing Just Here Couldn Char Expected Actual List o...
[ -0.00897216796875, -0.0098876953125, -0.003204345703125, 0.006317138671875, 0.002777099609375, 0.007781982421875, -0.0032806396484375, -0.0107421875, 0.01275634765625, 0.0096435546875, 0.00927734375, -0.016357421875, 0.0093994140625, -0.005889892578125, -0.0108642578125, -0.01538085937...
[ 32036, 606, 497, 238, 35874, 178851, 32354, 5701, 30646, 34292, 10644, 56112, 3768, 18, 452, 6953, 175199, 1556, 142508, 2646, 196707, 44457, 2460, 929, 363, 17367, 83425, 35782, 27494, 12745, 182747, 9563, 11853, 191147, 21656, 60075, 13, 10...
[ 0.0924072265625, 0.09942626953125, 0.128173828125, 0.091064453125, 0.13671875, 0.155517578125, 0.1336669921875, 0.132080078125, 0.142822265625, 0.1072998046875, 0.2193603515625, 0.021514892578125, 0.05322265625, 0.0919189453125, 0.0775146484375, 0.0594482421875, 0.212890625, 0.0742...
embed
61488494_c0
61488494
haskell
0
Title: Function that can be called on Strings and Int. Ambiguous type variable problem Problem title: Function that can be called on Strings and Int. Ambiguous type variable problem Tags: haskell Problem: Function that can be called on Strings and Int. Ambiguous type variable problem I want to write a function that can...
Function that can be called on Strings and Int. Ambiguous type variable problem Function that can be called on Strings and Int. Ambiguous type variable problem haskell a being Strings Ambiguous LANGUAGE FlexibleInstances TypeSynonymInstances StrInt Either Lift Left Right Number myDec1 Num Function that can be called on...
[ -0.005279541015625, 0.004364013671875, 0.000316619873046875, 0.014404296875, -0.005645751953125, 0.00897216796875, -0.00274658203125, -0.0023651123046875, 0.01397705078125, -0.00921630859375, 0.01055908203125, -0.042724609375, 0.003326416015625, 0.0140380859375, -0.000324249267578125, ...
[ 28670, 10763, 831, 35839, 98, 23351, 5180, 136, 360, 18, 10250, 12282, 10821, 10644, 77336, 2967, 1556, 142508, 10, 8035, 98064, 180842, 2661, 116071, 60457, 45757, 4153, 9319, 166562, 2480, 90911, 103332, 759, 120152, 418, 52782, 3444, 33022...
[ 0.1600341796875, 0.06768798828125, 0.08856201171875, 0.147216796875, 0.1409912109375, 0.1798095703125, 0.1337890625, 0.10400390625, 0.098876953125, 0.12158203125, 0.1243896484375, 0.1533203125, 0.05419921875, 0.14013671875, 0.2337646484375, 0.1588134765625, 0.1268310546875, 0.21362...
embed
24462762_c0
24462762
haskell
0
Title: Haskell xml-conduit without OverloadedStrings? Problem title: Haskell xml-conduit without OverloadedStrings? Tags: haskell, xml, xml-conduit Problem: Haskell xml-conduit without OverloadedStrings? Every example I have seen online of Haskell's xml-conduit module uses the OverloadedStrings GHC extension (e.g. here...
Haskell xml-conduit without OverloadedStrings? Haskell xml-conduit without OverloadedStrings? haskell xml xml-conduit Text.XML Text.XML.Cursor Data.Text Data.Text.Read Data.Monoid Haskell OverloadedStrings Text.XML.Cursor.element Name Axis LANGUAGE Text Text.XML.readFile people2.xml example.com Person Show Cursor Right...
[ 0.0111083984375, 0.00830078125, -0.0019683837890625, 0.011962890625, 0.01031494140625, 0.0169677734375, -0.00982666015625, -0.025634765625, -0.009521484375, -0.0203857421875, 0.0167236328125, -0.039794921875, -0.0036468505859375, -0.0244140625, -0.0032806396484375, -0.0032501220703125,...
[ 20625, 142508, 131492, 2271, 112061, 15490, 9578, 63033, 297, 71713, 5180, 1556, 24129, 1542, 39456, 474, 11809, 174379, 31345, 46674, 48899, 62766, 15757, 33102, 98064, 39116, 174350, 3395, 5442, 27781, 15270, 17367, 58148, 42, 90911, 29102, 1...
[ 0.1334228515625, 0.226806640625, 0.2430419921875, 0.073486328125, 0.2093505859375, 0.1143798828125, 0.1329345703125, 0.2080078125, 0.06939697265625, 0.18505859375, 0.1265869140625, 0.1029052734375, 0.154296875, 0.022064208984375, 0.15478515625, 0.1019287109375, 0.0899658203125, 0.1...
embed
38957113_c0
38957113
haskell
0
Title: Removing the type constraint on a type to a value that satisfies the constraints. I.e. Num a =&gt; a to just Int Problem title: Removing the type constraint on a type to a value that satisfies the constraints. I.e. Num a =&gt; a to just Int Tags: haskell, clash Problem: Removing the type constraint on a type to ...
Removing the type constraint on a type to a value that satisfies the constraints. I.e. Num a =&gt; a to just Int Removing the type constraint on a type to a value that satisfies the constraints. I.e. Num a =&gt; a to just Int haskell clash Removing I.e Num Unsigned KnownNat Removing the type constraint on a type to a v...
[ 0.00201416015625, -0.00176239013671875, 0.00909423828125, 0.0037384033203125, 0.01092529296875, 0.0032806396484375, -0.00060272216796875, -0.00482177734375, 0.01434326171875, -0.00897216796875, -0.0166015625, -0.040771484375, 0.001373291015625, 0.00433349609375, 0.01025390625, 0.013061...
[ 853, 432, 6496, 10644, 158, 2816, 4288, 98, 47, 34292, 40407, 3387, 52782, 10, 1230, 5386, 1660, 360, 18, 1556, 142508, 501, 5544, 87, 13, 992, 31304, 297, 70829, 19, 4645, 44357, 17368, 5426, 46323, 11, 12927, 16031, 82775, 85493, 5100...
[ 0.0328369140625, 0.1396484375, 0.053741455078125, 0.2578125, 0.0972900390625, 0.2008056640625, 0.12451171875, 0.07012939453125, 0.0784912109375, 0.2022705078125, 0.12890625, 0.032470703125, 0.17626953125, 0.1226806640625, 0.022186279296875, 0.07666015625, 0.058837890625, 0.12927246...
embed
37367390_c0
37367390
haskell
0
Title: Do all Type Classes in Haskell Have a Category Theoretic Analogue? Problem title: Do all Type Classes in Haskell Have a Category Theoretic Analogue? Tags: category-theory, haskell Problem: Do all Type Classes in Haskell Have a Category Theoretic Analogue? Consider a type class whose members are of type * -> * . ...
Do all Type Classes in Haskell Have a Category Theoretic Analogue? Do all Type Classes in Haskell Have a Category Theoretic Analogue? category-theory haskell Type Classes Haskell Have Category Theoretic Analogue Functor Group Hask Do all Type Classes in Haskell Have a Category Theoretic Analogue? Consider a type class ...
[ 0.00531005859375, 0.002838134765625, 0.00341796875, 0.00116729736328125, 0.00927734375, 0.004638671875, -0.008544921875, -0.0267333984375, -0.00341796875, -0.01202392578125, -0.032958984375, -0.037353515625, 0.002227783203125, 0.0035552978515625, -0.0274658203125, 0.009033203125, 0.0...
[ 756, 60457, 35014, 23, 20625, 142508, 31901, 49057, 19635, 107, 9523, 33326, 31, 6261, 984, 95487, 2347, 1556, 28670, 18770, 10760, 1391, 1042, 10644, 18507, 43032, 661, 67413, 42518, 140363, 60223, 11907, 8562, 32354, 17721, 39283, 28987, 16...
[ 0.102294921875, 0.259765625, 0.2265625, 0.062225341796875, 0.1610107421875, 0.2408447265625, 0.053924560546875, 0.24853515625, 0.1317138671875, 0.12451171875, 0.06097412109375, 0.1529541015625, 0.102294921875, 0.135009765625, 0.02142333984375, 0.1578369140625, 0.031158447265625, 0....
embed
66816200_c0
66816200
haskell
0
Title: Capture-avoiding substitution function — Lambda calculus Problem title: Capture-avoiding substitution function — Lambda calculus Tags: haskell, lambda-calculus Problem: Capture-avoiding substitution function — Lambda calculus So I got below substitute function with which I'm trying to replace b for Church numera...
Capture-avoiding substitution function — Lambda calculus Capture-avoiding substitution function — Lambda calculus haskell lambda-calculus Capture-avoiding Lambda Term Variable new_z Apply new_m1 new_m2 Ord x:xs y:ys Capture-avoiding substitution function — Lambda calculus So I got below substitute function with which I...
[ -0.0194091796875, -0.007232666015625, 0.01806640625, 0.0031585693359375, 0, -0.01385498046875, 0.01495361328125, -0.00054931640625, 0.004241943359375, 0.0172119140625, -0.00122833251953125, -0.01544189453125, 0.01043701171875, -0.006561279296875, 0.0020751953125, -0.00665283203125, -...
[ 14304, 6644, 14426, 86675, 161740, 32354, 122930, 85, 44805, 1556, 142508, 6492, 6827, 94739, 2994, 84572, 3525, 169, 5659, 418, 304, 35379, 1022, 425, 113, 4778, 35064, 13, 31577, 91995, 876, 100, 84084, 22542, 289, 757, 27781, 13579, 1687...
[ 0.136962890625, 0.1099853515625, 0.2022705078125, 0.0682373046875, 0.23828125, 0.1900634765625, 0.1534423828125, 0.07830810546875, 0.1104736328125, 0.089111328125, 0.1705322265625, 0.1119384765625, 0.064208984375, 0.05487060546875, 0.07080078125, 0.1265869140625, 0.10443115234375, ...
embed
67562778_c0
67562778
haskell
0
Title: Out-of-order list iteration in Haskell Problem title: Out-of-order list iteration in Haskell Tags: haskell, list, iteration, functional-programming, fold Problem: Out-of-order list iteration in Haskell I'm implementing a (toy) stack machine in Haskell. I've defined a step function, step :: State -> Instruction -...
Out-of-order list iteration in Haskell Out-of-order list iteration in Haskell haskell list iteration functional-programming fold Out-of-order Haskell State Instruction Program Word Show Opcode Add Sub Mul Div Mod Jump Push Pop Load Store Set Call Ret Pos Dup Swap Halt Nop Enum Maybe Out-of-order list iteration in Haske...
[ -0.00408935546875, -0.0303955078125, 0.00433349609375, 0.0081787109375, -0.00089263916015625, 0.0225830078125, -0.021484375, -0.0194091796875, -0.0029754638671875, -0.043212890625, 0.004058837890625, -0.00433349609375, -0.0169677734375, -0.01239013671875, -0.0142822265625, -0.004638671...
[ 13538, 4390, 80596, 5303, 17, 720, 2320, 20625, 142508, 23, 1556, 123309, 28966, 42822, 22836, 72022, 7663, 22543, 17367, 2331, 40899, 29117, 8273, 21442, 53026, 16269, 150508, 114405, 11584, 2091, 14934, 19943, 26265, 47131, 13498, 786, 43062,...
[ 0.198486328125, 0.2042236328125, 0.23876953125, 0.2059326171875, 0.0750732421875, 0.251708984375, 0.022308349609375, 0.12451171875, 0.2347412109375, 0.023345947265625, 0.0985107421875, 0.1595458984375, 0.113525390625, 0.183837890625, 0.15625, 0.14013671875, 0.155517578125, 0.119873...
embed
33163458_c0
33163458
haskell
0
Title: Can&#x27;t figure out what this matrix datatype module means, need to display its contents Problem title: Can&#x27;t figure out what this matrix datatype module means, need to display its contents Tags: haskell, matrix Problem: Can't figure out what this matrix datatype module means, need to display its contents...
Can&#x27;t figure out what this matrix datatype module means, need to display its contents Can&#x27;t figure out what this matrix datatype module means, need to display its contents haskell matrix Can Matrix Mat h.f Can't figure out what this matrix datatype module means, need to display its contents Alright, so I'm su...
[ 0.0166015625, 0.01220703125, 0.00567626953125, 0.005828857421875, 0.01165771484375, 0.0076904296875, 0.01373291015625, -0.007598876953125, 0.00445556640625, 0.01446533203125, -0.02099609375, -0.039306640625, -0.009765625, -0.0103759765625, -0.0267333984375, 0.0026702880859375, 0.0021...
[ 4171, 3768, 18, 26366, 1810, 2367, 903, 50944, 425, 2053, 50986, 88996, 26950, 3871, 44116, 10941, 1556, 142508, 194234, 7656, 1096, 420, 6863, 134598, 28282, 7639, 55300, 15555, 390, 34475, 4034, 678, 110, 29786, 9325, 73342, 20625, 8306, ...
[ 0.093017578125, 0.06292724609375, 0.048675537109375, 0.1199951171875, 0.03631591796875, 0.02703857421875, 0.0693359375, 0.162109375, 0.096923828125, 0.061676025390625, 0.203369140625, 0.2098388671875, 0.109619140625, 0.070556640625, 0.15087890625, 0.1533203125, 0.0955810546875, 0.1...
embed
63321246_c0
63321246
haskell
0
Title: Is this &quot;automatic parallelism&quot; exception-safe? Problem title: Is this &quot;automatic parallelism&quot; exception-safe? Tags: haskell, exception, parallel-processing Problem: Is this "automatic parallelism" exception-safe? I tried to implement some kind of automatic parallelism in Haskell. My idea is:...
Is this &quot;automatic parallelism&quot; exception-safe? Is this &quot;automatic parallelism&quot; exception-safe? haskell exception parallel-processing Control.Exception Control.Concurrent Data.List bracket_ cap2 Monoid Is this "automatic parallelism" exception-safe? I tried to implement some kind of automatic parall...
[ -0.010986328125, 0.01409912109375, -0.0147705078125, -0.00811767578125, 0.00015926361083984375, 0.0230712890625, 0.0152587890625, -0.01904296875, 0.001953125, -0.02734375, -0.0027923583984375, 0.0067138671875, 0.006988525390625, 0.00665283203125, 0.0027923583984375, -0.0133056640625, ...
[ 2071, 903, 52344, 1771, 95103, 8780, 131527, 115840, 1556, 142508, 63923, 27131, 63928, 163812, 11809, 154663, 1620, 27853, 3540, 304, 77879, 532, 9, 37842, 29479, 101038, 20625, 6528, 20779, 43581, 41159, 1890, 14012, 14543, 4295, 66211, 62, ...
[ 0.0140228271484375, 0.074951171875, 0.212890625, 0.0958251953125, 0.25927734375, 0.1512451171875, 0.2115478515625, 0.218505859375, 0.10986328125, 0.247802734375, 0.07989501953125, 0.1455078125, 0.137451171875, 0.164794921875, 0.041168212890625, 0.0413818359375, 0.08270263671875, 0....
embed
15151108_c0
15151108
haskell
0
Title: When I press the space bar in the Leksah source editor, nothing happens. What packages do I lack? Problem title: When I press the space bar in the Leksah source editor, nothing happens. What packages do I lack? Tags: haskell, haskell-platform, leksah Problem: When I press the space bar in the Leksah source edito...
When I press the space bar in the Leksah source editor, nothing happens. What packages do I lack? When I press the space bar in the Leksah source editor, nothing happens. What packages do I lack? haskell haskell-platform leksah When Leksah What Main.hs MyType test_swap w1:w2:ws w2:w1:ws When I press the space bar in th...
[ 0.0029144287109375, -0.006011962890625, -0.0111083984375, -0.00787353515625, -0.01007080078125, 0.00958251953125, -0.005218505859375, -0.01348876953125, -0.00131988525390625, -0.01324462890625, 0.047607421875, -0.0223388671875, -0.0196533203125, -0.000518798828125, 0.00225830078125, 0....
[ 24234, 32628, 1909, 53273, 23474, 31344, 30391, 33720, 96276, 98169, 92635, 1556, 142508, 172121, 17143, 12321, 127, 2646, 196707, 3034, 634, 148, 82825, 304, 19725, 15123, 52080, 20625, 13438, 1747, 3794, 20600, 31380, 238, 63773, 78292, 10952...
[ 0.1641845703125, 0.2352294921875, 0.1900634765625, 0.1378173828125, 0.242431640625, 0.1544189453125, 0.1766357421875, 0.0992431640625, 0.09161376953125, 0.1824951171875, 0.193115234375, 0.0643310546875, 0.2049560546875, 0.0667724609375, 0.070068359375, 0.084228515625, 0.0714111328125...
embed
53566429_c0
53566429
haskell
0
Title: Shake: How to set an environment variable upon invocation? Problem title: Shake: How to set an environment variable upon invocation? Tags: command-line-arguments, shake-build-system, haskell Problem: Shake: How to set an environment variable upon invocation? In a Makefile, one can refer to arguments set at the c...
Shake: How to set an environment variable upon invocation? Shake: How to set an environment variable upon invocation? command-line-arguments shake-build-system haskell HasCallStack Shake How subsample.py subsample_size jeff-ThinkCentre-M700 build.sh Error CallStack Development Internal Rules File.hs:180:58 shake-0.16.4...
[ -0.00830078125, 0.024658203125, 0.0031280517578125, -0.000560760498046875, 0.0028228759765625, 0.00396728515625, -0.0189208984375, -0.01019287109375, -0.019287109375, 0.014404296875, 0.0086669921875, 0.01123046875, -0.0021209716796875, 0.01458740234375, 0.00162506103515625, 0.009765625...
[ 68161, 13, 11249, 5423, 65998, 77336, 54799, 23, 202010, 75101, 2256, 155937, 174450, 177149, 16751, 1556, 142508, 20625, 441, 5584, 42378, 2594, 1614, 433, 33209, 6493, 62539, 55, 4902, 20800, 14068, 59441, 594, 15128, 45367, 1495, 212059, 2...
[ 0.2066650390625, 0.1978759765625, 0.07080078125, 0.1947021484375, 0.19677734375, 0.26806640625, 0.134033203125, 0.1044921875, 0.2254638671875, 0.1773681640625, 0.09466552734375, 0.1807861328125, 0.2489013671875, 0.0870361328125, 0.07696533203125, 0.036102294921875, 0.12451171875, 0...
embed
22040115_c0
22040115
haskell
0
Title: What are the reasons that protocols and multimethods in Clojure are less powerful for polymorphism than typeclasses in Haskell? Problem title: What are the reasons that protocols and multimethods in Clojure are less powerful for polymorphism than typeclasses in Haskell? Tags: protocols, multimethod, haskell, typ...
What are the reasons that protocols and multimethods in Clojure are less powerful for polymorphism than typeclasses in Haskell? What are the reasons that protocols and multimethods in Clojure are less powerful for polymorphism than typeclasses in Haskell? protocols multimethod haskell typeclass clojure What Clojure Has...
[ -0.003509521484375, 0.00665283203125, 0.0155029296875, 0.0233154296875, -0.0030670166015625, 0.0037078857421875, -0.0078125, -0.0086669921875, 0.01275634765625, -0.0087890625, -0.0172119140625, -0.031494140625, -0.006072998046875, -0.013671875, -0.0068359375, -0.01165771484375, -0.00...
[ 89397, 91363, 136, 193815, 7352, 51053, 461, 107, 40715, 113138, 35874, 178851, 8780, 10644, 67413, 20625, 142508, 18, 1556, 20450, 4865, 2460, 929, 1022, 425, 7224, 48224, 163731, 78804, 9572, 31, 100, 51515, 125195, 2967, 1528, 162515, 5098...
[ 0.126708984375, 0.1927490234375, 0.050750732421875, 0.1644287109375, 0.155517578125, 0.1583251953125, 0.19970703125, 0.1597900390625, 0.18603515625, 0.17236328125, 0.17919921875, 0.203857421875, 0.04766845703125, 0.159423828125, 0.1973876953125, 0.128662109375, 0.2315673828125, 0.0...
embed
43147207_c0
43147207
haskell
0
Title: Haskell: Failing to connect to DBus as client on FreeBSD Problem title: Haskell: Failing to connect to DBus as client on FreeBSD Tags: freebsd, haskell-stack, haskell, ghc, dbus Problem: Haskell: Failing to connect to DBus as client on FreeBSD I'm using this library to do this: http://hackage.haskell.org/package...
Haskell: Failing to connect to DBus as client on FreeBSD Haskell: Failing to connect to DBus as client on FreeBSD freebsd haskell-stack haskell ghc dbus SocketError DBus.Client Haskell Failing DBus FreeBSD lts-7.20 Authentication Just Address unix:guid dbus-jUIv1mTBAV org.freedesktop.DBus method_call org.freedesktop.DB...
[ 0.0194091796875, 0.02783203125, -0.01031494140625, -0.0087890625, -0.00170135498046875, -0.006988525390625, -0.0091552734375, -0.01165771484375, -0.034423828125, -0.0250244140625, 0.01348876953125, 0.00122833251953125, 0.0023040771484375, 0.00140380859375, -0.0272216796875, -0.02258300...
[ 20625, 142508, 190355, 214, 37067, 47, 57976, 223, 237, 23282, 5153, 20429, 397, 4092, 16145, 71, 1556, 590, 2594, 31380, 238, 104, 4223, 1061, 27853, 18468, 150, 933, 1549, 52236, 63250, 9563, 49990, 51, 4084, 1234, 28941, 27816, 32087, ...
[ 0.1275634765625, 0.26318359375, 0.18505859375, 0.002044677734375, 0.1800537109375, 0.06768798828125, 0.13671875, 0.22705078125, 0.0899658203125, 0.2183837890625, 0.099609375, 0.135498046875, 0.0865478515625, 0.064208984375, 0.077392578125, 0.045196533203125, 0.071044921875, 0.02825...
embed
12847400_c0
12847400
haskell
0
Title: How to use `getBounds&#x27; with STArray? Problem title: How to use `getBounds&#x27; with STArray? Tags: shuffle, random, haskell, arrays Problem: How to use `getBounds' with STArray? I'm trying to write a Fisher-Yates shuffle algorithm using STArray. Unlike all the other examples I've found on the net, I am try...
How to use `getBounds&#x27; with STArray? How to use `getBounds&#x27; with STArray? shuffle random haskell arrays a the How STArray MArray Could CGS Random.hs Possible How to use `getBounds' with STArray? I'm trying to write a Fisher-Yates shuffle algorithm using STArray. Unlike all the other examples I've found on the...
[ -0.008056640625, 0.000240325927734375, -0.006439208984375, -0.0296630859375, 0.000858306884765625, -0.00445556640625, 0.017578125, -0.0096435546875, 0.007720947265625, -0.02392578125, 0.007781982421875, 0.0164794921875, -0.0250244140625, -0.013916015625, 0.022216796875, 0.0087280273437...
[ 11249, 4527, 3794, 12647, 7030, 7, 3768, 678, 64174, 42, 7092, 170052, 96759, 1556, 142508, 10298, 4778, 10, 191147, 34162, 39643, 306, 127, 115861, 31577, 33022, 169247, 9, 21566, 1636, 234873, 17368, 27781, 71864, 24, 4935, 5303, 3444, 23...
[ 0.04547119140625, 0.1431884765625, 0.1727294921875, 0.1689453125, 0.22509765625, 0.137939453125, 0.05413818359375, 0.097900390625, 0.11767578125, 0.11328125, 0.292236328125, 0.2568359375, 0.175048828125, 0.099365234375, 0.1947021484375, 0.1602783203125, 0.0804443359375, 0.004913330...
embed
18155302_c1
18155302
haskell
1
file let ct = (truncate $ (fromIntegral $ Snd.frames info)/2048) let i = StreamInfo 1024 44100 2 let b' = sampleRawPCM 0 ct (i, b) let s = pcmStream b' --Very expensive computations let freqs = freqStream s --Get frequency bins let fluxes = fluxStream freqs --Get spectral flux let onsets = onset fluxes --Get onsets ba...
file let ct = (truncate $ (fromIntegral $ Snd.frames info)/2048) let i = StreamInfo 1024 44100 2 let b' = sampleRawPCM 0 ct (i, b) let s = pcmStream b' --Very expensive computations let freqs = freqStream s --Get frequency bins let fluxes = fluxStream freqs --Get spectral flux let onsets = onset fluxes --Get onsets ba...
[ -0.0224609375, 0.0022430419921875, -0.006927490234375, -0.00653076171875, 0.00830078125, -0.0001506805419921875, 0.004425048828125, -0.01556396484375, -0.013916015625, -0.06396484375, 0.0027618408203125, -0.021240234375, 0.028564453125, 0.002838134765625, 0.00131988525390625, -0.008300...
[ 11435, 2633, 108963, 2203, 9774, 19, 33478, 3650, 161063, 67, 159, 2208, 5, 160328, 7, 3004, 74957, 72208, 17, 115061, 93147, 140154, 5896, 3559, 116, 876, 25, 121413, 12248, 434, 12233, 594, 757, 91, 36719, 39, 4210, 15896, 135587, 18113...
[ 0.2459716796875, 0.141845703125, 0.162109375, 0.0911865234375, 0.041748046875, 0.0325927734375, 0.1190185546875, 0.056732177734375, 0.044830322265625, 0.03729248046875, 0.036041259765625, 0.1251220703125, 0.0140228271484375, 0.187744140625, 0.02069091796875, 0.140625, 0.0806274414062...
embed
44805608_c0
44805608
haskell
0
Title: Haskell Function for checking if element is in Tree, returning Depth Problem title: Haskell Function for checking if element is in Tree, returning Depth Tags: functional-programming, haskell Problem: Haskell Function for checking if element is in Tree, returning Depth I am currently doing an assigment for a clas...
Haskell Function for checking if element is in Tree, returning Depth Haskell Function for checking if element is in Tree, returning Depth functional-programming haskell Fdata.Heap Fdata.Tree Haskell Tree Depth Nothing Just sample1 Heap Maybe Ord Empty Node Show Convert list2heap heap2list Haskell Function for checking ...
[ 0.0130615234375, 0.01324462890625, -0.01025390625, -0.0142822265625, 0.0191650390625, 0.01171875, -0.00634765625, -0.0172119140625, 0.007537841796875, -0.00537109375, 0.01214599609375, -0.030029296875, 0.00579833984375, 0.0011749267578125, 0.026123046875, 0.0078125, 0.0172119140625, ...
[ 20625, 142508, 28670, 10763, 175199, 2174, 12830, 83, 23, 101344, 30646, 262, 254, 927, 123309, 28966, 1556, 10135, 13025, 2631, 62731, 182747, 121413, 418, 1529, 83425, 35379, 31678, 438, 17367, 11549, 5303, 304, 1106, 764, 6562, 20561, 1850...
[ 0.1431884765625, 0.2235107421875, 0.146240234375, 0.0252227783203125, 0.227783203125, 0.1181640625, 0.1824951171875, 0.0667724609375, 0.16845703125, 0.2763671875, 0.1802978515625, 0.150634765625, 0.1790771484375, 0.1138916015625, 0.1275634765625, 0.0716552734375, 0.1280517578125, 0...
embed
29540829_c1
29540829
haskell
1
instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS [ 1 of 38] Compiling Language.Haskell.GhcMod.Read ( Language/Haskell/GhcMod/Read.hs, dist/build/Language/Haskell/GhcMod/Read.o ) [ 2 of 38] Compiling Language.Haskell.GhcMod.Cabal21 ( Language/Haskell/GhcMod/Cabal21.hs, dist/build/Language/Haskell/GhcM...
Then some strange failure setting up a new sandbox was because something didn't properly have a dependancy for happy. ( https://github.com/haskell-suite/haskell-src-exts/issues/14 ) Ok. Installed happy. Now trying (again) to install ghc-mod and I get a giant mess (below). Should I use http://www.stackage.org/ ? I've s...
[ -0.004425048828125, -0.00927734375, 0.0234375, 0.0002880096435546875, 0.0211181640625, 0.0269775390625, -0.031494140625, -0.0218505859375, 0.013916015625, 0.002777099609375, -0.004791259765625, -0.038818359375, 0.0301513671875, -0.01220703125, -0.002410888671875, -0.0113525390625, -0...
[ 3060, 114453, 137578, 53550, 1257, 3525, 19096, 11728, 6637, 155965, 765, 8, 27308, 27771, 17723, 15769, 32102, 10557, 142508, 68879, 19437, 3355, 933, 174404, 107951, 31577, 4729, 73, 20600, 31380, 238, 13415, 6051, 18, 2409, 7, 17336, 15111...
[ 0.01904296875, 0.0889892578125, 0.1463623046875, 0.01123046875, 0.030792236328125, 0.044281005859375, 0.1229248046875, 0.209228515625, 0.001251220703125, 0.0560302734375, 0.0167083740234375, 0.035430908203125, 0.1072998046875, 0.05572509765625, 0.2098388671875, 0.00665283203125, 0.02...
embed
69930872_c0
69930872
haskell
0
Title: haskell stack to make executables for a project that do not use the library Problem title: haskell stack to make executables for a project that do not use the library Tags: haskell, haskell-stack Problem: haskell stack to make executables for a project that do not use the library I have a haskell project that is...
haskell stack to make executables for a project that do not use the library haskell stack to make executables for a project that do not use the library haskell haskell-stack Data.MyPkg Main.hs Benchmark DSOME_STUFF CheckResult Building DMYPKG_VERBOSE mypkg:bench:benchmark Checking mypkg:exe:checkresult haskell stack to...
[ -0.017333984375, -0.00799560546875, 0.004486083984375, 0.003997802734375, -0.00946044921875, 0.00738525390625, -0.0267333984375, -0.00799560546875, -0.01165771484375, 0.00439453125, 0.00689697265625, 0.0020751953125, 0.0108642578125, 0.02099609375, 0.0012969970703125, 0.00592041015625,...
[ 1556, 142508, 177261, 47, 3249, 98927, 13566, 100, 13452, 450, 54, 959, 4527, 35773, 1294, 590, 2594, 11809, 31852, 8517, 12321, 127, 3419, 206, 10015, 91245, 94432, 30110, 38679, 4332, 7, 7136, 104919, 94588, 45214, 33255, 17398, 759, 254,...
[ 0.1463623046875, 0.22509765625, 0.23095703125, 0.01605224609375, 0.068115234375, 0.1864013671875, 0.1522216796875, 0.0204315185546875, 0.12744140625, 0.014892578125, 0.0384521484375, 0.09942626953125, 0.08038330078125, 0.171142578125, 0.1082763671875, 0.099365234375, 0.10296630859375...
embed
33926459_c0
33926459
haskell
0
Title: I was trying to break Haskell and got an &quot;Inaccessiable code&quot; error from GHC. What does it mean? Problem title: I was trying to break Haskell and got an &quot;Inaccessiable code&quot; error from GHC. What does it mean? Tags: dependent-type, compiler-errors, types, haskell Problem: I was trying to break...
I was trying to break Haskell and got an &quot;Inaccessiable code&quot; error from GHC. What does it mean? I was trying to break Haskell and got an &quot;Inaccessiable code&quot; error from GHC. What does it mean? dependent-type compiler-errors types haskell GHC Data.Coerce Data.Functor.Fixedpoint these weird Haskell I...
[ -0.0009765625, 0.00592041015625, -0.0087890625, 0.01129150390625, 0.007537841796875, 0.0023956298828125, -0.0269775390625, 0.0037384033203125, -0.0011749267578125, -0.0390625, -0.00167083740234375, -0.01953125, 0.00048065185546875, 0.00970458984375, -0.00095367431640625, -0.00224304199...
[ 31577, 36356, 20625, 142508, 4153, 113041, 14, 2886, 18151, 41502, 18499, 527, 73265, 4865, 29459, 108750, 50986, 9969, 34759, 188800, 52895, 1556, 11809, 56, 97249, 18770, 6159, 425, 297, 38496, 6097, 179459, 360, 3358, 98064, 23749, 41072, ...
[ 0.05059814453125, 0.121826171875, 0.131103515625, 0.2113037109375, 0.09130859375, 0.1905517578125, 0.1082763671875, 0.15625, 0.18115234375, 0.056121826171875, 0.1534423828125, 0.05291748046875, 0.162109375, 0.004547119140625, 0.080078125, 0.177734375, 0.108642578125, 0.111206054687...
embed
4340992_c0
4340992
haskell
0
Title: Haskell: composing function with two floating arguments fails Problem title: Haskell: composing function with two floating arguments fails Tags: function-composition, haskell Problem: Haskell: composing function with two floating arguments fails I am trying to compose a function of type (Floating a) => a -> a ->...
Haskell: composing function with two floating arguments fails Haskell: composing function with two floating arguments fails function-composition haskell the a Haskell Floating test1 test2 test.hs:8:11 Could test.hs:8:11-15 Possible Failed Haskell: composing function with two floating arguments fails I am trying to comp...
[ 0.004180908203125, 0.00762939453125, 0.002532958984375, 0.018310546875, 0.0184326171875, 0.0244140625, -0.01409912109375, -0.0093994140625, 0.0018310546875, 0.0014801025390625, -0.0185546875, 0.009521484375, 0.0069580078125, -0.005279541015625, -0.0016021728515625, -0.0172119140625, ...
[ 20625, 142508, 9969, 232, 32354, 678, 6626, 21917, 26518, 10750, 35782, 277, 40322, 1556, 70, 10, 38699, 3034, 418, 304, 127, 1019, 19993, 191147, 13386, 115861, 190355, 31577, 150350, 10644, 365, 18151, 1340, 41877, 17304, 25632, 18499, 6868...
[ 0.1136474609375, 0.2247314453125, 0.1434326171875, 0.1461181640625, 0.1568603515625, 0.0615234375, 0.1627197265625, 0.168701171875, 0.0943603515625, 0.1785888671875, 0.171142578125, 0.07501220703125, 0.080322265625, 0.1058349609375, 0.00286865234375, 0.1304931640625, 0.1480712890625,...
embed
45958843_c0
45958843
haskell
0
Title: Haskell :: Recursion in Recursion for Loop in Loop Problem title: Haskell :: Recursion in Recursion for Loop in Loop Tags: haskell Problem: Haskell :: Recursion in Recursion for Loop in Loop How it goes: Based on the set of tuple (id, x, y), find the min max for x and y , then two dots (red points) created. Each...
Haskell :: Recursion in Recursion for Loop in Loop Haskell :: Recursion in Recursion for Loop in Loop haskell Haskell Recursion Loop Double x1-x2 y1-y2 Haskell :: Recursion in Recursion for Loop in Loop How it goes: Based on the set of tuple (id, x, y), find the min max for x and y , then two dots (red points) created....
[ 0.000324249267578125, 0.01446533203125, 0.00323486328125, 0.02392578125, 0.0220947265625, -0.00020694732666015625, -0.004791259765625, 0.005218505859375, 0.021240234375, 0.00408935546875, -0.0062255859375, 0.01226806640625, -0.004150390625, -0.02490234375, -0.0025177001953125, -0.00698...
[ 20625, 142508, 165428, 42, 6889, 23, 100, 199694, 1556, 107172, 1022, 20268, 425, 304, 113, 53, 60899, 44978, 5423, 370, 8705, 532, 7413, 881, 18389, 6626, 54, 2822, 26847, 75935, 98423, 12830, 37769, 94407, 35509, 62488, 98186, 4842, 21115...
[ 0.1463623046875, 0.2490234375, 0.1737060546875, 0.169677734375, 0.125, 0.08209228515625, 0.0274810791015625, 0.1785888671875, 0.1060791015625, 0.1263427734375, 0.05157470703125, 0.04815673828125, 0.0289306640625, 0.104248046875, 0.0869140625, 0.0367431640625, 0.048309326171875, 0.0...
embed
56453996_c0
56453996
haskell
0
Title: Attach extra information at every level of a recursive data type? Problem title: Attach extra information at every level of a recursive data type? Tags: category-theory, haskell, recursive-datastructures, fixpoint-combinators Problem: Attach extra information at every level of a recursive data type? (This is not...
Attach extra information at every level of a recursive data type? Attach extra information at every level of a recursive data type? category-theory haskell recursive-datastructures fixpoint-combinators Data.Functor.Foldable Attach Wrap Show TreeF Leaf depth1 depth2 Fix Tree Base Attach extra information at every level ...
[ -0.003509521484375, 0.00665283203125, -0.00616455078125, -0.004180908203125, 0.01434326171875, -0.007415771484375, -0.0140380859375, -0.020263671875, -0.00213623046875, -0.02490234375, 0.0022430419921875, -0.038818359375, -0.0108642578125, 0.029296875, 0.01385498046875, 0.0118408203125...
[ 9208, 934, 4173, 4677, 11907, 17366, 195625, 5844, 2053, 10644, 95487, 2347, 1556, 142508, 10135, 137656, 30022, 38496, 19155, 22230, 11809, 97249, 18770, 18345, 2886, 13631, 17367, 101344, 919, 636, 2407, 168867, 418, 304, 96746, 44978, 20625,...
[ 0.196044921875, 0.1815185546875, 0.2086181640625, 0.20703125, 0.1688232421875, 0.275634765625, 0.227294921875, 0.134765625, 0.1663818359375, 0.1937255859375, 0.14697265625, 0.034149169921875, 0.08441162109375, 0.19140625, 0.0777587890625, 0.09881591796875, 0.105224609375, 0.1114501...
embed
61048638_c0
61048638
haskell
0
Title: Combining fragments of Haskell Code to get the bigger picture Problem title: Combining fragments of Haskell Code to get the bigger picture Tags: haskell, composition, function-composition, higher-order-functions, pointfree Problem: Combining fragments of Haskell Code to get the bigger picture This is the code th...
Combining fragments of Haskell Code to get the bigger picture Combining fragments of Haskell Code to get the bigger picture haskell composition function-composition higher-order-functions pointfree Combining Haskell Bool listBiggerThen5 times4 listTimes4 Combining fragments of Haskell Code to get the bigger picture Thi...
[ -0.01806640625, 0.0194091796875, 0.0017852783203125, 0.003753662109375, -0.003173828125, 0.019775390625, 0.017578125, -0.00112152099609375, 0.018310546875, -0.018798828125, -0.01214599609375, -0.0034637451171875, -0.003021240234375, 0.0019683837890625, 0.0032958984375, 0.0140380859375,...
[ 106935, 592, 38551, 20625, 142508, 28864, 2046, 167785, 49726, 7, 1556, 166577, 32354, 277, 40322, 77546, 80596, 137175, 6275, 32087, 2460, 929, 5303, 129933, 1505, 758, 20028, 617, 70059, 47, 18151, 21449, 54799, 174653, 3714, 3642, 903, 432...
[ 0.2379150390625, 0.0089111328125, 0.2294921875, 0.1451416015625, 0.2340087890625, 0.185302734375, 0.058349609375, 0.1197509765625, 0.162109375, 0.0165252685546875, 0.1380615234375, 0.1773681640625, 0.141845703125, 0.0506591796875, 0.064697265625, 0.05584716796875, 0.136962890625, 0...
embed
64492279_c1
64492279
haskell
1
.Monad import qualified Data.ByteString.Lazy.Char8 as L8 import Data.Foldable import Data.String import qualified Data.Text as T import Data.XML.Types import Text.XML.Stream.Parse newtype Doc = Doc { name :: String } deriving (Show) main :: IO () main = do r <- L8.readFile "oha.xml" let doc = Doc . T.unpack check (x,y)...
.Monad import qualified Data.ByteString.Lazy.Char8 as L8 import Data.Foldable import Data.String import qualified Data.Text as T import Data.XML.Types import Text.XML.Stream.Parse newtype Doc = Doc { name :: String } deriving (Show) main :: IO () main = do r <- L8.readFile "oha.xml" let doc = Doc . T.unpack check (x,y)...
[ 0.00121307373046875, 0.033935546875, -0.000957489013671875, 0.004608154296875, 0.00335693359375, 0.00958251953125, -0.01153564453125, -0.0189208984375, 0.005096435546875, -0.0023651123046875, -0.01153564453125, -0.015869140625, -0.0126953125, -0.00872802734375, -0.0008697509765625, -0....
[ 5, 46674, 712, 24927, 217225, 11809, 75358, 67, 71713, 214, 2729, 3285, 84068, 1019, 237, 339, 919, 18345, 2886, 174379, 384, 39456, 196707, 24129, 115061, 28636, 184, 3525, 50986, 29048, 2203, 9351, 23351, 16406, 168660, 5201, 17780, 54, 1...
[ 0.1337890625, 0.2301025390625, 0.28515625, 0.23974609375, 0.2340087890625, 0.159423828125, 0.0458984375, 0.044677734375, 0.08111572265625, 0.0311431884765625, 0.1158447265625, 0.2296142578125, 0.136474609375, 0.195556640625, 0.09130859375, 0.045318603515625, 0.054840087890625, 0.17...
embed
13372265_c0
13372265
haskell
0
Title: Trying to make a wrapped type family into a something Functor-like Problem title: Trying to make a wrapped type family into a something Functor-like Tags: haskell Problem: Trying to make a wrapped type family into a something Functor-like Here is a simple example where the identity Functor works well: newtype R ...
Trying to make a wrapped type family into a something Functor-like Trying to make a wrapped type family into a something Functor-like haskell Trying Functor-like Functor IntT Sem Trying to make a wrapped type family into a something Functor-like Here is a simple example where the identity Functor works well: but if I a...
[ 0.0032196044921875, 0.019287109375, 0.00830078125, -0.0026397705078125, -0.016357421875, -0.006988525390625, -0.004425048828125, -0.01348876953125, 0.019287109375, -0.01275634765625, -0.00390625, 0.0029754638671875, -0.0120849609375, 0.0260009765625, -0.0025787353515625, -0.00181579589...
[ 40858, 3249, 137565, 20051, 10644, 14449, 3934, 9844, 28670, 18770, 5062, 1556, 142508, 618, 10232, 8781, 27781, 182324, 43240, 5299, 15190, 81814, 2046, 23742, 1002, 831, 18, 159, 72546, 61924, 3525, 18507, 8966, 3871, 5659, 11048, 136, 6033...
[ 0.103515625, 0.061767578125, 0.1650390625, 0.103759765625, 0.173828125, 0.1551513671875, 0.10601806640625, 0.05072021484375, 0.188720703125, 0.18603515625, 0.1583251953125, 0.119873046875, 0.21435546875, 0.012603759765625, 0.165283203125, 0.03717041015625, 0.0810546875, 0.172119140...
embed
56508882_c0
56508882
haskell
0
Title: Why doesn&#x27;t Gloss render in native resolution? Problem title: Why doesn&#x27;t Gloss render in native resolution? Tags: juicy-pixels, haskell, gloss Problem: Why doesn't Gloss render in native resolution? On OSX (with 2560 x 1600 native resolution), Gloss displays everything at zoom-factor 2x. Giving a wind...
Why doesn&#x27;t Gloss render in native resolution? Why doesn&#x27;t Gloss render in native resolution? juicy-pixels haskell gloss Graphics.Gloss Graphics.Gloss.Juicy Codec.Picture Why Gloss Main someimg.png Nope Picture InWindow Image Why doesn't Gloss render in native resolution? On OSX (with 2560 x 1600 native resol...
[ -0.0216064453125, -0.0003337860107421875, 0.01904296875, -0.01214599609375, 0.00103759765625, -0.000020384788513183594, 0.006500244140625, -0.0247802734375, -0.0126953125, 0.013916015625, 0.0184326171875, -0.010498046875, -0.003692626953125, -0.032958984375, 0.004669189453125, 0.002029...
[ 44084, 22027, 3768, 18, 46173, 7, 89159, 23, 24, 4935, 158839, 1129, 14, 2408, 66535, 14794, 1556, 142508, 207244, 189682, 724, 2400, 21718, 28864, 1771, 12321, 3060, 464, 177, 128468, 438, 1081, 158656, 360, 92049, 24293, 22710, 11787, 154...
[ 0.104248046875, 0.055450439453125, 0.06207275390625, 0.09686279296875, 0.259765625, 0.2481689453125, 0.2459716796875, 0.08441162109375, 0.1461181640625, 0.1759033203125, 0.210693359375, 0.1298828125, 0.06011962890625, 0.1402587890625, 0.093994140625, 0.038116455078125, 0.094848632812...
embed
24130114_c0
24130114
haskell
0
Title: How to install diagrams? Problem title: How to install diagrams? Tags: cabal, haskell-diagrams, haskell, installation Problem: How to install diagrams? I am trying to install the diagrams package. If I do cabal install diagrams I get (towards the end) Configuring lens-4.2... Building lens-4.2... Preprocessing li...
How to install diagrams? How to install diagrams? cabal haskell-diagrams haskell installation How Configuring lens-4.2 Building Preprocessing Control Lens Internal Zoom.hs:47:8 Could Control.Monad.Trans.Except transformers-0.4.1.0 Perhaps Use Failed Error diagrams-1.2 diagrams-contrib-1.1.2 diagrams-core-1.2.0.1 diagra...
[ -0.0026702880859375, 0.006866455078125, -0.00106048583984375, -0.0034027099609375, -0.01361083984375, 0.01055908203125, 0.0045166015625, -0.005035400390625, -0.0103759765625, -0.0020904541015625, 0.01116943359375, -0.0027618408203125, -0.006622314453125, -0.019287109375, 0.0198974609375,...
[ 11249, 47, 20600, 117233, 7, 109524, 1556, 142508, 3390, 25561, 59720, 59994, 3098, 117904, 104919, 1914, 63923, 27131, 18226, 106745, 141, 97170, 5, 127, 33573, 1019, 191147, 46674, 712, 62624, 19279, 19462, 27198, 1314, 121254, 102107, 181799...
[ 0.092041015625, 0.0738525390625, 0.254638671875, 0.303955078125, 0.1490478515625, 0.242431640625, 0.12451171875, 0.2230224609375, 0.149169921875, 0.199951171875, 0.166259765625, 0.1016845703125, 0.134033203125, 0.1260986328125, 0.090576171875, 0.088134765625, 0.0701904296875, 0.158...
embed
23342184_c0
23342184
haskell
0
Title: Difference between Monad and Applicative in Haskell Problem title: Difference between Monad and Applicative in Haskell Tags: applicative, haskell, monads Problem: Difference between Monad and Applicative in Haskell I just read the following from typeclassopedia about the difference between Monad and Applicative ...
Difference between Monad and Applicative in Haskell Difference between Monad and Applicative in Haskell applicative haskell monads Difference Monad Applicative Haskell Maybe Difference between Monad and Applicative in Haskell I just read the following from typeclassopedia about the difference between Monad and Applicat...
[ 0.0037841796875, -0.00274658203125, 0.0157470703125, 0.033203125, 0.0205078125, 0.03515625, 0.000514984130859375, 0.00860595703125, 0.0113525390625, 0.00726318359375, 0.00872802734375, -0.0211181640625, -0.007049560546875, 0.01080322265625, -0.000881195068359375, -0.005126953125, 0.0...
[ 803, 18234, 6620, 17721, 60331, 71, 136, 5659, 11048, 4935, 23, 20625, 142508, 41816, 1556, 2667, 712, 83425, 12301, 25632, 10644, 67413, 76994, 60212, 28219, 110, 33284, 76811, 307, 131148, 16750, 11, 18403, 181135, 44713, 3884, 34292, 3934,...
[ 0.0853271484375, 0.2110595703125, 0.0604248046875, 0.10687255859375, 0.2244873046875, 0.204345703125, 0.06793212890625, 0.19384765625, 0.21923828125, 0.2225341796875, 0.04559326171875, 0.126953125, 0.247802734375, 0.2130126953125, 0.1187744140625, 0.1563720703125, 0.2064208984375, ...
embed
21590562_c0
21590562
haskell
0
Title: typeclass for repetitive actions until fixed point Problem title: typeclass for repetitive actions until fixed point Tags: fixpoint-combinators, haskell, monadfix, recursion, unfold Problem: typeclass for repetitive actions until fixed point i noticed a common pattern of executing an action until it stops having...
typeclass for repetitive actions until fixed point typeclass for repetitive actions until fixed point fixpoint-combinators haskell monadfix recursion unfold Control.Monad.Loops LANGUAGE MultiParamTypeClasses FunctionalDependencies Monad MonadRelax Bool typeclass for repetitive actions until fixed point i noticed a comm...
[ -0.01324462890625, 0.00138092041015625, 0.0133056640625, 0.01007080078125, 0.0145263671875, 0.01519775390625, -0.003509521484375, -0.0028533935546875, -0.01361083984375, -0.027587890625, 0.0018157958984375, -0.0146484375, -0.0157470703125, -0.005157470703125, 0.006011962890625, -0.0103...
[ 10644, 67413, 57346, 4935, 61972, 24189, 188347, 6275, 100, 30022, 38496, 277, 19155, 22230, 1556, 142508, 2667, 712, 55923, 195625, 1830, 51, 42822, 27131, 46674, 68818, 98064, 19335, 55292, 196707, 140803, 26885, 60331, 71, 4332, 143, 425, ...
[ 0.221923828125, 0.274169921875, 0.251953125, 0.1456298828125, 0.18701171875, 0.1722412109375, 0.261962890625, 0.1527099609375, 0.061553955078125, 0.2005615234375, 0.1414794921875, 0.00762939453125, 0.1651611328125, 0.0516357421875, 0.08203125, 0.19873046875, 0.0821533203125, 0.0939...
embed
54827529_c1
54827529
haskell
1
[Test] tests = return [ Test $ TestInstance { run = return $ Finished $ if myFunction == 1 then Pass else Fail "not equal 1" , name = "my test" , Distribution.TestSuite.tags = [] , options = [] , setOption = \opt val -> Left "options not supported" } ] stack.yaml resolver: lts-11.22 Output cabal Everything works norma...
[Test] tests = return [ Test $ TestInstance { run = return $ Finished $ if myFunction == 1 then Pass else Fail "not equal 1" , name = "my test" , Distribution.TestSuite.tags = [] , options = [] , setOption = \opt val -> Left "options not supported" } ] stack.yaml resolver: lts-11.22 Output cabal Everything works norma...
[ 0.01300048828125, -0.0079345703125, -0.00433349609375, -0.00118255615234375, 0.01470947265625, -0.0028076171875, 0.00872802734375, -0.00946044921875, 0.01507568359375, 0.036865234375, -0.021240234375, 0.0224609375, -0.003448486328125, 0.02490234375, 0.01153564453125, 0.0235595703125, ...
[ 111337, 109921, 2203, 30646, 8647, 3650, 4153, 116071, 11675, 13316, 164, 5252, 2174, 759, 97249, 10763, 69112, 106, 28872, 37076, 190355, 10869, 105950, 9351, 1176, 3034, 75571, 14168, 1486, 75985, 50717, 5423, 39029, 2146, 3502, 2480, 109585,...
[ 0.2486572265625, 0.2890625, 0.03790283203125, 0.18408203125, 0.2371826171875, 0.0810546875, 0.0162506103515625, 0.1446533203125, 0.15380859375, 0.10302734375, 0.099609375, 0.0899658203125, 0.008392333984375, 0.1297607421875, 0.1348876953125, 0.0943603515625, 0.032684326171875, 0.07...
embed
41126330_c0
41126330
haskell
0
Title: Writing Sudoku in haskell, Find possible candidates for a cell Problem title: Writing Sudoku in haskell, Find possible candidates for a cell Tags: sudoku, haskell Problem: Writing Sudoku in haskell, Find possible candidates for a cell This is the code i have for Sudoku in haskell. However i got stuck on a functi...
Writing Sudoku in haskell, Find possible candidates for a cell Writing Sudoku in haskell, Find possible candidates for a cell sudoku haskell Data.Char Data.List Data.Maybe Test.QuickCheck int file char our Writing Sudoku Find Maybe Show Just Nothing Crates Checks Bool Which Prints FilePath Convertion Gen Make Sudokus A...
[ -0.0098876953125, 0.01141357421875, 0.0240478515625, 0.00127410888671875, -0.01263427734375, -0.0216064453125, -0.0017242431640625, -0.00445556640625, -0.02294921875, 0.0306396484375, -0.0281982421875, 0.00063323974609375, -0.01416015625, 0.04150390625, -0.015869140625, 0.0164794921875...
[ 213185, 15334, 38067, 23, 1556, 142508, 26040, 7722, 25469, 90, 100, 38750, 8932, 11809, 84068, 154663, 82419, 8647, 96010, 202567, 11435, 21441, 83425, 17367, 9563, 182747, 34734, 1636, 38679, 929, 39754, 42724, 10519, 814, 15937, 685, 223, ...
[ 0.1507568359375, 0.1409912109375, 0.1939697265625, 0.054290771484375, 0.124267578125, 0.2266845703125, 0.127197265625, 0.14794921875, 0.1922607421875, 0.08087158203125, 0.058685302734375, 0.2041015625, 0.116455078125, 0.059661865234375, 0.0802001953125, 0.01824951171875, 0.0094604492...
embed
73179996_c0
73179996
haskell
0
Title: How to impose type constraints on typeclass instances? Problem title: How to impose type constraints on typeclass instances? Tags: haskell Problem: How to impose type constraints on typeclass instances? I'm learning Haskell by reading Learn You a Haskell for Great Good! . Near the end of the Making Our Own Types...
How to impose type constraints on typeclass instances? How to impose type constraints on typeclass instances? haskell How YesNo Bool Num FlexibleInstances TruthyNum How to impose type constraints on typeclass instances? I'm learning Haskell by reading Learn You a Haskell for Great Good! . Near the end of the Making Our...
[ -0.0125732421875, 0.00982666015625, 0.0223388671875, 0.0152587890625, 0.003692626953125, 0.0118408203125, 0.000492095947265625, -0.0194091796875, -0.00058746337890625, 0.0157470703125, -0.035400390625, -0.04150390625, -0.0216064453125, -0.0072021484375, -0.019287109375, -0.007415771484...
[ 11249, 47, 178451, 10644, 158, 2816, 4288, 98, 67413, 110527, 1556, 142508, 32635, 5021, 2460, 929, 52782, 180842, 2661, 116071, 184431, 53, 839, 316, 52080, 20625, 134031, 100, 18621, 7710, 60457, 18507, 61924, 40226, 85027, 12741, 46876, 13...
[ 0.07440185546875, 0.0158538818359375, 0.216796875, 0.25634765625, 0.141845703125, 0.1964111328125, 0.1683349609375, 0.044586181640625, 0.2470703125, 0.211669921875, 0.09283447265625, 0.194580078125, 0.1522216796875, 0.2314453125, 0.0229644775390625, 0.1065673828125, 0.1715087890625, ...
embed