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
57794397_c0
57794397
haskell
0
Title: Is there something in between Traversable and MonoTraversable? Problem title: Is there something in between Traversable and MonoTraversable? Tags: types, typeclass, traversal, parametric-polymorphism, haskell Problem: Is there something in between Traversable and MonoTraversable? I have a datatype and accompanyi...
Is there something in between Traversable and MonoTraversable? Is there something in between Traversable and MonoTraversable? types typeclass traversal parametric-polymorphism haskell Traversable MonoTraversable Foo MkFoo Bar Applicative Is there something in between Traversable and MonoTraversable? I have a datatype a...
[ 0.001373291015625, 0.0240478515625, -0.01220703125, 0.00933837890625, 0.0172119140625, 0.004058837890625, -0.000885009765625, -0.0201416015625, 0.002349853515625, -0.0177001953125, 0.00860595703125, -0.0048828125, -0.0205078125, 0.0162353515625, 0.00537109375, 0.000179290771484375, -...
[ 2685, 9844, 23, 17721, 4937, 7864, 2886, 136, 77879, 28542, 52895, 10644, 67413, 37317, 289, 121, 186518, 135545, 178851, 1556, 142508, 9572, 31, 92, 27591, 3253, 5659, 11048, 4935, 2071, 2053, 50986, 146365, 32354, 33342, 4552, 1884, 12096, ...
[ 0.0396728515625, 0.10113525390625, 0.09423828125, 0.1710205078125, 0.1331787109375, 0.194580078125, 0.2286376953125, 0.06805419921875, 0.2093505859375, 0.1444091796875, 0.15625, 0.150146484375, 0.193115234375, 0.2159423828125, 0.103759765625, 0.041259765625, 0.105712890625, 0.06726...
embed
59918998_c0
59918998
haskell
0
Title: Matrix of string, with unique columns and rows, latin square Problem title: Matrix of string, with unique columns and rows, latin square Tags: permutation, math, haskell, functional-programming, complexity-theory Problem: Matrix of string, with unique columns and rows, latin square i'm trying to write a function...
Matrix of string, with unique columns and rows, latin square Matrix of string, with unique columns and rows, latin square permutation math haskell functional-programming complexity-theory Matrix Matrix of string, with unique columns and rows, latin square i'm trying to write a function that for n gives matrix n*n with ...
[ 0.000217437744140625, 0.017822265625, 0.007049560546875, -0.005889892578125, -0.004058837890625, -0.0147705078125, 0.006561279296875, 0.003753662109375, 0.009765625, -0.0186767578125, -0.007232666015625, -0.0147705078125, 0.0264892578125, -0.0004444122314453125, -0.068359375, 0.0046997...
[ 194234, 111, 79315, 678, 36998, 3365, 316, 1779, 136, 15555, 45137, 108047, 117, 561, 48909, 1556, 142508, 123309, 28966, 27140, 2481, 17, 31577, 47, 33022, 32354, 100, 653, 76199, 50944, 425, 1639, 2335, 73, 759, 5303, 7, 418, 1468, 304,...
[ 0.260986328125, 0.10400390625, 0.2362060546875, 0.0772705078125, 0.2425537109375, 0.1094970703125, 0.1251220703125, 0.052337646484375, 0.050018310546875, 0.1844482421875, 0.255859375, 0.257568359375, 0.097900390625, 0.1470947265625, 0.054656982421875, 0.0755615234375, 0.16259765625, ...
embed
14250717_c0
14250717
haskell
0
Title: haskell parse error in pattern for n+k pattern Problem title: haskell parse error in pattern for n+k pattern Tags: ghci, haskell, pattern-matching Problem: haskell parse error in pattern for n+k pattern I have started working my way through Erik Meijer's 13-part lectures (and Graham Hutton's slides ) to learn Ha...
haskell parse error in pattern for n+k pattern haskell parse error in pattern for n+k pattern ghci haskell pattern-matching Main Parse Users helloworld.hs:14:9 haskell parse error in pattern for n+k pattern I have started working my way through Erik Meijer's 13-part lectures (and Graham Hutton's slides ) to learn Haske...
[ -0.00946044921875, 0.019775390625, 0.002105712890625, 0.00946044921875, -0.00506591796875, 0.0294189453125, -0.016357421875, -0.0017242431640625, 0.00885009765625, -0.0291748046875, 0.00811767578125, -0.0301513671875, 0.01422119140625, -0.00250244140625, 0.0003185272216796875, 0.011169...
[ 1556, 142508, 366, 184, 18499, 23, 103510, 100, 653, 1328, 92, 31380, 318, 98753, 12321, 2392, 53400, 33600, 31, 32554, 127, 7, 22635, 1126, 27303, 11204, 4227, 25966, 17365, 59619, 147756, 97595, 1507, 122753, 30698, 20625, 117615, 201, 91...
[ 0.154052734375, 0.2196044921875, 0.1424560546875, 0.08599853515625, 0.1727294921875, 0.03515625, 0.2091064453125, 0.001556396484375, 0.095703125, 0.1900634765625, 0.1766357421875, 0.049835205078125, 0.056915283203125, 0.1763916015625, 0.0203704833984375, 0.09271240234375, 0.057647705...
embed
14859690_c0
14859690
haskell
0
Title: Wrapped floating point type with built-in epsilon Problem title: Wrapped floating point type with built-in epsilon Tags: floating-point, haskell Problem: Wrapped floating point type with built-in epsilon I'm working on some geometrical calculations that will require me to compare coordinates based on Doubles. I ...
Wrapped floating point type with built-in epsilon Wrapped floating point type with built-in epsilon floating-point haskell Wrapped Wrapped floating point type with built-in epsilon I'm working on some geometrical calculations that will require me to compare coordinates based on Doubles. I usually deal with the floating...
[ 0.01007080078125, -0.0009002685546875, 0.00250244140625, -0.01116943359375, 0.00457763671875, 0.0208740234375, -0.00115203857421875, -0.00201416015625, 0.002349853515625, 0.00116729736328125, -0.01068115234375, 0.0126953125, -0.011474609375, -0.0036163330078125, -0.03662109375, 0.01556...
[ 601, 219, 48398, 21917, 26518, 6275, 10644, 678, 88303, 73, 28, 15759, 4759, 38496, 1556, 142508, 20697, 84183, 74481, 69101, 176866, 35509, 107172, 56104, 35142, 23, 2263, 27315, 26719, 66733, 39210, 4677, 52347, 17086, 112, 188800, 277, 249...
[ 0.037506103515625, 0.1905517578125, 0.131591796875, 0.181396484375, 0.0908203125, 0.1510009765625, 0.1998291015625, 0.05743408203125, 0.1707763671875, 0.115234375, 0.040985107421875, 0.2042236328125, 0.1859130859375, 0.134521484375, 0.12890625, 0.25537109375, 0.0743408203125, 0.087...
embed
39962671_c0
39962671
haskell
0
Title: Monomorphizing with Type Families Problem title: Monomorphizing with Type Families Tags: haskell, ghc Problem: Monomorphizing with Type Families The following code compiles, but only with an explicit type signature in bar : {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE TypeFamilies #-} type family ResultOf a...
Monomorphizing with Type Families Monomorphizing with Type Families haskell ghc Monomorphizing Type Families LANGUAGE ScopedTypeVariables TypeFamilies ResultOf Monad MonadRandom Monomorphizing with Type Families The following code compiles, but only with an explicit type signature in bar : I understand roughly why the ...
[ 0.0162353515625, 0.003692626953125, -0.01318359375, 0.0074462890625, -0.00836181640625, 0.00274658203125, -0.00162506103515625, -0.0208740234375, -0.003875732421875, -0.0322265625, 0.00116729736328125, -0.00384521484375, -0.01446533203125, 0.0106201171875, -0.00091552734375, -0.0238037...
[ 77879, 178851, 84382, 678, 60457, 24641, 1556, 142508, 31380, 238, 98064, 182783, 297, 196707, 81827, 1191, 126684, 132887, 60331, 71, 126525, 3815, 25632, 18151, 9969, 1340, 4734, 143726, 10644, 138256, 23, 1909, 28219, 166904, 15400, 56065, 5...
[ 0.1727294921875, 0.2142333984375, 0.05145263671875, 0.056304931640625, 0.2021484375, 0.1409912109375, 0.09454345703125, 0.2142333984375, 0.0849609375, 0.0938720703125, 0.07427978515625, 0.0845947265625, 0.0184783935546875, 0.1141357421875, 0.014892578125, 0.07647705078125, 0.16699218...
embed
50783823_c1
50783823
haskell
1
return ProgState ---- processors ---- start :: Processor ctx os (Transition os) start = Processor $ GP.runContextT GLFW.defaultHandleConfig $ do win <- GP.newWindow (GP.WindowFormatColor GP.RGB8) (GLFW.defaultWindowConfig "Foobar") possiblyState <- liftIO $ runExceptT $ mkFullState win "./" case possiblyState of Left ...
return ProgState ---- processors ---- start :: Processor ctx os (Transition os) start = Processor $ GP.runContextT GLFW.defaultHandleConfig $ do win <- GP.newWindow (GP.WindowFormatColor GP.RGB8) (GLFW.defaultWindowConfig "Foobar") possiblyState <- liftIO $ runExceptT $ mkFullState win "./" case possiblyState of Left ...
[ -0.01434326171875, -0.0159912109375, -0.0186767578125, 0.010986328125, -0.031005859375, 0.006988525390625, -0.0106201171875, -0.037841796875, -0.004425048828125, -0.0179443359375, 0.00335693359375, 0.031494140625, 0.0022125244140625, -0.0067138671875, -0.011962890625, -0.0111083984375,...
[ 30646, 1250, 177, 135206, 13, 112111, 14543, 4295, 4034, 1984, 170582, 42, 108963, 425, 362, 62624, 14, 1363, 2203, 3650, 54709, 16428, 11935, 22829, 618, 90799, 129699, 214810, 135679, 133, 83671, 54, 19916, 54936, 92049, 24293, 32566, 10297...
[ 0.25439453125, 0.1937255859375, 0.1826171875, 0.24072265625, 0.1175537109375, 0.039215087890625, 0.1697998046875, 0.1080322265625, 0.238525390625, 0.042144775390625, 0.19384765625, 0.103759765625, 0.05517578125, 0.129150390625, 0.169677734375, 0.1705322265625, 0.1387939453125, 0.12...
embed
22616994_c0
22616994
haskell
0
Title: Avoid long tuple definitions in haskell Problem title: Avoid long tuple definitions in haskell Tags: hxt, tuples, haskell Problem: Avoid long tuple definitions in haskell For my work with hxt I implemented the following function: -- | Construction of a 8 argument arrow from a 8-ary function. Same -- implementati...
Avoid long tuple definitions in haskell Avoid long tuple definitions in haskell hxt tuples haskell a Avoid Construction Same Control.Arrow.ArrowList.arr4 arr8 ArrowList Avoid long tuple definitions in haskell For my work with hxt I implemented the following function: As mentioned in the haddock comment the above functi...
[ 0.004058837890625, 0.0279541015625, 0.020263671875, 0.00543212890625, -0.01171875, -0.005157470703125, -0.021240234375, 0.00107574462890625, 0.01190185546875, -0.00836181640625, -0.00262451171875, -0.00799560546875, -0.01385498046875, 0.01470947265625, 0.005767822265625, -0.00227355957...
[ 84361, 532, 4989, 370, 8705, 80934, 1556, 142508, 1096, 29062, 99726, 195769, 99908, 27131, 7614, 15555, 154663, 147, 42, 617, 187, 1019, 1172, 29479, 32354, 138414, 51776, 15045, 6635, 30646, 382, 10750, 118201, 4527, 418, 1230, 304, 50490, ...
[ 0.1685791015625, 0.1092529296875, 0.117431640625, 0.1339111328125, 0.2108154296875, 0.183837890625, 0.139404296875, 0.221923828125, 0.055908203125, 0.137939453125, 0.1856689453125, 0.11474609375, 0.06072998046875, 0.19091796875, 0.00885009765625, 0.106689453125, 0.1533203125, 0.020...
embed
6288942_c0
6288942
haskell
0
Title: cabal install glib makes error Problem title: cabal install glib makes error Tags: cabal, glib, haskell, installation, windows Problem: cabal install glib makes error I tried installing gtk2hs in many ways but have no luck so far installation always failed with glib issue So I tried installing glib first with ca...
cabal install glib makes error cabal install glib makes error cabal glib haskell installation windows Microsoft Windows Version Copyright Corp Registering glib-0.12.0 Installing Documents Settings Application Data ghc-7.0.3 setup.exe UserPackageDB Error ExitFailure cabal install glib makes error I tried installing gtk2...
[ 0.01556396484375, 0.0126953125, 0.0023345947265625, -0.0029144287109375, -0.013427734375, -0.00017261505126953125, -0.01287841796875, -0.022216796875, -0.005218505859375, 0.01361083984375, 0.0201416015625, -0.03857421875, 0.0216064453125, -0.007476806640625, -0.016357421875, 0.00854492...
[ 109524, 20600, 1978, 275, 30482, 18499, 1556, 142508, 59720, 54825, 7244, 3773, 40647, 4189, 89499, 131423, 102014, 73011, 107951, 43101, 105548, 104921, 11809, 31380, 238, 16709, 170179, 169581, 46480, 53400, 205956, 39463, 212059, 5443, 217, 17...
[ 0.2607421875, 0.183837890625, 0.2110595703125, 0.220703125, 0.070068359375, 0.22412109375, 0.1226806640625, 0.2266845703125, 0.1175537109375, 0.0767822265625, 0.04248046875, 0.075927734375, 0.0665283203125, 0.1151123046875, 0.06103515625, 0.1043701171875, 0.05682373046875, 0.100830...
embed
15458528_c0
15458528
haskell
0
Title: Rewrite a monad computation in prefix notation Problem title: Rewrite a monad computation in prefix notation Tags: infix-notation, haskell Problem: Rewrite a monad computation in prefix notation I'm trying to figure out how to rewrite a monadic computation with prefix notation (not for real practical goals, just...
Rewrite a monad computation in prefix notation Rewrite a monad computation in prefix notation infix-notation haskell Rewrite Main Not Rewrite a monad computation in prefix notation I'm trying to figure out how to rewrite a monadic computation with prefix notation (not for real practical goals, just for research), but t...
[ -0.02880859375, 0.00677490234375, 0.0115966796875, 0.009765625, 0.0113525390625, -0.0059814453125, 0.00775146484375, 0.004913330078125, -0.00112152099609375, -0.041259765625, 0.012939453125, -0.0091552734375, 0.00958251953125, -0.00848388671875, 0.019775390625, -0.006622314453125, -0...
[ 853, 434, 18781, 2667, 712, 181135, 183114, 110, 1363, 23, 55923, 157, 1556, 142508, 12321, 11205, 22062, 456, 11, 18403, 138155, 109458, 25188, 2967, 1632, 21, 6492, 85, 18, 1957, 15700, 171859, 20697, 27781, 5429, 75639, 18499, 959, 86681...
[ 0.0860595703125, 0.123779296875, 0.1658935546875, 0.1302490234375, 0.176513671875, 0.1593017578125, 0.22802734375, 0.152099609375, 0.0271759033203125, 0.085205078125, 0.1895751953125, 0.1429443359375, 0.0977783203125, 0.2113037109375, 0.0728759765625, 0.0994873046875, 0.0536193847656...
embed
44698588_c1
44698588
haskell
1
Warning: Tab character /tmp/stack1466/happy-1.19.5/Setup.lhs:82:23: Warning: Tab character /tmp/stack1466/happy-1.19.5/Setup.lhs:83:26: Warning: Tab character /tmp/stack1466/happy-1.19.5/Setup.lhs:84:26: Warning: Tab character /tmp/stack1466/happy-1.19.5/Setup.lhs:85:30: Warning: Tab character /tmp/stack1466/happy-1.1...
I5QiHK4PDo4jSYdwQ.a HsUnix.o __hsunix_rtldNext HsUnix.c x86_64-freebsd-ghc-7.10.2 unix-2.7.2.0-3psvMyG1UoBJLXj9bF7fFS libHSunix-2.7.2.0-3psvMyG1UoBJLXj9bF7fFS.a __hsunix_rtldDefault __hsunix_ptsname __hsunix_grantpt __hsunix_unlockpt __hsunix_push_module collect2 Haskell, FreeBSD, Stack, happy: What can one do if a bui...
[ 0.00096893310546875, -0.01361083984375, 0.0067138671875, 0.0038299560546875, -0.010498046875, 0.01251220703125, -0.0034637451171875, -0.00118255615234375, -0.0038909912109375, -0.00970458984375, -0.0012664794921875, -0.0186767578125, 0.0113525390625, -0.015625, 0.009765625, 0.003646850...
[ 52535, 572, 7, 85600, 425, 31, 5953, 127, 6548, 4084, 3198, 7344, 81280, 238, 15276, 13307, 32087, 16145, 71, 9486, 16709, 10179, 304, 51, 5428, 53489, 73011, 8316, 6423, 36381, 25474, 38131, 309, 11, 6328, 30962, 21135, 7332, 83279, 4379...
[ 0.019683837890625, 0.09490966796875, 0.060089111328125, 0.16259765625, 0.1182861328125, 0.10888671875, 0.00848388671875, 0.04925537109375, 0.0892333984375, 0.1396484375, 0.00042724609375, 0.0697021484375, 0.062164306640625, 0.10675048828125, 0.19189453125, 0.1605224609375, 0.08166503...
embed
78096327_c0
78096327
haskell
0
Title: Derive `Show` instances with operations such as &quot;field label modifier&quot; or &quot;constructor tag modifier&quot; Problem title: Derive `Show` instances with operations such as &quot;field label modifier&quot; or &quot;constructor tag modifier&quot; Tags: haskell Problem: Derive `Show` instances with oper...
Derive `Show` instances with operations such as &quot;field label modifier&quot; or &quot;constructor tag modifier&quot; Derive `Show` instances with operations such as &quot;field label modifier&quot; or &quot;constructor tag modifier&quot; haskell Derive Show FromJSON swagger2 ToSchema DerivingVia Derive `Show` insta...
[ 0.00994873046875, 0.00787353515625, -0.0023040771484375, 0.01214599609375, -0.002227783203125, -0.0087890625, 0.0194091796875, 0.00811767578125, 0.0174560546875, 0.0146484375, -0.0101318359375, 0.00958251953125, 0.0302734375, 0.0162353515625, -0.004638671875, -0.007415771484375, -0.0...
[ 1310, 5844, 168660, 110527, 678, 41018, 28394, 67967, 158254, 36716, 748, 7909, 1556, 142508, 17367, 28090, 1375, 58627, 68062, 21407, 304, 717, 25452, 11883, 14, 6496, 36246, 32354, 44457, 2729, 4063, 91616, 85789, 64549, 66448, 31577, 122, ...
[ 0.147216796875, 0.1358642578125, 0.284912109375, 0.239501953125, 0.07928466796875, 0.1651611328125, 0.1201171875, 0.197509765625, 0.229736328125, 0.10498046875, 0.03289794921875, 0.1092529296875, 0.05535888671875, 0.1839599609375, 0.282470703125, 0.080078125, 0.04620361328125, 0.14...
embed
78132502_c0
78132502
haskell
0
Title: Is retry-using STM action guaranteed interruptible in GHC / Haskell? Problem title: Is retry-using STM action guaranteed interruptible in GHC / Haskell? Tags: concurrency, stm, haskell Problem: Is retry-using STM action guaranteed interruptible in GHC / Haskell? In https://hackage.haskell.org/package/base-4.19.1...
Is retry-using STM action guaranteed interruptible in GHC / Haskell? Is retry-using STM action guaranteed interruptible in GHC / Haskell? concurrency stm haskell STM GHC Haskell Is retry-using STM action guaranteed interruptible in GHC / Haskell? In https://hackage.haskell.org/package/base-4.19.1.0/docs/Control-Excepti...
[ -0.02392578125, -0.01348876953125, 0.01318359375, -0.03125, 0.01190185546875, -0.0152587890625, 0.00003719329833984375, 0.007293701171875, -0.0032806396484375, -0.015869140625, 0.002349853515625, 0.00421142578125, -0.004669189453125, 0.01239013671875, 0.0220947265625, 0.01708984375, ...
[ 2071, 456, 15123, 223, 159, 10111, 22631, 142027, 71, 206735, 28236, 527, 73265, 20625, 142508, 23, 108636, 982, 6138, 39, 1556, 248, 139509, 10557, 29102, 37382, 2947, 102107, 175904, 63928, 10433, 9167, 2661, 158, 37676, 41018, 17368, 10485...
[ 0.03814697265625, 0.131591796875, 0.281005859375, 0.11376953125, 0.0631103515625, 0.253173828125, 0.193359375, 0.25146484375, 0.09039306640625, 0.1737060546875, 0.1419677734375, 0.07818603515625, 0.198486328125, 0.10406494140625, 0.22509765625, 0.027130126953125, 0.0966796875, 0.04...
embed
34116989_c0
34116989
haskell
0
Title: Cannot infer instance using evaluator Problem title: Cannot infer instance using evaluator Tags: haskell, type-inference, hugs Problem: Cannot infer instance using evaluator I've started to work through http://www.cs.nott.ac.uk/~pszgmh/monads for a intro on functional programming course. What better way to try a...
Cannot infer instance using evaluator Cannot infer instance using evaluator haskell type-inference hugs evaluator Cannot Expr Val Div Cannot infer instance using evaluator I've started to work through http://www.cs.nott.ac.uk/~pszgmh/monads for a intro on functional programming course. What better way to try and unders...
[ -0.006011962890625, 0.003326416015625, 0.01397705078125, 0.00885009765625, 0.00469970703125, 0.01092529296875, 0.006683349609375, -0.0244140625, -0.00543212890625, -0.05419921875, 0.005523681640625, -0.0084228515625, 0.0196533203125, -0.007354736328125, 0.01416015625, -0.025146484375, ...
[ 4171, 10869, 53498, 110527, 17368, 151575, 748, 1556, 142508, 10644, 73, 69988, 35875, 7, 60075, 42, 4769, 53026, 4488, 4439, 3838, 10923, 87039, 6468, 64627, 123309, 56037, 15411, 11522, 28219, 3034, 18151, 17932, 9191, 190647, 27489, 18499, ...
[ 0.019805908203125, 0.130859375, 0.255615234375, 0.24462890625, 0.0755615234375, 0.2080078125, 0.170166015625, 0.0902099609375, 0.1986083984375, 0.1915283203125, 0.03924560546875, 0.171630859375, 0.1885986328125, 0.1063232421875, 0.0743408203125, 0.071533203125, 0.1414794921875, 0.1...
embed
17351893_c0
17351893
haskell
0
Title: Can Haskell [easily] do COM? Problem title: Can Haskell [easily] do COM? Tags: com, haskell Problem: Can Haskell [easily] do COM? Alright, so I don't really know much about COM. What I do know is that if you write code in one of the Microsoft-sponsored programming languages, then you can write something like 3 l...
Can Haskell [easily] do COM? Can Haskell [easily] do COM? com haskell Can Haskell COM Can Haskell [easily] do COM? Alright, so I don't really know much about COM. What I do know is that if you write code in one of the Microsoft-sponsored programming languages, then you can write something like 3 lines of code to launch...
[ -0.011962890625, 0.00982666015625, 0.003021240234375, 0.0228271484375, -0.004486083984375, 0.00860595703125, -0.0194091796875, -0.01519775390625, 0.0181884765625, -0.0211181640625, -0.012451171875, -0.00848388671875, 0.0274658203125, 0.01275634765625, -0.0048828125, 0.01202392578125, ...
[ 4171, 20625, 142508, 13, 1544, 54, 31436, 375, 1556, 3714, 5045, 2174, 33022, 18151, 111, 7244, 177030, 56037, 46876, 831, 138, 124519, 47, 83184, 30326, 9803, 44237, 4488, 14137, 41884, 2053, 38750, 14192, 41382, 903, 22556, 49846, 20653, ...
[ 0.0965576171875, 0.1497802734375, 0.25537109375, 0.008697509765625, 0.123046875, 0.114990234375, 0.23046875, 0.1522216796875, 0.1331787109375, 0.03790283203125, 0.0086669921875, 0.006500244140625, 0.11083984375, 0.15869140625, 0.000274658203125, 0.1285400390625, 0.1607666015625, 0....
embed
2300275_c0
2300275
haskell
0
Title: How to unpack a haskell existential type? Problem title: How to unpack a haskell existential type? Tags: types, haskell Problem: How to unpack a haskell existential type? Experimenting with existential types. Seems to be a great way to get some type flexibility. I'm hitting a problem with unboxing an existential...
How to unpack a haskell existential type? How to unpack a haskell existential type? types haskell How LANGUAGE ExistentialQuantification Blurb BlurbBox Greek Alpha Beta English Bee box1 box2 How to unpack a haskell existential type? Experimenting with existential types. Seems to be a great way to get some type flexibil...
[ 0.0147705078125, 0.0159912109375, -0.00714111328125, 0.01092529296875, -0.00055694580078125, 0.00164031982421875, -0.0101318359375, 0.0150146484375, 0.004730224609375, 0.0069580078125, 0.01507568359375, -0.02294921875, 0.01043701171875, -0.0184326171875, -0.014892578125, -0.0166015625,...
[ 11249, 47, 51, 29102, 1556, 142508, 99707, 15403, 10644, 10, 52895, 3358, 98064, 122688, 118, 289, 173495, 18, 41274, 29252, 13471, 72295, 160600, 76569, 48941, 14941, 75516, 16530, 418, 304, 146797, 6782, 71985, 2481, 5962, 2967, 11728, 214,...
[ 0.09698486328125, 0.0703125, 0.1297607421875, 0.2705078125, 0.15380859375, 0.258544921875, 0.2020263671875, 0.1669921875, 0.208251953125, 0.04925537109375, 0.201416015625, 0.030548095703125, 0.1212158203125, 0.1434326171875, 0.09600830078125, 0.033203125, 0.031890869140625, 0.03793...
embed
24666384_c0
24666384
haskell
0
Title: IO Monad in Dynamically-typed Languages Problem title: IO Monad in Dynamically-typed Languages Tags: functional-programming, dynamic-typing, haskell, monads Problem: IO Monad in Dynamically-typed Languages In Haskell, one of the things which I feel is quite beautiful is its use of Monads as an abstraction over e...
IO Monad in Dynamically-typed Languages IO Monad in Dynamically-typed Languages functional-programming dynamic-typing haskell monads Monad Dynamically-typed Languages IO Monad in Dynamically-typed Languages In Haskell, one of the things which I feel is quite beautiful is its use of Monads as an abstraction over effectf...
[ 0.0047607421875, 0.0004253387451171875, 0.024169921875, 0.0166015625, 0.0024871826171875, 0.00970458984375, -0.01904296875, 0.00762939453125, -0.0179443359375, -0.037353515625, 0.0020599365234375, -0.058349609375, -0.0140380859375, -0.026611328125, 0.00121307373046875, 0.011962890625, ...
[ 17780, 60331, 71, 23, 73327, 39, 50986, 83658, 123309, 28966, 84079, 46280, 1556, 142508, 2667, 712, 71407, 360, 20625, 8966, 12319, 32233, 34923, 4527, 6468, 164789, 645, 21543, 61972, 28282, 6183, 27650, 3917, 36510, 222530, 18151, 190358, ...
[ 0.2349853515625, 0.21728515625, 0.1485595703125, 0.04571533203125, 0.11181640625, 0.052642822265625, 0.19677734375, 0.162841796875, 0.1373291015625, 0.0938720703125, 0.181396484375, 0.1883544921875, 0.09521484375, 0.25634765625, 0.15234375, 0.1744384765625, 0.01324462890625, 0.0043...
embed
38487907_c1
38487907
haskell
1
+ (amount x)) (amount x) xs Every Task knows it's own type, but a switch case inside the pattern matching is not the way to go I guess... In some naive pseudo code I would write: calcInvoiceHours :: [Task] -> Double calcInvoiceHours [] = 0 calcInvoiceHours [x -> unit x === Hour] = amount x calcInvoiceHours [x -> unit ...
+ (amount x)) (amount x) xs Every Task knows it's own type, but a switch case inside the pattern matching is not the way to go I guess... In some naive pseudo code I would write: calcInvoiceHours :: [Task] -> Double calcInvoiceHours [] = 0 calcInvoiceHours [x -> unit x === Hour] = amount x calcInvoiceHours [x -> unit ...
[ -0.00007772445678710938, -0.0023193359375, 0.01104736328125, -0.002960205078125, -0.0159912109375, -0.038330078125, -0.030517578125, 0.019775390625, 0.0279541015625, 0.01214599609375, 0.00167083740234375, -0.00909423828125, -0.000919342041015625, -0.00104522705078125, -0.00604248046875, ...
[ 997, 121147, 1022, 7, 87769, 9598, 92, 93002, 10002, 10644, 101089, 7225, 46132, 103510, 14858, 214, 959, 3917, 57767, 5844, 74189, 18151, 2806, 33022, 6510, 238, 4153, 965, 2980, 11193, 12824, 9874, 1042, 107172, 757, 25072, 133250, 41170, ...
[ 0.1876220703125, 0.16357421875, 0.1441650390625, 0.018798828125, 0.0830078125, 0.1868896484375, 0.108642578125, 0.0869140625, 0.08734130859375, 0.1700439453125, 0.192626953125, 0.131103515625, 0.09002685546875, 0.1900634765625, 0.1502685546875, 0.0018310546875, 0.0262451171875, 0.0...
embed
27768426_c0
27768426
haskell
0
Title: How to sort &#x27;HOHOHOO!!!&#x27; in Haskell using any non-comparative integer sorting algorithm? Problem title: How to sort &#x27;HOHOHOO!!!&#x27; in Haskell using any non-comparative integer sorting algorithm? Tags: sorting, haskell, algorithm Problem: How to sort 'HOHOHOO!!!' in Haskell using any non-compara...
How to sort &#x27;HOHOHOO!!!&#x27; in Haskell using any non-comparative integer sorting algorithm? How to sort &#x27;HOHOHOO!!!&#x27; in Haskell using any non-comparative integer sorting algorithm? sorting haskell algorithm any How HOHOHOO Haskell x1:r1 x2:r2 s:ss x:s:ss x:r How to sort 'HOHOHOO!!!' in Haskell using an...
[ -0.0220947265625, 0.01263427734375, -0.004150390625, -0.006195068359375, -0.006927490234375, -0.00173187255859375, -0.003936767578125, -0.0185546875, 0.01318359375, 0.002410888671875, 0.0029754638671875, -0.00653076171875, 0.02783203125, 0.01220703125, -0.000331878662109375, -0.0341796...
[ 11249, 47, 12096, 3768, 17933, 670, 1564, 23, 20625, 142508, 17368, 2499, 351, 277, 6276, 892, 1505, 234873, 214, 1556, 21997, 1022, 82825, 42, 304, 91, 12, 31577, 3564, 2046, 78288, 191710, 444, 4734, 79315, 678, 765, 2809, 129842, 756, ...
[ 0.1004638671875, 0.035125732421875, 0.25634765625, 0.107421875, 0.240966796875, 0.21484375, 0.218994140625, 0.0653076171875, 0.163818359375, 0.251953125, 0.0160064697265625, 0.07861328125, 0.136474609375, 0.008392333984375, 0.0799560546875, 0.0753173828125, 0.04498291015625, 0.1934...
embed
28940381_c0
28940381
haskell
0
Title: Haskell - How to infer the type of action Problem title: Haskell - How to infer the type of action Tags: haskell Problem: Haskell - How to infer the type of action An example from Wikibooks ( http://en.wikibooks.org/wiki/Haskell/Simple_input_and_output ) doGuessing num = do putStrLn "Enter your guess:" guess <- ...
Haskell - How to infer the type of action Haskell - How to infer the type of action haskell Haskell How Enter Too You Win Haskell - How to infer the type of action An example from Wikibooks ( http://en.wikibooks.org/wiki/Haskell/Simple_input_and_output ) Wikibooks says 'doGuessing num' has type IO () in the outer "then...
[ -0.011962890625, -0.013916015625, 0.006622314453125, 0.0034332275390625, 0.01953125, 0.020263671875, -0.0034637451171875, 0.002593994140625, 0.000392913818359375, -0.0004673004150390625, 0.0087890625, -0.0296630859375, -0.01153564453125, -0.0089111328125, -0.00396728515625, 0.014892578...
[ 20625, 142508, 11249, 53498, 10644, 22631, 47, 1556, 60816, 56374, 2583, 17686, 111, 27781, 39418, 81415, 13691, 6495, 7, 8859, 33209, 73, 7077, 2940, 6056, 246, 22769, 13, 38001, 13269, 17780, 1810, 56, 92733, 32845, 206, 28219, 15400, 577...
[ 0.1217041015625, 0.2481689453125, 0.06622314453125, 0.238037109375, 0.2308349609375, 0.1959228515625, 0.02880859375, 0.10101318359375, 0.144775390625, 0.1099853515625, 0.039306640625, 0.16357421875, 0.044525146484375, 0.1156005859375, 0.08154296875, 0.1826171875, 0.0157623291015625, ...
embed
71094241_c0
71094241
haskell
0
Title: How to instantiate the Show class after definition of the data structure Problem title: How to instantiate the Show class after definition of the data structure Tags: haskell Problem: How to instantiate the Show class after definition of the data structure I want to derive a Show instance for a data structure wh...
How to instantiate the Show class after definition of the data structure How to instantiate the Show class after definition of the data structure haskell How Show MySQLConnectInfo Maybe How to instantiate the Show class after definition of the data structure I want to derive a Show instance for a data structure which i...
[ 0.00836181640625, 0.01055908203125, 0.0216064453125, 0.0263671875, 0.00958251953125, 0.01434326171875, 0.0155029296875, -0.02490234375, 0.0223388671875, 0.005889892578125, -0.0224609375, -0.0272216796875, 0.0174560546875, -0.000377655029296875, -0.02490234375, -0.0047607421875, -0.00...
[ 11249, 34648, 101426, 17367, 18507, 7103, 80934, 2053, 45646, 47, 1556, 142508, 157146, 235603, 93147, 83425, 70, 3444, 122, 5844, 110527, 4552, 8781, 2811, 35773, 18151, 23009, 7722, 191082, 5299, 88996, 154107, 16406, 70731, 31358, 9969, 3475...
[ 0.0655517578125, 0.162353515625, 0.171630859375, 0.31689453125, 0.250244140625, 0.129638671875, 0.20263671875, 0.09967041015625, 0.1983642578125, 0.006866455078125, 0.09710693359375, 0.17236328125, 0.1636962890625, 0.1197509765625, 0.1715087890625, 0.040313720703125, 0.007080078125, ...
embed
74332918_c0
74332918
haskell
0
Title: How to use constructors correctly when writing structures and what are the alternatives to Null? Problem title: How to use constructors correctly when writing structures and what are the alternatives to Null? Tags: tree, haskell Problem: How to use constructors correctly when writing structures and what are the ...
How to use constructors correctly when writing structures and what are the alternatives to Null? How to use constructors correctly when writing structures and what are the alternatives to Null? tree haskell How EmptyNode NodeBR Bool TreeBR How to use constructors correctly when writing structures and what are the alter...
[ 0.01007080078125, -0.0027923583984375, -0.0048828125, 0.00341796875, 0.02099609375, 0.005615234375, -0.006103515625, -0.01519775390625, 0.0031280517578125, 0.01171875, 0.00177764892578125, 0.00799560546875, 0.0203857421875, 0.010009765625, 0.00028228759765625, 0.005035400390625, 0.01...
[ 11249, 4527, 64549, 25251, 26785, 32562, 45646, 30700, 1429, 1181, 53201, 1556, 142508, 31678, 939, 5021, 112, 438, 38101, 2460, 929, 101344, 3229, 47, 31577, 33022, 4842, 151675, 23, 183871, 20537, 756, 31358, 959, 70541, 2053, 22556, 28219,...
[ 0.05694580078125, 0.12890625, 0.23046875, 0.205810546875, 0.1142578125, 0.1650390625, 0.1875, 0.1429443359375, 0.2000732421875, 0.20263671875, 0.1871337890625, 0.12890625, 0.2447509765625, 0.147216796875, 0.122314453125, 0.16845703125, 0.1597900390625, 0.0977783203125, 0.14965820...
embed
57270529_c0
57270529
haskell
0
Title: haskell optimized fill of max value Problem title: haskell optimized fill of max value Tags: haskell, recursion, traversal Problem: haskell optimized fill of max value Started building some small real world stuff in Haskell for getting some routine. Need piece of code that takes a value-A ( max ) and a list of v...
haskell optimized fill of max value haskell optimized fill of max value haskell recursion traversal x:xs haskell optimized fill of max value Started building some small real world stuff in Haskell for getting some routine. Need piece of code that takes a value-A ( max ) and a list of values (x:xs) that will return a li...
[ -0.0234375, 0.0118408203125, 0.00982666015625, 0.0007781982421875, -0.0279541015625, 0.01104736328125, -0.0029144287109375, 0.003753662109375, 0.02685546875, 0.0230712890625, 0.0194091796875, 0.002105712890625, 0.00933837890625, 0.0128173828125, 0.015869140625, -0.0167236328125, -0.0...
[ 1556, 142508, 15572, 29367, 26292, 111, 18389, 34292, 195625, 1830, 37317, 289, 1022, 12, 425, 33976, 19336, 2773, 8999, 41884, 20625, 124374, 52889, 63847, 18151, 51776, 284, 136, 5303, 142424, 30646, 10554, 105950, 707, 92319, 3501, 5036, 3...
[ 0.136962890625, 0.2142333984375, 0.1531982421875, 0.0751953125, 0.2073974609375, 0.08642578125, 0.2080078125, 0.191650390625, 0.1695556640625, 0.049072265625, 0.1861572265625, 0.042999267578125, 0.0625, 0.043426513671875, 0.095458984375, 0.056671142578125, 0.05035400390625, 0.06842...
embed
38505314_c0
38505314
haskell
0
Title: Associated type family fails, works when made standalone Problem title: Associated type family fails, works when made standalone Tags: type-families, associated-types, haskell Problem: Associated type family fails, works when made standalone When I have code like the following: class C where type T t1 t2 ... ins...
Associated type family fails, works when made standalone Associated type family fails, works when made standalone type-families associated-types haskell Associated Polymorphic i.e Associated type family fails, works when made standalone When I have code like the following: I get the error (with GHC head): Presumably th...
[ 0.0203857421875, 0.00982666015625, -0.00848388671875, -0.005645751953125, -0.0091552734375, -0.0186767578125, -0.000225067138671875, -0.005126953125, -0.00897216796875, -0.0137939453125, -0.0033721923828125, -0.0133056640625, -0.0068359375, 0.0172119140625, -0.00141143798828125, -0.011...
[ 209688, 10644, 14449, 35782, 43240, 3229, 7228, 103723, 51684, 69128, 137272, 50986, 1556, 142508, 63306, 178851, 18151, 1884, 18499, 76228, 527, 73265, 10336, 903, 6637, 18, 10, 876, 959, 8781, 77336, 35388, 5608, 125733, 25632, 4488, 161549, ...
[ 0.2220458984375, 0.208740234375, 0.1627197265625, 0.176025390625, 0.094970703125, 0.03997802734375, 0.05401611328125, 0.116455078125, 0.125732421875, 0.1064453125, 0.2066650390625, 0.171630859375, 0.0994873046875, 0.1982421875, 0.08209228515625, 0.167724609375, 0.130615234375, 0.01...
embed
41810985_c0
41810985
haskell
0
Title: Modeling recursive fmap (sort of) over a list Problem title: Modeling recursive fmap (sort of) over a list Tags: list, function, haskell Problem: Modeling recursive fmap (sort of) over a list I was wondering what the best way is to implement the following problem in a functional programming language (in this exa...
Modeling recursive fmap (sort of) over a list Modeling recursive fmap (sort of) over a list list function haskell Modeling x:xs Modeling recursive fmap (sort of) over a list I was wondering what the best way is to implement the following problem in a functional programming language (in this example Haskell): You have a...
[ 0.003631591796875, 0.000926971435546875, 0.00531005859375, 0.017578125, -0.00872802734375, 0.037109375, -0.0004825592041015625, -0.00341796875, 0.025634765625, -0.01373291015625, 0.024169921875, -0.000514984130859375, 0.0030670166015625, 0.015869140625, 0.006622314453125, -0.0167236328...
[ 13293, 195625, 5844, 1238, 62346, 62351, 111, 645, 5303, 32354, 1556, 142508, 1022, 425, 149016, 2965, 3917, 29479, 25632, 2967, 123309, 56037, 46876, 27781, 20625, 7514, 15504, 116, 107730, 678, 10644, 10, 136, 876, 23, 628, 7077, 5701, 15...
[ 0.2032470703125, 0.220947265625, 0.1058349609375, 0.1163330078125, 0.2110595703125, 0.1224365234375, 0.132080078125, 0.1005859375, 0.1749267578125, 0.1602783203125, 0.1064453125, 0.211181640625, 0.00286865234375, 0.042327880859375, 0.004852294921875, 0.0880126953125, 0.036376953125, ...
embed
47981492_c0
47981492
haskell
0
Title: Template Haskell: Generate Records Problem title: Template Haskell: Generate Records Tags: template-haskell, haskell Problem: Template Haskell: Generate Records With Template Haskell I would like to generate records, eg: data MyRecordA = MyRecordA {fooA :: String, barA :: Bool} The uppercase A in MyRecordA , foo...
Template Haskell: Generate Records Template Haskell: Generate Records template-haskell haskell Language.Haskell.TH Template Haskell Generate Records MyRecordA Bool LANGUAGE TemplateHaskell THRecord Name Dec MyRecord RecC Template Haskell: Generate Records With Template Haskell I would like to generate records, eg: The ...
[ -0.0048828125, -0.004730224609375, 0.001129150390625, 0.0341796875, -0.00634765625, 0.01019287109375, -0.00762939453125, -0.0086669921875, 0.0159912109375, -0.03173828125, -0.02001953125, -0.019287109375, 0.01165771484375, 0.0036773681640625, -0.009521484375, -0.01055908203125, 0.002...
[ 196631, 20625, 142508, 155370, 67, 89916, 110934, 10557, 1556, 83658, 6495, 7, 23415, 2646, 32271, 284, 2460, 929, 98064, 12232, 25755, 4332, 48224, 441, 17106, 1884, 139392, 115923, 1407, 56, 58437, 62, 5775, 31, 1909, 10644, 17932, 44457, ...
[ 0.2568359375, 0.1376953125, 0.2152099609375, 0.1763916015625, 0.08538818359375, 0.208984375, 0.2484130859375, 0.1187744140625, 0.131591796875, 0.1485595703125, 0.07415771484375, 0.056915283203125, 0.1328125, 0.12060546875, 0.1851806640625, 0.12451171875, 0.087646484375, 0.182006835...
embed
58474946_c0
58474946
haskell
0
Title: Where is State Monad in Haskell, and how can I use it? Problem title: Where is State Monad in Haskell, and how can I use it? Tags: monads, monad-transformers, haskell Problem: Where is State Monad in Haskell, and how can I use it? I'm learning State Monad, and was told it doesn't exist any more, the first questi...
Where is State Monad in Haskell, and how can I use it? Where is State Monad in Haskell, and how can I use it? monads monad-transformers haskell Data.Functor.Identity Control.Monad.Trans.State Where State Monad Haskell StateT Identity Ambiguous Control.Monad.Trans.State.State Main.State MonadState Where is State Monad i...
[ -0.0125732421875, 0.00811767578125, 0.0089111328125, 0.01312255859375, 0.00958251953125, -0.0013275146484375, -0.003631591796875, 0.01190185546875, -0.00408935546875, -0.0103759765625, 0.0205078125, -0.0087890625, -0.00775146484375, -0.01409912109375, -0.0098876953125, -0.0096435546875...
[ 78662, 83, 22836, 60331, 71, 23, 20625, 142508, 136, 3642, 831, 4527, 442, 2667, 712, 7, 215175, 1314, 1556, 11809, 97249, 18770, 37379, 27131, 46674, 62624, 135206, 618, 71257, 10250, 12282, 12321, 52080, 22027, 18, 32316, 2499, 1286, 1540...
[ 0.147705078125, 0.0955810546875, 0.238525390625, 0.2198486328125, 0.2049560546875, 0.0780029296875, 0.1427001953125, 0.26318359375, 0.001312255859375, 0.05712890625, 0.056640625, 0.13818359375, 0.0863037109375, 0.0999755859375, 0.1328125, 0.021942138671875, 0.1646728515625, 0.03308...
embed
36994085_c0
36994085
haskell
0
Title: Loading Haskell Modules that have dependencies Problem title: Loading Haskell Modules that have dependencies Tags: ghc, import, ghci, haskell Problem: Loading Haskell Modules that have dependencies I'm unsure what my issue is here. I have a trio of modules A.hs, B.hs, and C.hs. All are located at C:\..path...\fo...
Loading Haskell Modules that have dependencies Loading Haskell Modules that have dependencies ghc import ghci haskell A ghci Loading Haskell Modules A.hs B.hs C.hs Could Use Failed Loading Haskell Modules that have dependencies I'm unsure what my issue is here. I have a trio of modules A.hs, B.hs, and C.hs. All are loc...
[ 0.006195068359375, 0.0017547607421875, 0.00170135498046875, 0.037353515625, -0.006622314453125, 0.01239013671875, -0.0052490234375, 0.000965118408203125, -0.0029754638671875, -0.017822265625, -0.016357421875, -0.03369140625, -0.00244140625, 0.0084228515625, 0.0036163330078125, -0.00097...
[ 228006, 20625, 142508, 63014, 450, 765, 42548, 117538, 31380, 238, 24927, 318, 1556, 62, 127, 335, 313, 191147, 36836, 190355, 90, 31089, 104713, 88996, 5, 105866, 99, 128405, 42822, 136, 15044, 1295, 70541, 13315, 831, 141, 706, 1861, 1130...
[ 0.2073974609375, 0.1414794921875, 0.217529296875, 0.1729736328125, 0.005035400390625, 0.101806640625, 0.2081298828125, 0.1143798828125, 0.125732421875, 0.1112060546875, 0.226318359375, 0.1334228515625, 0.1390380859375, 0.083984375, 0.0987548828125, 0.0704345703125, 0.102294921875, ...
embed
54175031_c0
54175031
haskell
0
Title: Posting a message while running Gloss code in Haskell Problem title: Posting a message while running Gloss code in Haskell Tags: gloss, haskell Problem: Posting a message while running Gloss code in Haskell The Haskell playIO has the below type: playIO:: Display -> Color background color -> Int -> world --initia...
Posting a message while running Gloss code in Haskell Posting a message while running Gloss code in Haskell gloss haskell Posting Gloss Haskell Display Color Picture Event Float Posting a message while running Gloss code in Haskell The Haskell playIO has the below type: Once you call playIO inside main , it runs contin...
[ 0.01007080078125, 0.022705078125, 0.0027313232421875, 0.015380859375, 0.01104736328125, 0.00787353515625, 0.00653076171875, -0.0245361328125, -0.00579833984375, -0.01556396484375, 0.032470703125, -0.036376953125, -0.0025482177734375, -0.01483154296875, 0.007110595703125, 0.026000976562...
[ 107662, 26008, 12960, 51042, 46173, 7, 18151, 20625, 142508, 23, 207244, 1556, 90045, 51193, 158656, 36943, 38699, 11301, 17780, 35064, 10644, 11782, 46132, 5201, 127877, 19686, 1257, 56464, 195490, 40030, 8999, 7225, 73659, 34831, 47353, 24626, ...
[ 0.173828125, 0.1806640625, 0.10028076171875, 0.135009765625, 0.17626953125, 0.151611328125, 0.220458984375, 0.1339111328125, 0.211181640625, 0.006927490234375, 0.230224609375, 0.118408203125, 0.10107421875, 0.139892578125, 0.1292724609375, 0.1378173828125, 0.1512451171875, 0.183715...
embed
55987899_c0
55987899
haskell
0
Title: How to fix Error &quot;Non-exhaustive patterns&quot; in Haskell Problem title: How to fix Error &quot;Non-exhaustive patterns&quot; in Haskell Tags: haskell Problem: How to fix Error "Non-exhaustive patterns" in Haskell I have some problem with my code, I'm trying to put a color into a list of colors depending o...
How to fix Error &quot;Non-exhaustive patterns&quot; in Haskell How to fix Error &quot;Non-exhaustive patterns&quot; in Haskell haskell How Error Non-exhaustive Haskell Colors Float d_anc firstD:restD fristList:restList try:restList How to fix Error "Non-exhaustive patterns" in Haskell I have some problem with my code,...
[ -0.0223388671875, -0.01165771484375, -0.0089111328125, 0.01434326171875, 0.0177001953125, -0.004669189453125, -0.010009765625, 0.0013427734375, 0.0185546875, 0.01025390625, 0.00921630859375, -0.01312255859375, 0.0238037109375, -0.015869140625, 0.00604248046875, 0.0068359375, -0.00309...
[ 11249, 30022, 212059, 59881, 3355, 18391, 4935, 103510, 7, 20625, 142508, 9, 1556, 3775, 51193, 38699, 257, 104, 54326, 5117, 397, 56644, 129192, 154663, 9790, 23, 2967, 18151, 31577, 3884, 10576, 5303, 104988, 96819, 5863, 30185, 351, 98753,...
[ 0.022064208984375, 0.1551513671875, 0.190185546875, 0.210205078125, 0.073486328125, 0.1630859375, 0.114990234375, 0.222900390625, 0.003326416015625, 0.1329345703125, 0.2430419921875, 0.006622314453125, 0.115478515625, 0.184814453125, 0.1605224609375, 0.146728515625, 0.029006958007812...
embed
64389149_c0
64389149
haskell
0
Title: Haskell function to work on integer tuple Problem title: Haskell function to work on integer tuple Tags: haskell, list, tuples Problem: Haskell function to work on integer tuple I'm have just started learning Haskell and am trying to create a function that performs several checks on a tuple containing 6 integers...
Haskell function to work on integer tuple Haskell function to work on integer tuple haskell list tuples Haskell x:xs Bool Haskell function to work on integer tuple I'm have just started learning Haskell and am trying to create a function that performs several checks on a tuple containing 6 integers. These checks includ...
[ 0.004241943359375, 0.007293701171875, 0.013427734375, 0.000598907470703125, -0.0081787109375, 0.0260009765625, -0.005767822265625, -0.00946044921875, 0.0166015625, 0.0130615234375, -0.0018157958984375, 0.00543212890625, 0.004852294921875, 0.03125, 0.00360107421875, 0.00469970703125, ...
[ 20625, 142508, 32354, 47, 4488, 98, 892, 1505, 370, 8705, 1556, 5303, 99726, 1022, 12, 425, 7, 2460, 929, 26859, 52080, 31577, 28282, 51339, 40368, 12765, 70541, 305, 26255, 756, 153939, 12921, 75939, 3853, 70270, 129927, 1286, 6626, 5117, ...
[ 0.15869140625, 0.228759765625, 0.21533203125, 0.050689697265625, 0.1636962890625, 0.1103515625, 0.1392822265625, 0.1346435546875, 0.16748046875, 0.222900390625, 0.1424560546875, 0.1453857421875, 0.2103271484375, 0.048736572265625, 0.021942138671875, 0.0828857421875, 0.008148193359375...
embed
11481306_c0
11481306
haskell
0
Title: Haskell: How to parse an IO input string into a Float (or Int or whatever)? Problem title: Haskell: How to parse an IO input string into a Float (or Int or whatever)? Tags: io, floating-point, haskell, input, parsing Problem: Haskell: How to parse an IO input string into a Float (or Int or whatever)? I am trying...
Haskell: How to parse an IO input string into a Float (or Int or whatever)? Haskell: How to parse an IO input string into a Float (or Int or whatever)? io floating-point haskell input parsing Haskell How Float Please Haskell: How to parse an IO input string into a Float (or Int or whatever)? I am trying to make a progr...
[ -0.02001953125, 0.00013446807861328125, -0.02734375, 0.0185546875, 0.005523681640625, 0.02685546875, 0.00933837890625, -0.0184326171875, -0.01556396484375, -0.00848388671875, -0.00762939453125, -0.03955078125, -0.0224609375, 0.00128936767578125, -0.0079345703125, -0.01226806640625, 0...
[ 20625, 142508, 11249, 366, 184, 17780, 107730, 79315, 3934, 10, 38699, 257, 360, 18, 89778, 12, 47, 22995, 21917, 26518, 38496, 1556, 30607, 142, 748, 31577, 1528, 51776, 14012, 3674, 38937, 1829, 149186, 41884, 11907, 9790, 23351, 214, 136...
[ 0.1270751953125, 0.250244140625, 0.0921630859375, 0.1741943359375, 0.1363525390625, 0.2293701171875, 0.2254638671875, 0.236083984375, 0.1484375, 0.07611083984375, 0.232421875, 0.1868896484375, 0.08984375, 0.1500244140625, 0.1082763671875, 0.004241943359375, 0.01007080078125, 0.1900...
embed
38572507_c0
38572507
haskell
0
Title: Avoid repetition in lexing when using parsec Problem title: Avoid repetition in lexing when using parsec Tags: haskell, parsec Problem: Avoid repetition in lexing when using parsec The Parsec documentation has an example of using makeTokenParser to build a lexer: module Main where import Text.Parsec import quali...
Avoid repetition in lexing when using parsec Avoid repetition in lexing when using parsec haskell parsec parsec Text.Parsec qualified Text.Parsec.Language Avoid Main Text.Parsec.Token P.makeTokenParser P.parens P.braces P.identifier P.reserved Avoid repetition in lexing when using parsec The Parsec documentation has an...
[ -0.01324462890625, 0.00933837890625, 0.008544921875, 0.01904296875, -0.0033111572265625, -0.0013427734375, 0.007659912109375, 0.0022125244140625, 0.01239013671875, -0.04541015625, 0.003753662109375, 0.0120849609375, 0.0052490234375, -0.0159912109375, 0.00921630859375, 0.00726318359375,...
[ 84361, 532, 57346, 1363, 75675, 214, 17368, 366, 39797, 23, 1556, 142508, 24129, 28636, 217225, 10393, 12321, 7763, 1098, 55898, 2189, 436, 2500, 1755, 2844, 42485, 56, 2392, 209806, 27781, 3249, 45367, 95, 34058, 3957, 46389, 11907, 5, 163...
[ 0.162353515625, 0.0650634765625, 0.27197265625, 0.060302734375, 0.1466064453125, 0.112548828125, 0.06634521484375, 0.1456298828125, 0.2410888671875, 0.019775390625, 0.1265869140625, 0.179931640625, 0.0960693359375, 0.170166015625, 0.162109375, 0.009063720703125, 0.03387451171875, 0...
embed
46221316_c0
46221316
haskell
0
Title: what is the difference between type &quot;a&quot; and type &quot;t&quot; in Haskell type signature? Problem title: what is the difference between type &quot;a&quot; and type &quot;t&quot; in Haskell type signature? Tags: haskell, type-inference Problem: what is the difference between type "a" and type "t" in Has...
what is the difference between type &quot;a&quot; and type &quot;t&quot; in Haskell type signature? what is the difference between type &quot;a&quot; and type &quot;t&quot; in Haskell type signature? haskell type-inference Haskell Foldable what is the difference between type "a" and type "t" in Haskell type signature? ...
[ 0.0272216796875, -0.01324462890625, -0.006927490234375, 0.02392578125, 0.00201416015625, -0.010009765625, 0.00225830078125, 0.01300048828125, 0.00848388671875, 0.014404296875, -0.00726318359375, -0.03955078125, -0.0098876953125, 0.01446533203125, -0.02978515625, -0.0030975341796875, ...
[ 60212, 17721, 10644, 11, 1230, 136, 18, 20625, 142508, 138256, 1556, 69988, 30077, 71, 2886, 23, 6626, 52895, 6863, 12921, 4331, 275, 10557, 77275, 70810, 3387, 61924, 134629, 80934, 190659, 27781, 13648 ]
[ 0.167724609375, 0.06201171875, 0.2288818359375, 0.1434326171875, 0.046142578125, 0.05963134765625, 0.144775390625, 0.100830078125, 0.2103271484375, 0.1805419921875, 0.08642578125, 0.11669921875, 0.06884765625, 0.012939453125, 0.0897216796875, 0.029296875, 0.0667724609375, 0.2128906...
embed
47103861_c0
47103861
haskell
0
Title: How to know when Newton&#x27;s Method will fail using Haskell? Problem title: How to know when Newton&#x27;s Method will fail using Haskell? Tags: math, newtons-method, haskell, polynomial-math, functional-programming Problem: How to know when Newton's Method will fail using Haskell? In Haskell, I am using the f...
How to know when Newton&#x27;s Method will fail using Haskell? How to know when Newton&#x27;s Method will fail using Haskell? math newtons-method haskell polynomial-math functional-programming Haskell How Newton Method Fractional Ord Poly How to know when Newton's Method will fail using Haskell? In Haskell, I am using ...
[ -0.0155029296875, 0.0267333984375, 0.0211181640625, -0.00982666015625, 0.016357421875, 0.0291748046875, 0.0113525390625, -0.01287841796875, -0.004180908203125, -0.008544921875, 0.0208740234375, -0.0159912109375, 0.0023193359375, -0.003692626953125, -0.00153350830078125, -0.008117675781...
[ 11249, 47, 3714, 3229, 145076, 3768, 74, 74644, 1221, 35782, 17368, 20625, 142508, 48909, 3525, 67772, 1928, 7352, 1556, 35874, 1687, 15403, 125458, 123309, 28966, 7868, 10763, 35379, 63306, 25, 7, 360, 87, 25632, 32354, 7413, 74855, 856, 5...
[ 0.05438232421875, 0.048919677734375, 0.1561279296875, 0.15087890625, 0.2099609375, 0.08056640625, 0.001800537109375, 0.2275390625, 0.1331787109375, 0.251708984375, 0.1043701171875, 0.13427734375, 0.271240234375, 0.04180908203125, 0.03619384765625, 0.100830078125, 0.0897216796875, 0...
embed
48111558_c0
48111558
haskell
0
Title: Functional Programming: How to handle exceptions in Functional Programming or what is its equivalent Problem title: Functional Programming: How to handle exceptions in Functional Programming or what is its equivalent Tags: java, haskell, functional-programming, design-patterns, clojure Problem: Functional Progra...
Functional Programming: How to handle exceptions in Functional Programming or what is its equivalent Functional Programming: How to handle exceptions in Functional Programming or what is its equivalent java haskell functional-programming design-patterns clojure DivisionException Functional Programming How Integer.MIN_V...
[ -0.006317138671875, 0.018798828125, 0.006744384765625, -0.03173828125, 0.000858306884765625, 0.000408172607421875, 0.03369140625, -0.004608154296875, -0.00830078125, -0.01531982421875, 0.01031494140625, 0.00457763671875, 0.000888824462890625, -0.0087890625, 0.016357421875, -0.005035400...
[ 28670, 10763, 289, 27958, 214, 11249, 47, 34831, 131527, 7, 23, 183234, 79, 330, 1556, 142508, 123309, 28966, 4331, 4453, 22766, 20450, 461, 107, 127152, 19279, 63928, 44401, 84139, 61152, 6863, 272, 35064, 18151, 33022, 903, 62775, 21373, ...
[ 0.1531982421875, 0.152099609375, 0.06597900390625, 0.19482421875, 0.0982666015625, 0.08758544921875, 0.040283203125, 0.1944580078125, 0.26220703125, 0.09130859375, 0.057281494140625, 0.1026611328125, 0.06158447265625, 0.1102294921875, 0.05230712890625, 0.2261962890625, 0.2109375, 0...
embed
35603309_c1
35603309
haskell
1
2.5.0/build/MyLib-exe/MyLib-exe-tmp/Main.o: In function `S6VL_srt': (.data+0xe8): undefined reference to `fdsfdzuC6HIw1NjUcr0zzrqlCnCP5y_WebziMyLibziSomeFileziMyFile_MyFileGetSingle1_closure' collect2: error: ld returned 1 exit status -- While building package MyLib-0.1.0.1 using: /home/me123/.stack/setup-exe-cache/x86...
2.5.0/build/MyLib-exe/MyLib-exe-tmp/Main.o: In function `S6VL_srt': (.data+0xe8): undefined reference to `fdsfdzuC6HIw1NjUcr0zzrqlCnCP5y_WebziMyLibziSomeFileziMyFile_MyFileGetSingle1_closure' collect2: error: ld returned 1 exit status -- While building package MyLib-0.1.0.1 using: /home/me123/.stack/setup-exe-cache/x86...
[ 0.01177978515625, 0.0004425048828125, -0.01025390625, 0.0028839111328125, -0.01446533203125, 0.01507568359375, -0.0103759765625, -0.0028839111328125, 0.0003643035888671875, -0.029052734375, -0.004302978515625, -0.0230712890625, 0.00885009765625, -0.0020751953125, 0.0274658203125, -0.00...
[ 787, 187461, 177149, 31852, 104820, 46480, 2676, 168793, 31, 32354, 294, 910, 92414, 7, 3198, 10135, 138790, 4878, 50490, 9232, 5983, 91067, 1667, 21159, 17854, 30474, 708, 282, 174350, 724, 126, 213039, 418, 170224, 43799, 304, 18499, 96, ...
[ 0.0234375, 0.2103271484375, 0.1578369140625, 0.1270751953125, 0.314208984375, 0.126708984375, 0.1873779296875, 0.13720703125, 0.1378173828125, 0.1824951171875, 0.06414794921875, 0.15185546875, 0.261474609375, 0.014312744140625, 0.22265625, 0.124267578125, 0.0921630859375, 0.1010742...
embed
28981974_c1
28981974
haskell
1
1.48s ( 1.54s elapsed) EXIT time 0.00s ( 0.00s elapsed) Total time 21.25s ( 21.78s elapsed) Alloc rate 2,745,509,084 bytes per MUT second Productivity 93.0% of total user, 90.8% of total elapsed gc_alloc_block_sync: 0 whitehole_spin: 0 gen[0].sync: 0 gen[1].sync: 0 If I run on two threads, using +RTS -N2 , I get: 54,33...
1.48s ( 1.54s elapsed) EXIT time 0.00s ( 0.00s elapsed) Total time 21.25s ( 21.78s elapsed) Alloc rate 2,745,509,084 bytes per MUT second Productivity 93.0% of total user, 90.8% of total elapsed gc_alloc_block_sync: 0 whitehole_spin: 0 gen[0].sync: 0 gen[1].sync: 0 If I run on two threads, using +RTS -N2 , I get: 54,33...
[ -0.004608154296875, -0.000759124755859375, -0.007232666015625, -0.0032501220703125, 0.0159912109375, 0.01531982421875, -0.0167236328125, 0.01263427734375, 0.00830078125, -0.033203125, 0.0225830078125, -0.0019378662109375, 0.0026397705078125, -0.00494384765625, 0.0032806396484375, 0.000...
[ 615, 9285, 7, 15, 12338, 28, 127966, 71, 16, 29426, 6371, 1733, 6, 37509, 33867, 7245, 2588, 19051, 3164, 6652, 34515, 111877, 617, 125592, 6463, 8318, 390, 1636, 117, 276, 17632, 17932, 73111, 54613, 53, 17461, 65321, 111, 3622, 38937, ...
[ 0.06292724609375, 0.2459716796875, 0.134033203125, 0.0141448974609375, 0.1546630859375, 0.013641357421875, 0.2147216796875, 0.0450439453125, 0.06396484375, 0.140380859375, 0.1495361328125, 0.200439453125, 0.05499267578125, 0.1595458984375, 0.129638671875, 0.11181640625, 0.17102050781...
embed
18918703_c0
18918703
haskell
0
Title: Type annotation in Haskell Problem title: Type annotation in Haskell Tags: types, haskell Problem: Type annotation in Haskell This is probably a silly question, and certainly not the best code, but I don't quite understand why if I add some typing information haskell yells at me This does not work (notice the x:...
Type annotation in Haskell Type annotation in Haskell types haskell Type Haskell groupBy3 Bool x:a res2 al:acc x:al Type annotation in Haskell This is probably a silly question, and certainly not the best code, but I don't quite understand why if I add some typing information haskell yells at me This does not work (not...
[ -0.0032196044921875, 0.016845703125, 0.00946044921875, -0.005218505859375, 0.0091552734375, 0.0009307861328125, -0.0223388671875, 0.004180908203125, 0.006591796875, 0.00091552734375, -0.01806640625, 0.01239013671875, 0.00616455078125, -0.0005035400390625, -0.00958251953125, 0.001159667...
[ 60457, 8668, 22062, 20625, 142508, 23, 52895, 1556, 21115, 75358, 363, 2460, 929, 1022, 11, 3332, 304, 144, 10060, 12, 289, 31895, 12097, 2965, 18151, 32233, 28219, 15400, 2174, 15190, 11417, 214, 4677, 113, 88510, 99, 163, 3293, 959, 448...
[ 0.23388671875, 0.1689453125, 0.08154296875, 0.121826171875, 0.1943359375, 0.02386474609375, 0.168701171875, 0.113525390625, 0.1143798828125, 0.08642578125, 0.125732421875, 0.037689208984375, 0.1280517578125, 0.04632568359375, 0.0736083984375, 0.06793212890625, 0.01153564453125, 0.0...
embed
75111389_c0
75111389
haskell
0
Title: Using QuickCheck properties with coverage inside a monadic context Problem title: Using QuickCheck properties with coverage inside a monadic context Tags: quickcheck, haskell Problem: Using QuickCheck properties with coverage inside a monadic context I'm trying to write a QuickCheck property that uses cover to m...
Using QuickCheck properties with coverage inside a monadic context Using QuickCheck properties with coverage inside a monadic context quickcheck haskell Using QuickCheck Couldn Property Test.QuickCheck.Monadic Using QuickCheck properties with coverage inside a monadic context I'm trying to write a QuickCheck property t...
[ -0.0216064453125, -0.01080322265625, 0.0021209716796875, -0.00008869171142578125, 0.004150390625, 0.01025390625, 0.0057373046875, -0.0184326171875, -0.0021514892578125, -0.0186767578125, -0.01007080078125, 0.0169677734375, -0.00958251953125, -0.021484375, 0.02099609375, 0.01904296875, ...
[ 345, 89038, 202567, 183871, 678, 154271, 46132, 2667, 11, 18403, 43701, 63773, 78292, 1556, 142508, 191147, 19, 206984, 8647, 96010, 2594, 46674, 31577, 33022, 57266, 4527, 29256, 9077, 3034, 2053, 24233, 50218, 83687, 17780, 22631, 2967, 85590...
[ 0.05615234375, 0.1795654296875, 0.297119140625, 0.18798828125, 0.013214111328125, 0.2159423828125, 0.0970458984375, 0.1075439453125, 0.08587646484375, 0.1156005859375, 0.1903076171875, 0.103515625, 0.2452392578125, 0.0965576171875, 0.1876220703125, 0.07562255859375, 0.03021240234375,...
embed
74720101_c0
74720101
haskell
0
Title: Order of function execution in Haskell Problem title: Order of function execution in Haskell Tags: search, recursion, haskell, tree Problem: Order of function execution in Haskell I have a data object for trees like this: data Tree = Empty | Node Int [Tree] deriving (Show, Eq) Here is my searching function: sear...
Order of function execution in Haskell Order of function execution in Haskell search recursion haskell tree Order Haskell Tree Empty Node Show Bool x:xs test::Bool Leer Order of function execution in Haskell I have a data object for trees like this: Here is my searching function: The question is, when I'm in the helper...
[ 0.01104736328125, -0.0054931640625, -0.003692626953125, 0.01165771484375, 0.008544921875, 0.0184326171875, -0.00848388671875, -0.037841796875, 0.0018463134765625, -0.005706787109375, -0.0033111572265625, -0.00872802734375, 0.001678466796875, -0.0047607421875, 0.011474609375, 0.00104522...
[ 81206, 111, 32354, 71924, 1830, 23, 20625, 142508, 33938, 195625, 1556, 53201, 101344, 31678, 939, 438, 112, 17367, 2460, 929, 1022, 425, 3034, 86470, 2053, 36746, 1360, 90, 157318, 4358, 56, 11782, 856, 50770, 62731, 34292, 38246, 18, 1403...
[ 0.22265625, 0.1357421875, 0.2261962890625, 0.2066650390625, 0.050689697265625, 0.03533935546875, 0.135009765625, 0.2310791015625, 0.196044921875, 0.1580810546875, 0.1064453125, 0.1724853515625, 0.1724853515625, 0.1173095703125, 0.0538330078125, 0.08001708984375, 0.041900634765625, ...
embed
46348426_c1
46348426
haskell
1
from the library HaskellForMaths : class Algebra k b where unit :: k -> Vect k b mult :: Vect k (Tensor b b) -> Vect k b Here k is a field (a mathematical structure such as the real or complex numbers), while v is a choice of basis in a vector space. I would want to use it something like this newtype Basis i = T i der...
from the library HaskellForMaths : class Algebra k b where unit :: k -> Vect k b mult :: Vect k (Tensor b b) -> Vect k b Here k is a field (a mathematical structure such as the real or complex numbers), while v is a choice of basis in a vector space. I would want to use it something like this newtype Basis i = T i der...
[ 0.002349853515625, 0.0169677734375, 0.00787353515625, 0.0177001953125, 0.0101318359375, -0.010009765625, 0.020263671875, 0.004486083984375, 0.00885009765625, -0.0179443359375, -0.006500244140625, -0.017333984375, 0.01348876953125, 0.015869140625, -0.032958984375, -0.0228271484375, 0....
[ 1295, 35773, 20625, 142508, 18537, 199450, 7, 18507, 884, 429, 2844, 472, 876, 25072, 52884, 18, 3869, 87286, 4970, 44457, 140363, 70760, 45646, 2773, 27140, 101935, 81, 44126, 18231, 173, 18770, 32628, 2806, 3444, 4527, 3525, 50986, 76336, ...
[ 0.032684326171875, 0.09912109375, 0.144287109375, 0.24267578125, 0.110595703125, 0.1531982421875, 0.026519775390625, 0.159423828125, 0.05401611328125, 0.1187744140625, 0.1702880859375, 0.1370849609375, 0.15673828125, 0.1700439453125, 0.15234375, 0.05694580078125, 0.20068359375, 0.0...
embed
47954609_c0
47954609
haskell
0
Title: Finding explicit imports for ghc&#x27;s -Wmissing-import-lists Problem title: Finding explicit imports for ghc&#x27;s -Wmissing-import-lists Tags: ghc, haskell, warnings, code-generation Problem: Finding explicit imports for ghc's -Wmissing-import-lists GHC generates warnings when there are implicit imports (see...
Finding explicit imports for ghc&#x27;s -Wmissing-import-lists Finding explicit imports for ghc&#x27;s -Wmissing-import-lists ghc haskell warnings code-generation Control.Exception list Control.Monad.IO.Class Finding Wmissing-import-lists Users SlowNews Main.hs:10:1 Main.hs:13:1 Finding explicit imports for ghc's -Wmis...
[ 0.001220703125, -0.00830078125, -0.00055694580078125, 0.01507568359375, -0.010009765625, 0.025390625, 0.00799560546875, 0.0032806396484375, 0.013916015625, -0.0208740234375, 0.006988525390625, -0.01953125, -0.00024127960205078125, 0.002288818359375, 0.004119873046875, 0.00836181640625,...
[ 26040, 143726, 24927, 7, 100, 31380, 238, 3768, 1456, 45188, 214, 60270, 6562, 1556, 142508, 1631, 6977, 18151, 48281, 27131, 63928, 5303, 46674, 712, 17780, 140803, 601, 148507, 22418, 12321, 527, 73265, 139392, 165164, 69236, 91995, 11408, ...
[ 0.1182861328125, 0.2393798828125, 0.257568359375, 0.07501220703125, 0.000823974609375, 0.127685546875, 0.1363525390625, 0.0010986328125, 0.07781982421875, 0.172119140625, 0.09820556640625, 0.2225341796875, 0.1968994140625, 0.0960693359375, 0.208251953125, 0.159423828125, 0.1104736328...
embed
57289927_c0
57289927
haskell
0
Title: Parsing within case block Problem title: Parsing within case block Tags: do-notation, functional-programming, haskell, monads, parsing Problem: Parsing within case block So I am writing my own parser which is almost done, however I keep on getting stuck with the return of my function. My return is a case , but w...
Parsing within case block Parsing within case block do-notation functional-programming haskell monads parsing Parsing Tile Parser Coord Bool Parsing within case block So I am writing my own parser which is almost done, however I keep on getting stuck with the return of my function. My return is a case , but within the ...
[ -0.00799560546875, -0.00180816650390625, -0.001678466796875, -0.00689697265625, -0.0130615234375, 0.0024566650390625, -0.01336669921875, -0.016357421875, 0.0164794921875, -0.001922607421875, 0.01019287109375, 0.0196533203125, 0.00738525390625, -0.0031890869140625, -0.0021820068359375, ...
[ 2392, 6953, 28032, 7225, 46389, 54, 157, 123309, 28966, 1556, 142508, 2667, 712, 366, 5064, 13, 2189, 1311, 6651, 2460, 929, 32562, 10002, 39555, 13695, 179933, 30646, 32354, 184, 111240, 4488, 7192, 172, 1363, 10644, 64549, 748, 139, 18, ...
[ 0.16552734375, 0.0792236328125, 0.177734375, 0.20556640625, 0.2039794921875, 0.0020751953125, 0.066162109375, 0.06610107421875, 0.05413818359375, 0.06927490234375, 0.2021484375, 0.03302001953125, 0.07806396484375, 0.164306640625, 0.108642578125, 0.0274810791015625, 0.1485595703125, ...
embed
64743186_c0
64743186
haskell
0
Title: Add stand-alone deriving for ToJSON in Haskell Problem title: Add stand-alone deriving for ToJSON in Haskell Tags: haskell, aeson, json Problem: Add stand-alone deriving for ToJSON in Haskell I wanted to write this data type: data GameState = GameState { players :: [Player], lasers :: [(Float, Float, Float)], as...
Add stand-alone deriving for ToJSON in Haskell Add stand-alone deriving for ToJSON in Haskell haskell aeson json the Add ToJSON Haskell GameState Player Float Asteroid S.Set Key Show Generic Possible When Add stand-alone deriving for ToJSON in Haskell I wanted to write this data type: to a JSON file. Therefor I needed ...
[ 0.001739501953125, 0.01092529296875, 0.0072021484375, -0.0242919921875, 0.004119873046875, 0.004547119140625, -0.006500244140625, 0.0186767578125, -0.000545501708984375, -0.0205078125, -0.0091552734375, 0.018798828125, -0.006988525390625, 0.021484375, -0.01348876953125, -0.014282226562...
[ 29117, 9157, 11, 51684, 16406, 6496, 100, 717, 1375, 58627, 23, 20625, 142508, 9, 1556, 10, 90, 191, 1647, 1681, 13547, 135206, 13, 60560, 38699, 62, 139629, 159, 294, 126, 26824, 17367, 88342, 115861, 36663, 33022, 2053, 10644, 47, 821, ...
[ 0.12744140625, 0.14990234375, 0.05059814453125, 0.1904296875, 0.13427734375, 0.166748046875, 0.04705810546875, 0.1708984375, 0.19873046875, 0.222900390625, 0.0280609130859375, 0.1414794921875, 0.2315673828125, 0.0229949951171875, 0.1317138671875, 0.0154266357421875, 0.0361328125, 0...
embed
11736967_c0
11736967
haskell
0
Title: Could not deduce (Enum a) arising from the arithmetic sequence `(x - n + 1) .. x&#x27; Problem title: Could not deduce (Enum a) arising from the arithmetic sequence `(x - n + 1) .. x&#x27; Tags: syntax, haskell Problem: Could not deduce (Enum a) arising from the arithmetic sequence `(x - n + 1) .. x' when I try ...
Could not deduce (Enum a) arising from the arithmetic sequence `(x - n + 1) .. x&#x27; Could not deduce (Enum a) arising from the arithmetic sequence `(x - n + 1) .. x&#x27; syntax haskell the Could Enum x:xs Num a.hs:5:15 a.hs:5:1-32 Possible Double Could not deduce (Enum a) arising from the arithmetic sequence `(x - ...
[ -0.0196533203125, -0.00897216796875, -0.007659912109375, 0.0189208984375, -0.000701904296875, 0.000110626220703125, -0.00119781494140625, 0.0027008056640625, -0.00946044921875, -0.0086669921875, -0.020263671875, 0.00445556640625, 0.0106201171875, 0.009033203125, -0.0025787353515625, -0...
[ 191147, 959, 8, 106357, 647, 2606, 10, 187, 72219, 1295, 8962, 40, 944, 3956, 425, 20, 653, 997, 4879, 1468, 1022, 3768, 282, 6002, 86531, 1556, 142508, 357, 316, 12, 52782, 127, 758, 12221, 19721, 108760, 115861, 107172, 16, 9790, 9969...
[ 0.198486328125, 0.175537109375, 0.165771484375, 0.2088623046875, 0.05023193359375, 0.201416015625, 0.15771484375, 0.09503173828125, 0.1142578125, 0.09063720703125, 0.1341552734375, 0.04150390625, 0.105224609375, 0.034454345703125, 0.12060546875, 0.0941162109375, 0.10888671875, 0.20...
embed
1506709_c0
1506709
haskell
0
Title: Can I write components in Haskell to be used on a Django site? Problem title: Can I write components in Haskell to be used on a Django site? Tags: haskell, django Problem: Can I write components in Haskell to be used on a Django site? I have an idea for a web service, but am very new to web programming. Django l...
Can I write components in Haskell to be used on a Django site? Can I write components in Haskell to be used on a Django site? haskell django Can Haskell Django Can I write components in Haskell to be used on a Django site? I have an idea for a web service, but am very new to web programming. Django looks great and like...
[ 0.0042724609375, 0.01025390625, 0.0203857421875, -0.01312255859375, -0.0223388671875, 0.0113525390625, -0.013916015625, -0.00799560546875, -0.01239013671875, -0.040283203125, -0.035400390625, -0.031005859375, 0.034423828125, 0.0267333984375, -0.011474609375, -0.0003948211669921875, -...
[ 4171, 33022, 82761, 7, 23, 20625, 142508, 11814, 39424, 27803, 1764, 98, 1556, 107473, 87, 47, 10, 6528, 1467, 4516, 4552, 3525, 56037, 33342, 6782, 1884, 39580, 69405, 5915, 16981, 10176, 17198, 50828, 4034, 32562, 4420, 3611, 351, 14051, ...
[ 0.112548828125, 0.2001953125, 0.2308349609375, 0.0693359375, 0.07781982421875, 0.1339111328125, 0.22998046875, 0.14599609375, 0.1077880859375, 0.2430419921875, 0.138671875, 0.05010986328125, 0.10198974609375, 0.076171875, 0.042816162109375, 0.0155487060546875, 0.009185791015625, 0....
embed
38645449_c0
38645449
haskell
0
Title: type families and deriving instances (Eq) Problem title: type families and deriving instances (Eq) Tags: haskell, type-families Problem: type families and deriving instances (Eq) Is it possible to derive Eq instance for the B a , if given additional help, e.g. Eq a somewhere? {-# LANGUAGE TypeFamilies #-} class ...
type families and deriving instances (Eq) type families and deriving instances (Eq) haskell type-families LANGUAGE TypeFamilies Bool StandaloneDeriving type families and deriving instances (Eq) Is it possible to derive Eq instance for the B a , if given additional help, e.g. Eq a somewhere? Question deriving instances ...
[ 0.033203125, 0.00396728515625, -0.00347900390625, 0.0032958984375, -0.009521484375, -0.002105712890625, 0.0064697265625, -0.015869140625, 0.006988525390625, 0.006439208984375, -0.01806640625, 0.019775390625, 0.01177978515625, 0.0201416015625, -0.021240234375, -0.0059814453125, 0.0103...
[ 10644, 87143, 136, 16406, 6496, 110527, 864, 1556, 142508, 69128, 98064, 60457, 919, 1191, 929, 51684, 47731, 442, 7722, 122, 5844, 241, 335, 10, 2174, 34475, 78301, 4358, 174653, 68185, 678, 80934, 621, 20903, 25632, 4488, 129344, 2256, 37...
[ 0.2161865234375, 0.1854248046875, 0.037200927734375, 0.06658935546875, 0.059112548828125, 0.2271728515625, 0.187255859375, 0.059539794921875, 0.184814453125, 0.152099609375, 0.057830810546875, 0.1873779296875, 0.0142364501953125, 0.122802734375, 0.1082763671875, 0.022552490234375, 0....
embed
70946284_c0
70946284
haskell
0
Title: What is this GHC feature called? `forall` in type definitions Problem title: What is this GHC feature called? `forall` in type definitions Tags: haskell, ghc, forall Problem: What is this GHC feature called? `forall` in type definitions I learned that you can redefine ContT from transformers such that the r type...
What is this GHC feature called? `forall` in type definitions What is this GHC feature called? `forall` in type definitions haskell ghc forall What GHC ContT TypeApplications Same Type ContVoid What is this GHC feature called? `forall` in type definitions I learned that you can redefine ContT from transformers such tha...
[ 0.0220947265625, -0.00051116943359375, 0.0018463134765625, -0.004669189453125, 0.0021820068359375, -0.01202392578125, 0.00537109375, -0.00323486328125, 0.006072998046875, -0.0037689208984375, 0.00726318359375, -0.00732421875, -0.0106201171875, 0.0196533203125, -0.00897216796875, -0.002...
[ 903, 527, 73265, 60213, 35839, 2472, 5584, 23, 10644, 80934, 1556, 142508, 31380, 238, 100, 4865, 1657, 18, 618, 60457, 47677, 182867, 99908, 36635, 532, 97384, 831, 15265, 64552, 1295, 27198, 1314, 1690, 171859, 7228, 165164, 58735, 143726, ...
[ 0.09130859375, 0.0933837890625, 0.2237548828125, 0.21533203125, 0.0943603515625, 0.1121826171875, 0.218505859375, 0.012451171875, 0.2056884765625, 0.17236328125, 0.0946044921875, 0.20751953125, 0.1099853515625, 0.083251953125, 0.1168212890625, 0.00079345703125, 0.089599609375, 0.08...
embed
4273952_c0
4273952
haskell
0
Title: Help In Solving This Code In Haskell Problem title: Help In Solving This Code In Haskell Tags: haskell Problem: Help In Solving This Code In Haskell The following code dosn't compile: reindex :: (a -> a) -> [a] reindex [] = [] reindex f y = let x = (zip [0..] y) z = [(f m) |el <- x, let m = fst el] [n !! y | n <...
Help In Solving This Code In Haskell Help In Solving This Code In Haskell haskell Help Solving Haskell Main Help In Solving This Code In Haskell The following code dosn't compile: I get one of the following errors: I have tried to insert some while spaces infront or back of the last line but it is not working. It's mak...
[ -0.010009765625, 0.020751953125, 0.0045166015625, 0.01165771484375, -0.00008249282836914062, 0.0196533203125, -0.00567626953125, -0.00946044921875, -0.00933837890625, 0.000896453857421875, 0.00390625, -0.0159912109375, -0.019775390625, 0.0089111328125, 0.0096435546875, -0.0036468505859...
[ 39527, 360, 6678, 6496, 3293, 28864, 20625, 142508, 1556, 12321, 25632, 18151, 655, 18, 9969, 1340, 18499, 37842, 183540, 3060, 12960, 32628, 20549, 707, 4420, 4568, 13315, 959, 20697, 1257, 3509, 6183, 3714, 123087, 52889, 4358, 161521, 456,...
[ 0.138427734375, 0.1337890625, 0.1279296875, 0.131591796875, 0.154296875, 0.1724853515625, 0.153564453125, 0.226806640625, 0.1373291015625, 0.045166015625, 0.10174560546875, 0.1353759765625, 0.00750732421875, 0.0811767578125, 0.11474609375, 0.1533203125, 0.1402587890625, 0.083251953...
embed
44914577_c0
44914577
haskell
0
Title: How would I implement this fold function? Problem title: How would I implement this fold function? Tags: tree, haskell, fold, catamorphism Problem: How would I implement this fold function? Given are the two datatypes Color and Plant. data Color = Red | Pink | White | Blue | Purple | Green | Yellow deriving (Sho...
How would I implement this fold function? How would I implement this fold function? tree haskell fold catamorphism How Color Red Pink White Blue Purple Green Yellow Show Plant Leaf Blossom Stalk fold_plant How would I implement this fold function? Given are the two datatypes Color and Plant. Now I'm supposed to impleme...
[ -0.0235595703125, 0.006195068359375, -0.00433349609375, 0.007781982421875, 0.00069427490234375, 0.0211181640625, -0.030517578125, -0.01226806640625, -0.002685546875, -0.03173828125, -0.007537841796875, -0.003997802734375, -0.0218505859375, 0.01043701171875, 0, -0.001983642578125, -0....
[ 11249, 2806, 29479, 903, 42822, 32354, 53201, 1556, 142508, 60199, 178851, 8780, 51193, 6096, 59849, 22392, 22928, 16915, 15497, 146762, 17367, 75628, 636, 2407, 54231, 5084, 87428, 92, 48538, 87, 6626, 2053, 50986, 136, 134598, 25632, 10644, ...
[ 0.0673828125, 0.083984375, 0.213623046875, 0.0880126953125, 0.279296875, 0.2349853515625, 0.1658935546875, 0.10723876953125, 0.272216796875, 0.0731201171875, 0.1558837890625, 0.07122802734375, 0.1676025390625, 0.0911865234375, 0.121826171875, 0.08648681640625, 0.0704345703125, 0.02...
embed
45976083_c0
45976083
haskell
0
Title: Using an external version number in Haskell packages (Cabal) Problem title: Using an external version number in Haskell packages (Cabal) Tags: cabal, haskell Problem: Using an external version number in Haskell packages (Cabal) I'm working on a project that's chosen CMake as its build tool. The project is made u...
Using an external version number in Haskell packages (Cabal) Using an external version number in Haskell packages (Cabal) cabal haskell Using Haskell Cabal CMakeLists.txt configure_file stack.yaml Using an external version number in Haskell packages (Cabal) I'm working on a project that's chosen CMake as its build tool...
[ 0.01373291015625, 0.0033111572265625, 0.01141357421875, -0.00555419921875, 0.007293701171875, 0.0128173828125, -0.0089111328125, 0.0162353515625, 0.0054931640625, -0.029052734375, -0.0208740234375, -0.03515625, 0.004608154296875, 0.03125, 0.006988525390625, 0.007598876953125, -0.0059...
[ 345, 173591, 11389, 14012, 20625, 142508, 98169, 20370, 3571, 6953, 23, 109524, 1556, 30438, 289, 44932, 28088, 154663, 124326, 222495, 29822, 177261, 14520, 141, 20697, 13452, 237, 45367, 55516, 98927, 59121, 37515, 32599, 756, 13566, 7639, 57...
[ 0.1383056640625, 0.2252197265625, 0.2481689453125, 0.2039794921875, 0.16796875, 0.23681640625, 0.1812744140625, 0.1336669921875, 0.19873046875, 0.0106201171875, 0.0343017578125, 0.2384033203125, 0.135986328125, 0.19091796875, 0.1676025390625, 0.132568359375, 0.250244140625, 0.21411...
embed
13777057_c1
13777057
haskell
1
}) $ do couchView_ "reader" "reader" "pages" [] $ toType =$ CL.consume` which gives me type error: `Reader/Couch.hs:24:47: Couldn't match expected type `Object' with actual type `Value' Expected type: Conduit Object m1 b0 Actual type: Conduit Value m0 a0 In the first argument of `(=$)', namely `toType' In the second a...
}) $ do couchView_ "reader" "reader" "pages" [] $ toType =$ CL.consume` which gives me type error: `Reader/Couch.hs:24:47: Couldn't match expected type `Object' with actual type `Value' Expected type: Conduit Object m1 b0 Actual type: Conduit Value m0 a0 In the first argument of `(=$)', namely `toType' In the second a...
[ 0.0093994140625, 0.01141357421875, -0.00909423828125, -0.0167236328125, 0.01513671875, -0.0086669921875, -0.037353515625, -0.010009765625, -0.01336669921875, -0.05126953125, 0.0037841796875, -0.01806640625, 0.0023193359375, -0.04833984375, 0.01190185546875, -0.033203125, -0.033447265...
[ 3650, 54, 31816, 206, 100474, 454, 1283, 820, 22469, 7, 47, 196707, 46323, 25553, 15537, 163, 10644, 18499, 31345, 56, 10625, 12665, 127, 25732, 33573, 191147, 18, 14858, 84751, 46471, 75161, 678, 8561, 856, 50770, 60075, 1657, 112061, 1345...
[ 0.092529296875, 0.04412841796875, 0.202880859375, 0.17236328125, 0.334716796875, 0.011505126953125, 0.2000732421875, 0.1651611328125, 0.2139892578125, 0.028472900390625, 0.158935546875, 0.2568359375, 0.0865478515625, 0.1480712890625, 0.2186279296875, 0.02838134765625, 0.2366943359375...
embed
36023500_c0
36023500
haskell
0
Title: Ptr Word8 to ByteString Problem title: Ptr Word8 to ByteString Tags: haskell, ffi, bytestring Problem: Ptr Word8 to ByteString I have an FFI call returning some data bytes (not a CString ). Currently, I am using something like the following: import qualified Data.ByteString as BS BS.pack <$> mapM (peekElem ptr) ...
Ptr Word8 to ByteString Ptr Word8 to ByteString haskell ffi bytestring qualified Ptr Word8 ByteString CString Data.ByteString BS.pack Data.ByteString.Internal Binary.Get Ptr Word8 to ByteString I have an FFI call returning some data bytes (not a CString ). Currently, I am using something like the following: Is there a ...
[ 0.01904296875, 0.0147705078125, -0.0167236328125, 0.00885009765625, -0.01611328125, 0.018310546875, -0.0028076171875, -0.00439453125, 0.00005626678466796875, -0.0177001953125, -0.00457763671875, -0.0186767578125, -0.006683349609375, 0.0235595703125, -0.01708984375, 0.0203857421875, -...
[ 436, 4448, 22543, 1019, 47, 3311, 67, 71713, 214, 1556, 142508, 24500, 390, 91693, 217225, 2852, 11809, 75358, 84145, 29102, 44851, 54092, 1294, 724, 126, 563, 22724, 11782, 30646, 3060, 2053, 1636, 10869, 18, 114063, 17368, 1884, 25632, 12...
[ 0.06622314453125, 0.2213134765625, 0.18896484375, 0.231201171875, 0.1197509765625, 0.10595703125, 0.146728515625, 0.2037353515625, 0.1097412109375, 0.100341796875, 0.2030029296875, 0.1776123046875, 0.086181640625, 0.2071533203125, 0.1396484375, 0.180419921875, 0.0792236328125, 0.08...
embed
23310070_c0
23310070
haskell
0
Title: Haskell define a function Problem title: Haskell define a function Tags: function, haskell Problem: Haskell define a function I have to make a function like this: success :: (Int,Int,Int) -> Int -> (Int,Int,Int) -> Bool (Int,Int,Int) First three Ints are attributes (that means numbers from 1 to 20) Int in the mi...
Haskell define a function Haskell define a function function haskell Haskell Bool Compare Dice Haskell define a function I have to make a function like this: (Int,Int,Int) First three Ints are attributes (that means numbers from 1 to 20) Int in the middle is the one to compare the differences between attributes and dic...
[ -0.0167236328125, 0.0057373046875, -0.00872802734375, 0.000018358230590820312, 0.004547119140625, 0.00439453125, -0.007568359375, 0.0184326171875, -0.00653076171875, 0.029296875, -0.0032958984375, 0.00408935546875, -0.00592041015625, 0.0208740234375, -0.0028533935546875, 0.002532958984...
[ 20625, 142508, 61924, 10, 32354, 1556, 2460, 929, 113307, 13, 803, 329, 765, 3249, 1884, 903, 4153, 18, 23972, 17262, 360, 933, 621, 150380, 90, 26950, 101935, 1295, 106, 47, 387, 86991, 69101, 60212, 17721, 136, 13747, 4568, 5609, 77546,...
[ 0.138671875, 0.249267578125, 0.215087890625, 0.0772705078125, 0.269775390625, 0.14990234375, 0.1123046875, 0.2135009765625, 0.2100830078125, 0.113525390625, 0.12548828125, 0.1083984375, 0.0269775390625, 0.0156707763671875, 0.05029296875, 0.00775146484375, 0.09222412109375, 0.154541...
embed
52123102_c0
52123102
haskell
0
Title: Why is this instatiation of Functor not working? Problem title: Why is this instatiation of Functor not working? Tags: haskell Problem: Why is this instatiation of Functor not working? To avoid conflicts with Prelude I define my own Functor class: class F f where fm :: (a -> b) -> f a -> f b Why is this working ...
Why is this instatiation of Functor not working? Why is this instatiation of Functor not working? haskell Why Functor Main Illegal All Use FlexibleInstances Why is this instatiation of Functor not working? To avoid conflicts with Prelude I define my own Functor class: Why is this working ... GHCI: ... but this isn't? I...
[ 0.00665283203125, -0.004425048828125, 0.0230712890625, -0.0108642578125, 0.0086669921875, 0.000789642333984375, -0.0008697509765625, -0.0263671875, 0.01123046875, -0.01165771484375, -0.01519775390625, -0.0234375, 0.001495361328125, 0.007415771484375, -0.01116943359375, -0.0235595703125...
[ 44084, 83, 903, 23, 97868, 2320, 28670, 18770, 959, 20697, 111, 1556, 142508, 12321, 891, 86966, 3164, 36836, 180842, 2661, 4153, 116071, 71864, 79612, 1914, 822, 112, 61924, 10002, 18507, 41877, 17304, 1284, 56112, 18, 173072, 1379, 538, 5...
[ 0.119140625, 0.0667724609375, 0.110595703125, 0.0654296875, 0.1290283203125, 0.0616455078125, 0.184326171875, 0.23193359375, 0.1368408203125, 0.1702880859375, 0.06695556640625, 0.1197509765625, 0.2120361328125, 0.123779296875, 0.07952880859375, 0.2008056640625, 0.063720703125, 0.08...
embed
73564378_c0
73564378
haskell
0
Title: sequence from a specific field of a tuple Problem title: sequence from a specific field of a tuple Tags: tuples, haskell, monads, sequence Problem: sequence from a specific field of a tuple I have a tuple with a Maybe Int in the second place. If this value is nothing, then the entire tuple is useless and should ...
sequence from a specific field of a tuple sequence from a specific field of a tuple tuples haskell monads sequence a Maybe Monad sequence from a specific field of a tuple I have a tuple with a Maybe Int in the second place. If this value is nothing, then the entire tuple is useless and should be discarded. I'd like to ...
[ 0.01361083984375, 0.009765625, 0.001617431640625, 0.0458984375, 0.00121307373046875, 0.01458740234375, 0.01544189453125, 0.00885009765625, 0.00010538101196289062, -0.0162353515625, -0.0130615234375, 0.02001953125, -0.0247802734375, 0.012451171875, 0.001434326171875, -0.017822265625, ...
[ 40, 944, 3956, 1295, 29458, 44457, 111, 370, 8705, 99726, 1556, 142508, 2667, 712, 83425, 60331, 71, 678, 360, 18, 17932, 3687, 34292, 33720, 64194, 4527, 9393, 17116, 5861, 1884, 645, 19095, 43701, 197118, 138256, 13648, 21373, 152488, 133...
[ 0.099609375, 0.1708984375, 0.1470947265625, 0.1434326171875, 0.19091796875, 0.226806640625, 0.008880615234375, 0.1435546875, 0.1998291015625, 0.2213134765625, 0.101318359375, 0.241455078125, 0.1319580078125, 0.2012939453125, 0.279296875, 0.16552734375, 0.1409912109375, 0.0015869140...
embed
4952914_c0
4952914
haskell
0
Title: What&#x27;s the best technique to generate a random-access data structure lazily? Problem title: What&#x27;s the best technique to generate a random-access data structure lazily? Tags: haskell Problem: What's the best technique to generate a random-access data structure lazily? In Haskell, I'd like to generate a...
What&#x27;s the best technique to generate a random-access data structure lazily? What&#x27;s the best technique to generate a random-access data structure lazily? haskell What What's the best technique to generate a random-access data structure lazily? In Haskell, I'd like to generate a list of random integers of unde...
[ 0.00567626953125, 0.005126953125, -0.00799560546875, -0.01068115234375, 0.01904296875, 0.023193359375, 0.005340576171875, -0.0201416015625, 0.006866455078125, -0.04638671875, 0.007354736328125, -0.0079345703125, 0.004608154296875, 0.00946044921875, -0.0003147125244140625, 0.01330566406...
[ 3768, 2965, 61353, 139392, 96759, 113041, 2053, 45646, 21, 708, 538, 47, 1556, 142508, 4865, 70, 360, 20625, 1884, 5303, 892, 26255, 9232, 30524, 140909, 40715, 19879, 47041, 3871, 80854, 109312, 17203, 41591, 2806, 43658, 54241, 142, 10298, ...
[ 0.06109619140625, 0.2000732421875, 0.22607421875, 0.214599609375, 0.214599609375, 0.173828125, 0.129638671875, 0.23876953125, 0.1444091796875, 0.1685791015625, 0.165283203125, 0.0927734375, 0.1483154296875, 0.281005859375, 0.0501708984375, 0.0172576904296875, 0.033538818359375, 0.1...
embed
8408028_c0
8408028
haskell
0
Title: Haskell Parsec functionality Problem title: Haskell Parsec functionality Tags: csv, haskell, parsec Problem: Haskell Parsec functionality Ive been working with this page http://book.realworldhaskell.org/read/using-parsec.html and I'm trying to get a CSV file parser working, but I noticed that parse csvFile "(std...
Haskell Parsec functionality Haskell Parsec functionality csv haskell parsec ParseError Haskell Parsec Right Not Either Haskell Parsec functionality Ive been working with this page http://book.realworldhaskell.org/read/using-parsec.html and I'm trying to get a CSV file parser working, but I noticed that always returns ...
[ 0.002197265625, -0.0093994140625, 0.00811767578125, 0.0439453125, 0.003936767578125, 0.0279541015625, -0.01416015625, -0.017822265625, 0.005126953125, -0.02685546875, -0.02197265625, -0.01312255859375, -0.00083160400390625, -0.00909423828125, -0.00775146484375, -0.01263427734375, 0.0...
[ 20625, 142508, 2392, 39797, 123309, 20763, 334, 1556, 366, 184, 18468, 31611, 90911, 11205, 9319, 2481, 20697, 30544, 32554, 10557, 39116, 223, 2500, 31577, 313, 43486, 11435, 2189, 11343, 30646, 3917, 3249, 4488, 1660, 10298, 111, 4778, 4527...
[ 0.139404296875, 0.21923828125, 0.184814453125, 0.273681640625, 0.18017578125, 0.06756591796875, 0.17529296875, 0.1224365234375, 0.173828125, 0.1510009765625, 0.10107421875, 0.009307861328125, 0.1343994140625, 0.06719970703125, 0.040985107421875, 0.0240631103515625, 0.09228515625, 0...
embed
64468126_c0
64468126
haskell
0
Title: How to make bracket safe from async exception? Problem title: How to make bracket safe from async exception? Tags: asynchronous, concurrency, exception, haskell Problem: How to make bracket safe from async exception? Every Haskell article about exceptions repeats simple pattern: Use bracket function to allocate/...
How to make bracket safe from async exception? How to make bracket safe from async exception? asynchronous concurrency exception haskell Control.Exception async Control.Concurrent How StackOverflow CLEAN USE How to make bracket safe from async exception? Every Haskell article about exceptions repeats simple pattern: Us...
[ -0.0194091796875, 0.00927734375, 0.0013885498046875, -0.03271484375, 0.01275634765625, -0.002227783203125, 0.008544921875, -0.0035858154296875, 0.008544921875, -0.03076171875, -0.004638671875, -0.0118408203125, 0.01385498046875, 0.00616455078125, 0.023193359375, -0.01458740234375, 0....
[ 11249, 3249, 1620, 27853, 46002, 1295, 10, 12654, 238, 131527, 101966, 108636, 982, 1556, 142508, 27131, 19279, 63928, 163812, 6512, 2594, 156673, 118664, 46323, 105621, 78441, 20625, 119140, 8781, 103510, 36836, 32354, 24286, 233707, 65514, 186,...
[ 0.0526123046875, 0.0771484375, 0.19580078125, 0.24072265625, 0.2119140625, 0.0865478515625, 0.0264434814453125, 0.18310546875, 0.087890625, 0.216552734375, 0.10791015625, 0.1163330078125, 0.070556640625, 0.0804443359375, 0.196044921875, 0.1280517578125, 0.03460693359375, 0.13354492...
embed
47494993_c0
47494993
haskell
0
Title: Search in the list of integers, one of the longest ordered subsets (not necessarily consecutive) ordered by growth Problem title: Search in the list of integers, one of the longest ordered subsets (not necessarily consecutive) ordered by growth Tags: functional-programming, haskell Problem: Search in the list of...
Search in the list of integers, one of the longest ordered subsets (not necessarily consecutive) ordered by growth Search in the list of integers, one of the longest ordered subsets (not necessarily consecutive) ordered by growth functional-programming haskell Search l:ls Search in the list of integers, one of the long...
[ 0.0036163330078125, 0.0234375, -0.002838134765625, 0.015380859375, -0.0123291015625, 0.004730224609375, 0.0079345703125, -0.0047607421875, 0.021240234375, -0.023681640625, 0.01251220703125, 0.0286865234375, -0.016357421875, 0.03271484375, 0.0220947265625, -0.016845703125, 0.008544921...
[ 33086, 23, 5303, 111, 892, 26255, 1632, 4989, 525, 12989, 297, 1614, 3509, 7, 10869, 204988, 148390, 390, 75678, 13, 123309, 28966, 1556, 142508, 96, 12, 8080, 70, 16, 28670, 10763, 4, 7413, 158661, 32032, 101935, 89536, 8705, 503, 944, ...
[ 0.27001953125, 0.11181640625, 0.1614990234375, 0.007843017578125, 0.1666259765625, 0.12890625, 0.040740966796875, 0.11669921875, 0.10205078125, 0.174072265625, 0.0089111328125, 0.1514892578125, 0.1468505859375, 0.0040283203125, 0.047454833984375, 0.0743408203125, 0.1136474609375, 0...
embed
12377243_c0
12377243
haskell
0
Title: Avoid backslash-encoding utf8 characters when deriving Read (and Show) in Haskell Problem title: Avoid backslash-encoding utf8 characters when deriving Read (and Show) in Haskell Tags: parsing, utf-8, text, encoding, haskell Problem: Avoid backslash-encoding utf8 characters when deriving Read (and Show) in Haske...
Avoid backslash-encoding utf8 characters when deriving Read (and Show) in Haskell Avoid backslash-encoding utf8 characters when deriving Read (and Show) in Haskell parsing utf-8 text encoding haskell Data.Text Avoid utf8 Read Show Haskell Text Message utf-8 Avoid backslash-encoding utf8 characters when deriving Read (a...
[ 0.021728515625, 0.0159912109375, 0.0283203125, -0.0096435546875, -0.002716064453125, -0.009521484375, 0.01806640625, 0.0005645751953125, -0.004974365234375, 0.000644683837890625, -0.014404296875, -0.01708984375, 0.01263427734375, 0.01123046875, -0.01007080078125, -0.00714111328125, -...
[ 84361, 532, 4420, 7, 5544, 66332, 6238, 486, 420, 1019, 124850, 16406, 4764, 2940, 17367, 20625, 142508, 366, 17376, 7986, 22, 587, 1556, 11809, 174379, 24129, 48205, 63134, 6953, 3934, 6496, 110527, 11675, 25632, 31380, 318, 4171, 23937, 1...
[ 0.1435546875, 0.06072998046875, 0.1378173828125, 0.04046630859375, 0.1796875, 0.1573486328125, 0.028289794921875, 0.1044921875, 0.1226806640625, 0.2103271484375, 0.1539306640625, 0.09197998046875, 0.2225341796875, 0.1278076171875, 0.1768798828125, 0.1275634765625, 0.239013671875, 0...
embed
34400820_c0
34400820
haskell
0
Title: QuickCheck together with haskell-mode in emacs, ^H Problem title: QuickCheck together with haskell-mode in emacs, ^H Tags: haskell-mode, haskell, quickcheck, emacs Problem: QuickCheck together with haskell-mode in emacs, ^H When using QuickCheck together with haskell-mode in emacs, the output starts with (contin...
QuickCheck together with haskell-mode in emacs, ^H QuickCheck together with haskell-mode in emacs, ^H haskell-mode haskell quickcheck emacs Test.QuickCheck QuickCheck Bool QuickCheck together with haskell-mode in emacs, ^H When using QuickCheck together with haskell-mode in emacs, the output starts with (continuing up ...
[ 0.0069580078125, 0.0107421875, 0.0019989013671875, -0.0123291015625, -0.006011962890625, 0.015625, 0.01043701171875, -0.00799560546875, -0.00133514404296875, -0.0042724609375, -0.0035858154296875, 0.0169677734375, 0.000759124755859375, 0.001190185546875, 0.00543212890625, -0.0057067871...
[ 89038, 202567, 25842, 678, 1556, 142508, 61170, 352, 2263, 13331, 841, 23, 7, 63773, 78292, 8647, 96010, 2594, 2460, 929, 140992, 4034, 133891, 114977, 805, 109921, 175904, 572, 67569, 1542, 33949, 18811, 4420, 65421, 51347, 45064, 112397, 37...
[ 0.1815185546875, 0.28271484375, 0.0887451171875, 0.0231475830078125, 0.1138916015625, 0.203369140625, 0.146728515625, 0.08203125, 0.140869140625, 0.0872802734375, 0.148193359375, 0.017242431640625, 0.006744384765625, 0.1263427734375, 0.2020263671875, 0.13232421875, 0.0899658203125, ...
embed
21081059_c0
21081059
haskell
0
Title: Haskell OpenGL procedural generation Problem title: Haskell OpenGL procedural generation Tags: opengl, procedural-generation, opengl-4, haskell Problem: Haskell OpenGL procedural generation I am trying to use Haskell to procedurally generate a triangulated square terrain of a given width to be given to OpenGL. T...
Haskell OpenGL procedural generation Haskell OpenGL procedural generation opengl procedural-generation opengl-4 haskell Haskell OpenGL GLfloat opengl-4 Haskell OpenGL procedural generation I am trying to use Haskell to procedurally generate a triangulated square terrain of a given width to be given to OpenGL. The only ...
[ 0.0164794921875, 0.003570556640625, -0.0211181640625, -0.0205078125, -0.0191650390625, -0.01336669921875, -0.00531005859375, -0.01055908203125, -0.00119781494140625, -0.054443359375, -0.0040283203125, -0.01904296875, 0.01422119140625, -0.0284423828125, -0.0185546875, -0.00848388671875,...
[ 20625, 142508, 13527, 78703, 59158, 58093, 141, 9803, 11016, 48281, 11565, 1556, 90799, 52347, 257, 31577, 4527, 139392, 1927, 66, 173857, 108047, 70665, 34475, 146984, 4734, 13580, 20653, 155955, 959, 7941, 756, 96759, 32354, 28282, 33636, 155...
[ 0.1461181640625, 0.2255859375, 0.1383056640625, 0.2158203125, 0.2049560546875, 0.1956787109375, 0.0001220703125, 0.11669921875, 0.1805419921875, 0.1689453125, 0.15380859375, 0.10723876953125, 0.1214599609375, 0.211181640625, 0.1181640625, 0.05633544921875, 0.033294677734375, 0.1839...
embed
53704628_c0
53704628
haskell
0
Title: Why (-2) is different from (\x -&gt; x - 2) in Haskell? Problem title: Why (-2) is different from (\x -&gt; x - 2) in Haskell? Tags: haskell Problem: Why (-2) is different from (\x -> x - 2) in Haskell? I'm learning Haskell using CIS194(spring13) by myself. Today when I was trying to deal with homework 4 Exercis...
Why (-2) is different from (\x -&gt; x - 2) in Haskell? Why (-2) is different from (\x -&gt; x - 2) in Haskell? haskell a Why Haskell fun1 Integer Num Why (-2) is different from (\x -> x - 2) in Haskell? I'm learning Haskell using CIS194(spring13) by myself. Today when I was trying to deal with homework 4 Exercise 1, I...
[ -0.0181884765625, -0.0146484375, 0.000408172607421875, -0.011474609375, -0.001678466796875, 0.0211181640625, 0.0002841949462890625, 0.007049560546875, 0.015380859375, -0.012939453125, -0.005523681640625, -0.01373291015625, -0.0021209716796875, -0.002685546875, -0.000896453857421875, -0...
[ 44084, 9, 10461, 83, 12921, 1295, 41872, 425, 20, 1230, 5386, 1022, 4958, 20625, 142508, 15, 23, 1556, 10, 7477, 418, 44401, 52782, 33079, 52080, 152113, 2947, 617, 79832, 63258, 5368, 18244, 201, 155534, 18499, 1650, 2804, 14315, 91995, ...
[ 0.1177978515625, 0.134033203125, 0.272216796875, 0.0408935546875, 0.2021484375, 0.087646484375, 0.03631591796875, 0.1015625, 0.1083984375, 0.0316162109375, 0.1392822265625, 0.0916748046875, 0.2244873046875, 0.1365966796875, 0.2392578125, 0.011688232421875, 0.0289306640625, 0.098144...
embed
71092123_c0
71092123
haskell
0
Title: Installing a Haskell program like `hackage-cli` Problem title: Installing a Haskell program like `hackage-cli` Tags: haskell Problem: Installing a Haskell program like `hackage-cli` Multiple .cabal files found in directory /Users/nrolland/clones/hackage-cli/fixtures/: - SVGFonts.2.cabal - SVGFonts.0.cabal - SVGF...
Installing a Haskell program like `hackage-cli` Installing a Haskell program like `hackage-cli` haskell version non-upgradeable Installing Haskell Cabal v1-build Resolving Warning Could __0 hackage-cli-0.1.0.0 __1 base-4.15.1.0 installed-4.15.1.0 After Trying Configuring Encountered v2-build base-4.16.0.0 base-4.15.0.0...
[ -0.00341796875, 0.0098876953125, -0.00002181529998779297, 0.004486083984375, -0.0111083984375, -0.002471923828125, -0.005950927734375, -0.0118408203125, 0.0147705078125, 0.0201416015625, 0.00042724609375, -0.02294921875, 0.0081787109375, 0.00531005859375, 0.0019989013671875, -0.0036773...
[ 107951, 214, 20625, 142508, 1528, 1884, 139509, 4588, 238, 150, 1556, 11389, 351, 2037, 44286, 30438, 289, 81, 20268, 177149, 132944, 5550, 191147, 2389, 85526, 102014, 99929, 3647, 11565, 1837, 102107, 20600, 40858, 59994, 357, 71013, 18504, ...
[ 0.1990966796875, 0.035614013671875, 0.1702880859375, 0.26708984375, 0.189453125, 0.0946044921875, 0.2371826171875, 0.1746826171875, 0.03973388671875, 0.1788330078125, 0.1405029296875, 0.05792236328125, 0.0859375, 0.07159423828125, 0.132568359375, 0.1416015625, 0.1378173828125, 0.07...
embed
47403736_c0
47403736
haskell
0
Title: Input has quotes automatically added Problem title: Input has quotes automatically added Tags: persistent-storage, yesod, haskell Problem: Input has quotes automatically added I'm using Yesod to write a personal backup system, and running into an interesting issue. I'm relatively inexperienced when it comes to H...
Input has quotes automatically added Input has quotes automatically added persistent-storage yesod haskell Input Text RcPath Handler T.pack RcFile Input has quotes automatically added I'm using Yesod to write a personal backup system, and running into an interesting issue. I'm relatively inexperienced when it comes to ...
[ 0.01116943359375, 0.0281982421875, 0.00799560546875, 0.0084228515625, -0.0084228515625, 0.017333984375, -0.001434326171875, -0.0172119140625, 0.00927734375, -0.0284423828125, 0.006103515625, -0.0054931640625, -0.02587890625, 0.000965118408203125, -0.00994873046875, 0.01495361328125, ...
[ 360, 7077, 1556, 66747, 7, 191082, 49814, 70560, 2517, 140464, 2422, 23722, 142508, 24129, 683, 10519, 10639, 603, 384, 29102, 627, 238, 174350, 17368, 32635, 2199, 3357, 126502, 5426, 51042, 49041, 31089, 111468, 20625, 24087, 35863, 28541, ...
[ 0.118408203125, 0.1978759765625, 0.10174560546875, 0.25927734375, 0.097412109375, 0.2020263671875, 0.1634521484375, 0.122314453125, 0.0273895263671875, 0.10076904296875, 0.12109375, 0.1846923828125, 0.2098388671875, 0.1131591796875, 0.05426025390625, 0.1185302734375, 0.0908203125, ...
embed
12056257_c0
12056257
haskell
0
Title: Why does adding an as-pattern to a working function cause compilation errors? Problem title: Why does adding an as-pattern to a working function cause compilation errors? Tags: types, haskell, as-pattern Problem: Why does adding an as-pattern to a working function cause compilation errors? Here's the standard Fu...
Why does adding an as-pattern to a working function cause compilation errors? Why does adding an as-pattern to a working function cause compilation errors? types haskell as-pattern Why Either Functor Left Right Couldn Expected Inferred Why does adding an as-pattern to a working function cause compilation errors? Here's...
[ -0.004791259765625, -0.0028533935546875, -0.00848388671875, -0.0020751953125, -0.011962890625, 0.0003757476806640625, -0.033203125, -0.0086669921875, 0.01348876953125, -0.0091552734375, 0.012451171875, -0.0296630859375, 0.0023651123046875, -0.004852294921875, 0.0181884765625, -0.000019...
[ 44084, 154107, 237, 9, 4453, 22766, 47, 20697, 32354, 22304, 98352, 18499, 142, 52895, 1556, 142508, 4565, 9319, 28670, 18770, 2480, 90911, 191147, 60075, 2875, 2822, 14602, 1363, 11853, 5570, 110527, 10, 23, 113660, 72367, 214, 527, 73265, ...
[ 0.06622314453125, 0.16015625, 0.20361328125, 0.0430908203125, 0.1729736328125, 0.1778564453125, 0.0863037109375, 0.1444091796875, 0.1539306640625, 0.109130859375, 0.194580078125, 0.172119140625, 0.043853759765625, 0.085205078125, 0.1044921875, 0.2105712890625, 0.05035400390625, 0.1...
embed
28369920_c0
28369920
haskell
0
Title: Structured Haskell Mode [SHM]: How to delete single bracket or string quote by &lt;backspace&gt; or &lt;del&gt;? Problem title: Structured Haskell Mode [SHM]: How to delete single bracket or string quote by &lt;backspace&gt; or &lt;del&gt;? Tags: plugins, key-bindings, haskell, emacs Problem: Structured Haskell ...
Structured Haskell Mode [SHM]: How to delete single bracket or string quote by &lt;backspace&gt; or &lt;del&gt;? Structured Haskell Mode [SHM]: How to delete single bracket or string quote by &lt;backspace&gt; or &lt;del&gt;? plugins key-bindings haskell emacs Structured Haskell Mode SHM How Structured Haskell Mode [SH...
[ -0.012451171875, 0.0311279296875, -0.004486083984375, -0.0022430419921875, -0.007598876953125, 0.0106201171875, 0.01202392578125, -0.0106201171875, 0.01361083984375, 0.0054931640625, 0.005279541015625, -0.003326416015625, -0.017333984375, -0.003936767578125, 0.0038909912109375, -0.0078...
[ 63667, 41039, 2822, 20625, 142508, 36024, 12927, 594, 11249, 154109, 11001, 1620, 27853, 707, 79315, 66747, 390, 12620, 65421, 1743, 5386, 69993, 22799, 128239, 1556, 2263, 159, 46592, 47, 3444, 87388, 49129, 35412, 10932, 125195, 51, 434, 13...
[ 0.135498046875, 0.1259765625, 0.07958984375, 0.1080322265625, 0.2252197265625, 0.1929931640625, 0.09197998046875, 0.1572265625, 0.060546875, 0.2275390625, 0.1424560546875, 0.1693115234375, 0.19482421875, 0.1695556640625, 0.1795654296875, 0.2413330078125, 0.0772705078125, 0.12329101...
embed
71985171_c0
71985171
haskell
0
Title: Checking cyclic list of tuples in Haskell Problem title: Checking cyclic list of tuples in Haskell Tags: tuples, list, haskell Problem: Checking cyclic list of tuples in Haskell I'm fairly new to Haskell and I'm trying to write a function that checks to see if the domino pieces are in a perfect cycle. The domino...
Checking cyclic list of tuples in Haskell Checking cyclic list of tuples in Haskell tuples list haskell Checking Haskell head:tail headOfTail:restOfTail Checking cyclic list of tuples in Haskell I'm fairly new to Haskell and I'm trying to write a function that checks to see if the domino pieces are in a perfect cycle. ...
[ 0.005645751953125, 0.003662109375, -0.005096435546875, 0.00982666015625, 0.0005035400390625, 0.00714111328125, -0.00537109375, 0.0047607421875, 0.0238037109375, -0.0103759765625, -0.00506591796875, 0.0267333984375, -0.00836181640625, 0.0244140625, -0.00848388671875, 0.0167236328125, ...
[ 38679, 187830, 238, 5303, 370, 99726, 20625, 142508, 1556, 10336, 46741, 132887, 9874, 379, 56644, 33022, 32354, 12765, 1957, 2174, 96889, 126371, 23, 15787, 105823, 7, 621, 6626, 55769, 756, 1632, 35431, 91, 2208, 111, 8705, 8110, 105950, ...
[ 0.200927734375, 0.2222900390625, 0.0845947265625, 0.187744140625, 0.1455078125, 0.2265625, 0.14013671875, 0.239013671875, 0.122314453125, 0.1575927734375, 0.18212890625, 0.148681640625, 0.08880615234375, 0.048370361328125, 0.1063232421875, 0.040771484375, 0.1309814453125, 0.2124023...
embed
59306230_c0
59306230
haskell
0
Title: How to define a function that takes natural numbers of a data type and return their sum? Problem title: How to define a function that takes natural numbers of a data type and return their sum? Tags: types, value-constructor, type-conversion, haskell Problem: How to define a function that takes natural numbers of...
How to define a function that takes natural numbers of a data type and return their sum? How to define a function that takes natural numbers of a data type and return their sum? types value-constructor type-conversion haskell How Nat Zero Succ How to define a function that takes natural numbers of a data type and retur...
[ -0.01239013671875, 0.00836181640625, 0.000644683837890625, 0.0198974609375, 0.004669189453125, 0.015869140625, -0.00115966796875, 0.01336669921875, 0.009033203125, -0.017822265625, 0.005584716796875, -0.02392578125, -0.001983642578125, 0.01458740234375, 0.005035400390625, 0.00084686279...
[ 11249, 47, 61924, 32354, 450, 51776, 6083, 101935, 2053, 10644, 30646, 10554, 136, 2363, 52895, 34292, 2271, 36716, 748, 46354, 1556, 142508, 68875, 83947, 1832, 10060, 111, 64549, 25251, 4488, 8306, 24124, 41361, 6626, 107730, 12996, 2806, 9...
[ 0.08428955078125, 0.04840087890625, 0.2210693359375, 0.2265625, 0.03814697265625, 0.1561279296875, 0.215576171875, 0.2071533203125, 0.1212158203125, 0.20751953125, 0.1923828125, 0.2093505859375, 0.045166015625, 0.038360595703125, 0.226318359375, 0.212646484375, 0.042510986328125, 0...
embed
15671328_c0
15671328
haskell
0
Title: Scheduling a Timeout in Haskell Problem title: Scheduling a Timeout in Haskell Tags: callback, haskell, timeout Problem: Scheduling a Timeout in Haskell I'm brand new to Haskell and I'm trying to figure out how to schedule a callback to be fired X seconds from now (and no sooner). In searching Hoogle and Google,...
Scheduling a Timeout in Haskell Scheduling a Timeout in Haskell callback haskell timeout Scheduling Timeout Haskell Scheduling a Timeout in Haskell I'm brand new to Haskell and I'm trying to figure out how to schedule a callback to be fired X seconds from now (and no sooner). In searching Hoogle and Google, I've discov...
[ -0.00015544891357421875, 0.0303955078125, 0.0022125244140625, -0.0103759765625, -0.004974365234375, 0.00055694580078125, -0.0035552978515625, 0.002777099609375, -0.0034942626953125, -0.052490234375, -0.0169677734375, -0.0230712890625, -0.0166015625, 0.00069427490234375, -0.012939453125, ...
[ 34702, 693, 19055, 6056, 23, 20625, 142508, 2069, 10, 11782, 12620, 1556, 1733, 8796, 3525, 31577, 26366, 80889, 47, 186, 11476, 1193, 94131, 5036, 110, 33662, 157318, 152488, 133, 1815, 134053, 10557, 9486, 238, 29713, 6954, 7693, 2844, 37...
[ 0.1859130859375, 0.175537109375, 0.2156982421875, 0.2406005859375, 0.035736083984375, 0.1619873046875, 0.2308349609375, 0.0241546630859375, 0.03167724609375, 0.1708984375, 0.22021484375, 0.1436767578125, 0.204833984375, 0.00726318359375, 0.056427001953125, 0.018280029296875, 0.044708...
embed
18278254_c0
18278254
haskell
0
Title: Is there any way to expose the hidden package haskell98 from a source code pragma in ghc-7.6.3? Problem title: Is there any way to expose the hidden package haskell98 from a source code pragma in ghc-7.6.3? Tags: haskell Problem: Is there any way to expose the hidden package haskell98 from a source code pragma i...
Is there any way to expose the hidden package haskell98 from a source code pragma in ghc-7.6.3? Is there any way to expose the hidden package haskell98 from a source code pragma in ghc-7.6.3? haskell a haskell98 ghc-7.6.3 OPTIONS_GHC System.Random Random Is there any way to expose the hidden package haskell98 from a so...
[ 0.017578125, 0.0089111328125, 0.017578125, -0.00008296966552734375, -0.0108642578125, 0.0235595703125, 0.00168609619140625, -0.01068115234375, -0.01202392578125, -0.0380859375, -0.005615234375, -0.00274658203125, 0.00555419921875, -0.006011962890625, 0.00640869140625, -0.00168609619140...
[ 2071, 2685, 2499, 3917, 172554, 204105, 98169, 1556, 142508, 16665, 1295, 31344, 18151, 58827, 192, 31380, 238, 16709, 200768, 47, 23, 28023, 165117, 41877, 441, 12353, 126525, 3815, 39643, 306, 24037, 3630, 277, 78684, 101089, 297, 20, 29102...
[ 0.015625, 0.0173492431640625, 0.03289794921875, 0.0745849609375, 0.182373046875, 0.2388916015625, 0.2471923828125, 0.1624755859375, 0.273193359375, 0.320556640625, 0.06494140625, 0.150146484375, 0.14892578125, 0.1533203125, 0.1348876953125, 0.111328125, 0.120849609375, 0.0639038085...
embed
23091927_c1
23091927
haskell
1
/= "." && f /= ".." && takeExtension f == ".tgz") When I run this in a directory with tarballs that were packed with: tar czvPf myfile.tgz /tarball_testing/myfile I get the following output: Unpacking myfile.tgz to /tarball_testing unpacker.hs: Absolute file name in tar archive: "/tarball_testing/myfile" The second li...
/= "." && f /= ".." && takeExtension f == ".tgz") When I run this in a directory with tarballs that were packed with: tar czvPf myfile.tgz /tarball_testing/myfile I get the following output: Unpacking myfile.tgz to /tarball_testing unpacker.hs: Absolute file name in tar archive: "/tarball_testing/myfile" The second li...
[ 0.01116943359375, -0.0010833740234375, 0.01507568359375, 0.01300048828125, 0.004150390625, 0.0032196044921875, 0.00958251953125, 0.01373291015625, -0.01385498046875, -0.0047607421875, -0.00518798828125, 0.0277099609375, -0.017333984375, 0.0264892578125, -0.034912109375, 0.0118408203125...
[ 248, 1369, 619, 1230, 1238, 5646, 19279, 128872, 69112, 177, 169, 11675, 903, 14364, 2405, 12126, 43824, 334, 420, 759, 29822, 867, 6954, 214, 1176, 25632, 140992, 992, 29102, 47, 51, 56, 127, 101397, 11435, 9351, 147488, 13315, 31089, 10...
[ 0.0706787109375, 0.062744140625, 0.016632080078125, 0.08892822265625, 0.1180419921875, 0.1689453125, 0.0806884765625, 0.19775390625, 0.029083251953125, 0.0223236083984375, 0.1259765625, 0.10302734375, 0.086181640625, 0.064697265625, 0.1807861328125, 0.1795654296875, 0.1385498046875, ...
embed
50657827_c0
50657827
haskell
0
Title: Parsing nested data from CSV Problem title: Parsing nested data from CSV Tags: haskell, csv Problem: Parsing nested data from CSV Consider the following: data DataTrain = DataTrain { item :: Text, user :: Text, dval :: Double } instance FromNamedRecord DataTrain where parseNamedRecord m = DataTrain <$> m .: "ite...
Parsing nested data from CSV Parsing nested data from CSV haskell csv CSV Parsing DataTrain Text Double FromNamedRecord DataIn What Parsing nested data from CSV Consider the following: This implements the CSV reading interface in cassava and allows reading DataTrain from a CSV file. Now, I would like to parse the follo...
[ -0.01708984375, -0.0036163330078125, -0.00518798828125, 0.01470947265625, 0.023681640625, 0.017333984375, -0.0012969970703125, -0.021240234375, 0.00038909912109375, -0.0177001953125, -0.0035858154296875, -0.0262451171875, 0.00555419921875, 0.022216796875, -0.011474609375, -0.0147705078...
[ 2392, 6953, 8512, 71, 2053, 1295, 313, 43486, 1556, 142508, 20763, 334, 11809, 28542, 73, 24129, 107172, 28090, 163612, 32271, 4153, 4865, 29479, 16454, 101758, 377, 1192, 330, 114864, 11435, 1884, 366, 184, 25632, 3917, 69307, 5701, 21543, ...
[ 0.1790771484375, 0.10107421875, 0.248779296875, 0.141357421875, 0.1551513671875, 0.1312255859375, 0.10076904296875, 0.288818359375, 0.1068115234375, 0.1968994140625, 0.0836181640625, 0.1754150390625, 0.064697265625, 0.22412109375, 0.08447265625, 0.133056640625, 0.12890625, 0.092285...
embed
27589636_c0
27589636
haskell
0
Title: Create a mapping operation so each input element produces 1 or more output elements? Problem title: Create a mapping operation so each input element produces 1 or more output elements? Tags: haskell Problem: Create a mapping operation so each input element produces 1 or more output elements? Recently I am trying...
Create a mapping operation so each input element produces 1 or more output elements? Create a mapping operation so each input element produces 1 or more output elements? haskell Create Create a mapping operation so each input element produces 1 or more output elements? Recently I am trying to figure out how to do some ...
[ -0.009521484375, 0.021484375, -0.0081787109375, -0.020263671875, -0.010498046875, 0.01544189453125, 0.010986328125, 0.01251220703125, 0.024658203125, -0.00506591796875, -0.002044677734375, -0.0189208984375, 0.0159912109375, 0.02392578125, -0.025146484375, 0.000553131103515625, 0.0162...
[ 151313, 291, 26783, 41018, 221, 12638, 107730, 12830, 27489, 106, 707, 1286, 140992, 80854, 1556, 142508, 10, 7, 26366, 56037, 23, 20625, 31577, 8781, 179933, 27781, 100, 1022, 111, 114689, 71, 17550, 47, 116, 90173, 138, 363, 96386, 234873...
[ 0.2069091796875, 0.2379150390625, 0.213134765625, 0.225830078125, 0.0955810546875, 0.0980224609375, 0.22412109375, 0.1988525390625, 0.1925048828125, 0.1170654296875, 0.07122802734375, 0.1571044921875, 0.2337646484375, 0.1900634765625, 0.1475830078125, 0.233154296875, 0.0511474609375,...
embed
52809752_c0
52809752
haskell
0
Title: Middleware for per-request data Problem title: Middleware for per-request data Tags: haskell-wai, clojure, haskell Problem: Middleware for per-request data In clojure , I can write something like this: (defn wrap-my-header [handler] (fn [request] (let [request (if (get-in request [:headers "my-header"]) (assoc r...
Middleware for per-request data Middleware for per-request data haskell-wai clojure haskell Middleware Middleware for per-request data In clojure , I can write something like this: In this middleware, I'm checking if I have a non-nil value in my-header in :headers , if yes, I'll attach some data in the request map. Thi...
[ -0.008056640625, 0.0291748046875, 0.0162353515625, -0.005157470703125, 0.01190185546875, 0.013427734375, 0.00146484375, -0.020751953125, -0.0087890625, -0.034912109375, 0.00106048583984375, 0.0150146484375, 0.00084686279296875, 0.007598876953125, -0.003509521484375, -0.01141357421875, ...
[ 102256, 15876, 100, 117, 107, 75616, 2053, 1556, 142508, 634, 14, 20450, 461, 831, 33022, 86991, 175199, 2174, 765, 351, 17324, 34292, 759, 31251, 72272, 243, 50336, 22288, 106804, 85689, 136, 57553, 208806, 61340, 7844, 3525, 14753, 15145, ...
[ 0.2105712890625, 0.253173828125, 0.04058837890625, 0.11767578125, 0.13525390625, 0.1605224609375, 0.136962890625, 0.10345458984375, 0.212158203125, 0.121337890625, 0.06878662109375, 0.1282958984375, 0.1558837890625, 0.043487548828125, 0.09747314453125, 0.2044677734375, 0.177001953125...
embed
77462660_c0
77462660
haskell
0
Title: Telling Haskell compiler that two types are compatible Problem title: Telling Haskell compiler that two types are compatible Tags: type-inference, haskell Problem: Telling Haskell compiler that two types are compatible I've got the following Haskell function: apply_to_f :: (a -> a) -> ((a -> a) -> b) -> ((b -> c...
Telling Haskell compiler that two types are compatible Telling Haskell compiler that two types are compatible type-inference haskell Telling Haskell apply_to_f Telling Haskell compiler that two types are compatible I've got the following Haskell function: (This comes from the 'pred' function for Church numerals). There...
[ 0.01275634765625, -0.001251220703125, 0.00836181640625, 0.0218505859375, 0.0021514892578125, -0.005462646484375, -0.017333984375, 0.01214599609375, 0.003326416015625, -0.029052734375, -0.0003204345703125, -0.00921630859375, 0.0211181640625, 0.00135040283203125, 0, -0.016357421875, -0...
[ 59488, 20625, 142508, 9969, 34759, 6626, 52895, 621, 146731, 10644, 73, 69988, 1556, 59911, 188, 420, 32354, 32497, 19714, 84084, 22542, 16765, 158, 2816, 4288, 14192, 7722, 150350, 9007, 538, 1238, 678, 68034, 51776, 33079, 30646, 27117, 51,...
[ 0.12548828125, 0.1248779296875, 0.2010498046875, 0.1322021484375, 0.1748046875, 0.134521484375, 0.21240234375, 0.046600341796875, 0.2467041015625, 0.1578369140625, 0.01080322265625, 0.1400146484375, 0.119873046875, 0.1650390625, 0.1781005859375, 0.1429443359375, 0.1390380859375, 0....
embed
66976760_c0
66976760
haskell
0
Title: How to use the do-notation to write a trampoline function in continuation passing style? Problem title: How to use the do-notation to write a trampoline function in continuation passing style? Tags: haskell Problem: How to use the do-notation to write a trampoline function in continuation passing style? Mind the...
How to use the do-notation to write a trampoline function in continuation passing style? How to use the do-notation to write a trampoline function in continuation passing style? haskell How Trampoline Done Wrap CPS How to use the do-notation to write a trampoline function in continuation passing style? Mind the followi...
[ -0.0184326171875, 0.00567626953125, -0.015380859375, -0.0034332275390625, -0.007415771484375, 0.0164794921875, 0.00052642822265625, -0.00787353515625, 0.0198974609375, -0.0322265625, -0.01129150390625, -0.00396728515625, -0.00015163421630859375, 0.004486083984375, 0.0361328125, -0.0008...
[ 11249, 4527, 54, 157, 22062, 33022, 240477, 13, 32354, 9454, 452, 20623, 9, 6953, 1556, 142508, 78420, 31, 2256, 984, 86, 13631, 9059, 1363, 29616, 25632, 831, 96760, 47, 313, 33342, 106480, 110608, 88303, 3917, 17368, 1884 ]
[ 0.00604248046875, 0.0557861328125, 0.15234375, 0.1571044921875, 0.07708740234375, 0.146240234375, 0.236572265625, 0.09320068359375, 0.1656494140625, 0.12841796875, 0.07568359375, 0.16650390625, 0.032867431640625, 0.01849365234375, 0.060882568359375, 0.171142578125, 0.15869140625, 0...
embed
59175728_c0
59175728
haskell
0
Title: Typing with anonymous vs. non anonymous functions in haskell Problem title: Typing with anonymous vs. non anonymous functions in haskell Tags: haskell Problem: Typing with anonymous vs. non anonymous functions in haskell Why does this identity compile when I type it f = (\x -> x) :: a -> a but this one does not?...
Typing with anonymous vs. non anonymous functions in haskell Typing with anonymous vs. non anonymous functions in haskell haskell Typing Typing with anonymous vs. non anonymous functions in haskell Why does this identity compile when I type it but this one does not? When I just write And load it into ghci and type :t f...
[ -0.007049560546875, 0.01287841796875, -0.006011962890625, -0.00799560546875, 0.0244140625, 0.00057220458984375, 0.0024566650390625, 0.0206298828125, 0.003662109375, -0.0234375, 0.0103759765625, -0.0177001953125, 0.003326416015625, 0.004547119140625, 0.017822265625, 0.0034027099609375, ...
[ 33417, 214, 678, 52184, 10821, 20209, 351, 32354, 1556, 142508, 44084, 14602, 903, 182324, 9969, 1340, 3229, 10644, 442, 1284, 959, 33022, 72367, 31380, 318, 18, 1238, 53299, 5701, 18499, 26484, 128652, 18700, 39, 13580, 36663, 51776, 6626, ...
[ 0.196044921875, 0.041259765625, 0.07470703125, 0.2108154296875, 0.1043701171875, 0.093994140625, 0.09210205078125, 0.1783447265625, 0.1243896484375, 0.2095947265625, 0.0301055908203125, 0.0650634765625, 0.0787353515625, 0.2213134765625, 0.1424560546875, 0.1571044921875, 0.03192138671...
embed
11169804_c2
11169804
haskell
2
hs, dist/build/happy/happy-tmp/AttrGrammar.o ) [10 of 18] Compiling AttrGrammarParser ( dist/build/happy/happy-tmp/AttrGrammarParser.hs, dist/build/happy/happy-tmp/AttrGrammarParser.o ) [11 of 18] Compiling Grammar ( src/Grammar.lhs, dist/build/happy/happy-tmp/Grammar.o ) [12 of 18] Compiling First Code signals: System...
hs, dist/build/happy/happy-tmp/AttrGrammar.o ) [10 of 18] Compiling AttrGrammarParser ( dist/build/happy/happy-tmp/AttrGrammarParser.hs, dist/build/happy/happy-tmp/AttrGrammarParser.o ) [11 of 18] Compiling Grammar ( src/Grammar.lhs, dist/build/happy/happy-tmp/Grammar.o ) [12 of 18] Compiling First Code signals: System...
[ -0.01495361328125, -0.0135498046875, -0.0018463134765625, 0.0059814453125, 0.0028839111328125, -0.004913330078125, -0.02001953125, -0.000652313232421875, -0.0042724609375, 0.0184326171875, -0.010498046875, -0.025634765625, 0.0029449462890625, 0.007568359375, 0.005126953125, -0.00433349...
[ 1096, 7, 45, 271, 177149, 157976, 2676, 28848, 4448, 37878, 39, 1727, 31, 963, 543, 15612, 49725, 9208, 42, 28636, 2189, 127, 1662, 48078, 19437, 79366, 1530, 23972, 28864, 26073, 12353, 17780, 18468, 27131, 63928, 75571, 33209, 126, 2037, ...
[ 0.11181640625, 0.059173583984375, 0.06878662109375, 0.1353759765625, 0.16064453125, 0.2049560546875, 0.1732177734375, 0.05426025390625, 0.1112060546875, 0.165283203125, 0.08935546875, 0.1796875, 0.15869140625, 0.1068115234375, 0.119140625, 0.1497802734375, 0.138427734375, 0.0953979...
embed
74340791_c0
74340791
haskell
0
Title: Haskell -- Generate Coordinates From Ends of the Path Problem title: Haskell -- Generate Coordinates From Ends of the Path Tags: haskell Problem: Haskell -- Generate Coordinates From Ends of the Path I have an input of [ ( (Int,Int) , (Int,Int) ) ] which is the coordinate of the ends of the path. All paths run e...
Haskell -- Generate Coordinates From Ends of the Path Haskell -- Generate Coordinates From Ends of the Path haskell Haskell Generate Coordinates Ends Path Integer Haskell -- Generate Coordinates From Ends of the Path I have an input of [ ( (Int,Int) , (Int,Int) ) ] which is the coordinate of the ends of the path. All p...
[ 0.0159912109375, 0.0162353515625, -0.00018215179443359375, -0.0130615234375, -0.0191650390625, 0.0027618408203125, 0.008056640625, -0.00457763671875, -0.000576019287109375, -0.0128173828125, 0.017578125, 0.004974365234375, 0.00015735626220703125, -0.006622314453125, -0.00341796875, -0....
[ 20625, 142508, 155370, 67, 1311, 43297, 1636, 28090, 18878, 7, 111, 70, 108421, 4210, 1556, 44401, 87, 765, 107730, 4153, 18, 83, 176866, 13, 3564, 60875, 3164, 11675, 40101, 124001, 40175, 113, 27494, 15044, 79259, 1022, 3444, 33022, 32354...
[ 0.173828125, 0.250244140625, 0.1983642578125, 0.07586669921875, 0.1234130859375, 0.254638671875, 0.1300048828125, 0.1412353515625, 0.2041015625, 0.131591796875, 0.128173828125, 0.0276947021484375, 0.2061767578125, 0.011505126953125, 0.1585693359375, 0.181396484375, 0.00909423828125, ...
embed
36576654_c0
36576654
haskell
0
Title: Shake: how to proceed when file name is not known a-priori Problem title: Shake: how to proceed when file name is not known a-priori Tags: haskell, shake-build-system Problem: Shake: how to proceed when file name is not known a-priori I'm trying to set up Shake for building a web application. At the end of my bu...
Shake: how to proceed when file name is not known a-priori Shake: how to proceed when file name is not known a-priori haskell shake-build-system Shake min.js index.html Hash Shake: how to proceed when file name is not known a-priori I'm trying to set up Shake for building a web application. At the end of my build proce...
[ -0.0142822265625, 0.0196533203125, 0.0031280517578125, 0.016845703125, -0.0255126953125, 0.01519775390625, -0.009765625, 0.00823974609375, 0.007568359375, 0.01190185546875, -0.00811767578125, 0.006103515625, -0.001678466796875, 0.033203125, 0.01324462890625, 0.00347900390625, 0.01300...
[ 68161, 13, 3642, 172337, 3229, 11435, 9351, 83, 959, 51529, 207184, 10, 1556, 142508, 174450, 177149, 16751, 881, 28175, 63262, 7693, 162087, 5423, 33976, 1467, 38415, 3564, 45367, 1884, 456, 11627, 16750, 136, 4439, 102158, 10941, 82365, 532...
[ 0.19677734375, 0.1986083984375, 0.0506591796875, 0.152587890625, 0.10003662109375, 0.1943359375, 0.154052734375, 0.0760498046875, 0.160888671875, 0.202392578125, 0.181396484375, 0.0380859375, 0.13037109375, 0.16015625, 0.2149658203125, 0.09716796875, 0.07379150390625, 0.17260742187...
embed
26492216_c0
26492216
haskell
0
Title: Haskell: Creating an instance of Show Problem title: Haskell: Creating an instance of Show Tags: haskell, deriving Problem: Haskell: Creating an instance of Show In the code below, I define an algebraic data type and I (attempt to) make it an instance of Show. However, I'm getting a compile-time error (included ...
Haskell: Creating an instance of Show Haskell: Creating an instance of Show haskell deriving Haskell Creating Show RepeatType Multiple Single test.hs:3:15 Expecting Failed Haskell: Creating an instance of Show In the code below, I define an algebraic data type and I (attempt to) make it an instance of Show. However, I'...
[ -0.003875732421875, 0.01019287109375, 0.0087890625, 0.033447265625, -0.0120849609375, 0.0086669921875, 0.010498046875, -0.0166015625, 0.01708984375, -0.001251220703125, -0.03662109375, -0.0286865234375, 0.006805419921875, 0.009521484375, -0.01165771484375, -0.0013580322265625, 0.0228...
[ 20625, 142508, 56781, 1916, 110527, 17367, 1556, 16406, 33742, 13, 196707, 19335, 43609, 3034, 127, 363, 12221, 60075, 24762, 190355, 18151, 35064, 61924, 144, 429, 2844, 2053, 10644, 34224, 3249, 20949, 9969, 1340, 6032, 18499, 217028, 20594, ...
[ 0.1478271484375, 0.233154296875, 0.11328125, 0.0113525390625, 0.2283935546875, 0.26708984375, 0.139892578125, 0.033447265625, 0.1240234375, 0.1112060546875, 0.208251953125, 0.0767822265625, 0.124267578125, 0.161865234375, 0.0291748046875, 0.013641357421875, 0.1004638671875, 0.08392...
embed
78770766_c0
78770766
haskell
0
Title: Why does GHC&#x27;s type-checker accept this UndecidableInstance trick? Problem title: Why does GHC&#x27;s type-checker accept this UndecidableInstance trick? Tags: undecidable-instances, haskell Problem: Why does GHC's type-checker accept this UndecidableInstance trick? GHC accepts the following code. {-# LANGU...
Why does GHC&#x27;s type-checker accept this UndecidableInstance trick? Why does GHC&#x27;s type-checker accept this UndecidableInstance trick? undecidable-instances haskell Why GHC UndecidableInstance LANGUAGE FlexibleInstances UndecidableInstances Blib Blob Why does GHC's type-checker accept this UndecidableInstance ...
[ 0.01904296875, 0.006256103515625, -0.004180908203125, 0.00506591796875, -0.01043701171875, 0.016357421875, 0.0025482177734375, -0.005340576171875, 0.01385498046875, -0.0036773681640625, -0.005767822265625, -0.0341796875, 0.0216064453125, 0.0242919921875, 0.01409912109375, -0.0047607421...
[ 44084, 527, 73265, 3768, 10644, 78292, 56, 26946, 903, 79912, 24750, 2661, 116071, 88308, 9232, 73, 1556, 142508, 3358, 98064, 180842, 335, 5612, 54231, 275, 14602, 4153, 25632, 18151, 79975, 11675, 71924, 2886, 43240, 64552, 209303, 72367, 4...
[ 0.0501708984375, 0.0858154296875, 0.2479248046875, 0.05987548828125, 0.18212890625, 0.1771240234375, 0.095458984375, 0.1446533203125, 0.053680419921875, 0.074462890625, 0.144287109375, 0.1502685546875, 0.1483154296875, 0.1829833984375, 0.0687255859375, 0.039398193359375, 0.0850830078...
embed
34016436_c0
34016436
haskell
0
Title: &quot;Equivalent function&quot; search (function usage deduction) Problem title: &quot;Equivalent function&quot; search (function usage deduction) Tags: haskell Problem: "Equivalent function" search (function usage deduction) When coding, we write code using our own knowledge about available machinery. That know...
&quot;Equivalent function&quot; search (function usage deduction) &quot;Equivalent function&quot; search (function usage deduction) haskell Equivalent Test.QuickCheck Sum Num Foldable "Equivalent function" search (function usage deduction) When coding, we write code using our own knowledge about available machinery. Th...
[ -0.00787353515625, 0.006439208984375, -0.00579833984375, 0.02587890625, -0.0301513671875, -0.007659912109375, 0.005950927734375, -0.00019073486328125, 0.019775390625, -0.02783203125, -0.02392578125, -0.00182342529296875, 0.00024127960205078125, 0.010986328125, -0.003173828125, -0.00558...
[ 647, 3181, 85540, 32354, 33938, 137175, 127689, 8, 77391, 1556, 142508, 145666, 8647, 96010, 202567, 36335, 52782, 30077, 2886, 552, 6238, 33022, 18151, 17368, 10002, 51359, 19882, 36279, 1294, 2878, 154559, 6782, 55516, 6275, 32087, 5154, 1821...
[ 0.0128173828125, 0.1187744140625, 0.2294921875, 0.207275390625, 0.1904296875, 0.136474609375, 0.1314697265625, 0.09698486328125, 0.1322021484375, 0.1077880859375, 0.2132568359375, 0.10205078125, 0.1572265625, 0.0872802734375, 0.2410888671875, 0.0950927734375, 0.07373046875, 0.08557...
embed
41400132_c1
41400132
haskell
1
(Transition t) => t -> Signal TestResult class Result r class (Eq p, Show p) => PortIn p -------------------------------------------------------------------------------- -- Stuff to define in each file -------------------------------------------------------------------------------- runOneTest' :: (Transition t) => t -...
(Transition t) => t -> Signal TestResult class Result r class (Eq p, Show p) => PortIn p -------------------------------------------------------------------------------- -- Stuff to define in each file -------------------------------------------------------------------------------- runOneTest' :: (Transition t) => t -...
[ 0.0025482177734375, -0.005279541015625, -0.003448486328125, -0.003326416015625, 0.00897216796875, -0.0244140625, -0.033935546875, -0.0252685546875, 0.017578125, -0.0057373046875, -0.0185546875, 0.005523681640625, -0.03564453125, 0.01287841796875, 0.01116943359375, 0.0244140625, 0.010...
[ 62624, 14, 1363, 808, 44357, 33079, 144000, 8647, 4332, 7, 7136, 18507, 126684, 1690, 864, 915, 17367, 13791, 4153, 2907, 21493, 61924, 23, 12638, 11435, 11675, 62068, 111337, 25, 153837, 26073, 3650, 6138, 2053, 25645, 19, 12121, 27774, 21...
[ 0.1551513671875, 0.11279296875, 0.074951171875, 0.1370849609375, 0.01336669921875, 0.0274810791015625, 0.244384765625, 0.1796875, 0.0718994140625, 0.134033203125, 0.1658935546875, 0.18115234375, 0.188232421875, 0.07220458984375, 0.06500244140625, 0.04644775390625, 0.146484375, 0.14...
embed
48338167_c0
48338167
haskell
0
Title: GHC option for performance related files out directory Problem title: GHC option for performance related files out directory Tags: haskell-stack, haskell Problem: GHC option for performance related files out directory I made instrumental build which generates profiling information. I use stack . GHC options in ....
GHC option for performance related files out directory GHC option for performance related files out directory haskell-stack haskell GHC Wall i0.1 M1G SMyApplication-S.log MyApplication-S.log MyApplication.hp MyApplication.prof GHC option for performance related files out directory I made instrumental build which genera...
[ 0.014892578125, -0.004913330078125, -0.0211181640625, -0.01806640625, -0.027587890625, 0.00433349609375, -0.013427734375, 0.0028839111328125, -0.00335693359375, 0.01177978515625, 0.00836181640625, 0.012939453125, 0.01068115234375, 0.0107421875, 0.00848388671875, 0.013916015625, -0.01...
[ 527, 73265, 35829, 23718, 62548, 102158, 1810, 14364, 1556, 142508, 590, 2594, 23706, 102014, 724, 22972, 53, 47677, 182867, 294, 4867, 2646, 127, 3454, 420, 150222, 45367, 139392, 9468, 4677, 4527, 177261, 50717, 5, 408, 3571, 11435, 51042, ...
[ 0.119384765625, 0.251953125, 0.2164306640625, 0.2220458984375, 0.14599609375, 0.1719970703125, 0.153564453125, 0.1431884765625, 0.129150390625, 0.231201171875, 0.05108642578125, 0.0755615234375, 0.149169921875, 0.10382080078125, 0.024749755859375, 0.06536865234375, 0.007049560546875,...
embed
49117602_c0
49117602
haskell
0
Title: Getting Haskell to Distinguish Type Synonyms Problem title: Getting Haskell to Distinguish Type Synonyms Tags: type-synonyms, type-alias, haskell, types Problem: Getting Haskell to Distinguish Type Synonyms I like the idea of Haskell type synonyms, because they allow for distinguishing between abstract datatypes...
Getting Haskell to Distinguish Type Synonyms Getting Haskell to Distinguish Type Synonyms type-synonyms type-alias haskell types Getting Haskell Distinguish Type Synonyms Vector Vec Some Position Float Velocity Time Getting Haskell to Distinguish Type Synonyms I like the idea of Haskell type synonyms, because they allo...
[ 0.00081634521484375, 0.0308837890625, -0.01171875, 0.025390625, 0.01153564453125, 0.004791259765625, -0.00421142578125, 0.0067138671875, -0.00726318359375, -0.020263671875, -0.0002727508544921875, -0.01446533203125, -0.01007080078125, 0.0001392364501953125, -0.02099609375, 0.0115356445...
[ 210732, 20625, 142508, 6206, 34971, 4745, 60457, 19010, 45757, 47, 10644, 12654, 41763, 1556, 52895, 2609, 18770, 52884, 99428, 38699, 139993, 19055, 1884, 6528, 164661, 7, 63769, 157167, 54700, 17721, 164789, 2053, 50986, 12008, 1379, 538, 188...
[ 0.1090087890625, 0.156494140625, 0.26708984375, 0.05938720703125, 0.1768798828125, 0.0716552734375, 0.2452392578125, 0.1353759765625, 0.2105712890625, 0.037841796875, 0.2420654296875, 0.09710693359375, 0.094482421875, 0.1253662109375, 0.2098388671875, 0.097900390625, 0.09014892578125...
embed
11465966_c0
11465966
haskell
0
Title: trouble with symbols while expressing operational semantics Problem title: trouble with symbols while expressing operational semantics Tags: haskell, functional-programming Problem: trouble with symbols while expressing operational semantics I am trying to write some inference rules but I'm not able to understan...
trouble with symbols while expressing operational semantics trouble with symbols while expressing operational semantics haskell functional-programming there_exists m:n trouble with symbols while expressing operational semantics I am trying to write some inference rules but I'm not able to understand the meaning of the ...
[ 0.0009765625, 0.012451171875, -0.00167083740234375, 0.0078125, -0.009033203125, -0.00439453125, -0.0118408203125, 0.0096435546875, 0.01153564453125, -0.00714111328125, 0.01434326171875, -0.036865234375, 0.0274658203125, -0.00775146484375, -0.0064697265625, 0.0235595703125, -0.0147094...
[ 63134, 678, 26582, 7, 12960, 36510, 41018, 289, 484, 109109, 1556, 142508, 123309, 28966, 2685, 54376, 347, 12, 19, 31577, 33022, 53498, 6620, 91736, 959, 19048, 28219, 91084, 137567, 11814, 59121, 79986, 10644, 204629, 21635, 653, 91995, 169...
[ 0.1795654296875, 0.126708984375, 0.255615234375, 0.1195068359375, 0.044281005859375, 0.148681640625, 0.1878662109375, 0.040069580078125, 0.118408203125, 0.1102294921875, 0.0911865234375, 0.1861572265625, 0.1075439453125, 0.107421875, 0.08642578125, 0.177001953125, 0.151123046875, 0...
embed
14811396_c0
14811396
haskell
0
Title: Compile time and run time difference between type and newtype Problem title: Compile time and run time difference between type and newtype Tags: haskell, types Problem: Compile time and run time difference between type and newtype What is the difference, at various stages of the read-compile-run pipeline, betwee...
Compile time and run time difference between type and newtype Compile time and run time difference between type and newtype haskell types Compile Name Name_ List Either List_ Compile time and run time difference between type and newtype What is the difference, at various stages of the read-compile-run pipeline, between...
[ 0.00634765625, -0.0194091796875, 0.0223388671875, 0.0096435546875, -0.0157470703125, 0.0123291015625, -0.0181884765625, 0.002685546875, 0.01318359375, 0.01116943359375, -0.00885009765625, -0.0264892578125, 0.016845703125, -0.006927490234375, -0.0125732421875, 0.002166748046875, 0.022...
[ 15612, 1340, 1733, 136, 11675, 60212, 17721, 10644, 3525, 50986, 1556, 142508, 52895, 15757, 32036, 70, 67842, 36541, 12301, 58875, 16428, 137158, 2256, 21635, 237259, 375, 5974, 5701, 36279, 167934, 1528, 78292, 4527, 151107, 23351, 214, 56065...
[ 0.1466064453125, 0.13232421875, 0.1475830078125, 0.054443359375, 0.123779296875, 0.2069091796875, 0.07501220703125, 0.276611328125, 0.1326904296875, 0.30322265625, 0.099853515625, 0.2032470703125, 0.2432861328125, 0.115478515625, 0.1104736328125, 0.0452880859375, 0.025665283203125, ...
embed
20257518_c0
20257518
haskell
0
Title: How do you specify any type in Haskell? Problem title: How do you specify any type in Haskell? Tags: haskell Problem: How do you specify any type in Haskell? I have to split a list in half, resulting in a tuple of the first half of the list and the second half of the list (half1, half2). When the length of this ...
How do you specify any type in Haskell? How do you specify any type in Haskell? haskell How Haskell How do you specify any type in Haskell? I have to split a list in half, resulting in a tuple of the first half of the list and the second half of the list (half1, half2). When the length of this list is odd, then I want ...
[ 0.0079345703125, 0.00445556640625, 0.01239013671875, 0.004669189453125, 0.007110595703125, 0.01031494140625, -0.00872802734375, -0.011962890625, 0.021728515625, 0.00154876708984375, 0.002044677734375, -0.033935546875, -0.00093841552734375, 0.00531005859375, -0.01544189453125, -0.003692...
[ 11249, 40140, 18929, 2499, 10644, 23, 20625, 142508, 1556, 65450, 5303, 23552, 16750, 370, 8705, 17932, 4200, 418, 10461, 140909, 70270, 3444, 3249, 70541, 1286, 80854, 5442, 201505, 1065, 18151, 18499, 3884, 71713, 866, 19, 31374, 29481, 371...
[ 0.057952880859375, 0.201904296875, 0.1607666015625, 0.0804443359375, 0.2327880859375, 0.0548095703125, 0.1558837890625, 0.2509765625, 0.1363525390625, 0.1195068359375, 0.12158203125, 0.1300048828125, 0.0207672119140625, 0.07733154296875, 0.1732177734375, 0.0241546630859375, 0.1104736...
embed
33176636_c0
33176636
haskell
0
Title: Changing the documentation for re-exported types and values Problem title: Changing the documentation for re-exported types and values Tags: haskell, haddock Problem: Changing the documentation for re-exported types and values Suppose I have a module which re-exports a value from an internal module: module My.Co...
Changing the documentation for re-exported types and values Changing the documentation for re-exported types and values haskell haddock My.Cool.Module.Internal Changing My.Cool.Module SomeType My-Cool-Module.html My-Cool-Module-Internal.html Changing the documentation for re-exported types and values Suppose I have a m...
[ -0.004486083984375, 0.000827789306640625, -0.007598876953125, 0.01513671875, 0.006591796875, 0.00732421875, -0.0159912109375, 0.000885009765625, -0.00531005859375, 0.03369140625, 0.006378173828125, 0.019287109375, 0.000885009765625, 0.005615234375, 0.00860595703125, 0.005645751953125, ...
[ 108193, 214, 70, 209806, 456, 180758, 297, 52895, 136, 142424, 1556, 142508, 1902, 138414, 2646, 10625, 929, 91616, 8782, 44851, 31384, 196707, 7693, 100, 9, 88996, 34292, 1295, 70796, 1884, 7639, 12921, 3060, 856, 50770, 23, 36770, 45252, ...
[ 0.223876953125, 0.038787841796875, 0.0203857421875, 0.26416015625, 0.18212890625, 0.232666015625, 0.0770263671875, 0.2371826171875, 0.08660888671875, 0.1842041015625, 0.1439208984375, 0.2235107421875, 0.1861572265625, 0.280517578125, 0.1375732421875, 0.0911865234375, 0.1473388671875,...
embed
18184886_c0
18184886
haskell
0
Title: Repa performance for simple numerical method Problem title: Repa performance for simple numerical method Tags: arrays, repa, haskell, numerical-methods Problem: Repa performance for simple numerical method I have implemented the Euler symplectic method using repa. It is a pretty simple method. Sadly the performa...
Repa performance for simple numerical method Repa performance for simple numerical method arrays repa haskell numerical-methods Repa RepaOnly.hs RepaOnly dppr-cols200 RepaOnly.hcr Repa performance for simple numerical method I have implemented the Euler symplectic method using repa. It is a pretty simple method. Sadly ...
[ -0.01300048828125, 0.01007080078125, -0.0018768310546875, 0.0233154296875, -0.005462646484375, 0.0068359375, -0.00836181640625, -0.0079345703125, 0.01953125, -0.04248046875, -0.016845703125, -0.0137939453125, -0.001708984375, 0.00970458984375, -0.00482177734375, -0.0047607421875, -0....
[ 33742, 11, 23718, 8781, 54744, 55300, 100, 6827, 10298, 10958, 1556, 142508, 1928, 7352, 20320, 538, 127, 6366, 42, 8447, 5955, 23150, 29479, 5177, 603, 954, 33209, 49086, 28875, 25627, 959, 237, 4127, 2806, 765, 15673, 51484, 4552, 98893, ...
[ 0.199951171875, 0.2274169921875, 0.201171875, 0.163330078125, 0.1300048828125, 0.176025390625, 0.0164947509765625, 0.043701171875, 0.0714111328125, 0.199462890625, 0.0975341796875, 0.2330322265625, 0.074462890625, 0.123779296875, 0.102783203125, 0.056121826171875, 0.06024169921875, ...
embed
53759850_c0
53759850
haskell
0
Title: How to install ghc-mod using cabal Problem title: How to install ghc-mod using cabal Tags: ghc-mod, haskell Problem: How to install ghc-mod using cabal I am trying to install ghc-mod. Running MacOS Mojave 10.14.1. Right now, when running cabal install ghc-mod I get: clang: warning: argument unused during compila...
How to install ghc-mod using cabal How to install ghc-mod using cabal ghc-mod haskell cabal non-upgradeable How Wunused-command-line-argument Resolving Could __0 ghc-mod-5.8.0.0 __1 syb-0.7 __2 base-4.11.1.0 installed-4.1 base-4.12.0.0 base-4.11.0.0 base-4.10.1.0 base-4.10.0.0 base-4.9.1.0 base-4.9.0.0 base-4.8.2.0 bas...
[ -0.000637054443359375, 0.01251220703125, 0.017333984375, -0.003326416015625, 0.000522613525390625, -0.0037078857421875, -0.0235595703125, -0.01171875, 0.0038909912109375, -0.013427734375, -0.005096435546875, -0.059326171875, 0.007659912109375, -0.003448486328125, 0.00714111328125, -0.0...
[ 11249, 20600, 31380, 238, 13415, 17368, 109524, 47, 9, 1556, 142508, 351, 2037, 44286, 309, 33740, 277, 12018, 2256, 155937, 132944, 191147, 2389, 153451, 99929, 954, 275, 134926, 3647, 11565, 14556, 102107, 120518, 151152, 132265, 97109, 5550,...
[ 0.032196044921875, 0.2076416015625, 0.1727294921875, 0.1514892578125, 0.2060546875, 0.092041015625, 0.2452392578125, 0.032806396484375, 0.015106201171875, 0.0908203125, 0.1651611328125, 0.05908203125, 0.055511474609375, 0.116943359375, 0.013031005859375, 0.120361328125, 0.03771972656...
embed
20932637_c0
20932637
haskell
0
Title: Create an instance of Fractional using my own constructor (Haskell) Problem title: Create an instance of Fractional using my own constructor (Haskell) Tags: instance, haskell Problem: Create an instance of Fractional using my own constructor (Haskell) I'm trying to create my own instance of Fractional using my o...
Create an instance of Fractional using my own constructor (Haskell) Create an instance of Fractional using my own constructor (Haskell) instance haskell my Create Fractional Haskell Z95 Classe Num Create an instance of Fractional using my own constructor (Haskell) I'm trying to create my own instance of Fractional usin...
[ -0.006072998046875, -0.01318359375, 0.000858306884765625, 0.022216796875, 0.010498046875, 0.01324462890625, -0.0021820068359375, -0.00836181640625, 0.0172119140625, -0.02099609375, -0.0302734375, -0.0220947265625, 0.0208740234375, -0.0191650390625, -0.02001953125, -0.003814697265625, ...
[ 151313, 110527, 7868, 10763, 289, 17368, 759, 10002, 64549, 748, 6495, 7, 142508, 142, 111, 1556, 20625, 567, 8821, 35014, 52782, 31577, 28282, 1511, 61924, 21771, 903, 110, 31635, 1632, 22027, 18, 4488, 3688, 14847, 9790, 72367, 11435, 393...
[ 0.1109619140625, 0.2666015625, 0.2401123046875, 0.189208984375, 0.1607666015625, 0.06707763671875, 0.0745849609375, 0.16943359375, 0.1650390625, 0.104736328125, 0.0947265625, 0.04998779296875, 0.2401123046875, 0.03521728515625, 0.009033203125, 0.10986328125, 0.1009521484375, 0.0665...
embed
69136419_c0
69136419
haskell
0
Title: The type and definition of a function that is formed from two given functions Problem title: The type and definition of a function that is formed from two given functions Tags: haskell Problem: The type and definition of a function that is formed from two given functions I was asked to write the most simple defi...
The type and definition of a function that is formed from two given functions The type and definition of a function that is formed from two given functions haskell two The type and definition of a function that is formed from two given functions I was asked to write the most simple definition of the result of s k k , w...
[ 0.0078125, 0.025390625, -0.0233154296875, 0.0021209716796875, 0.0079345703125, -0.0059814453125, -0.0224609375, -0.003173828125, 0.0036163330078125, -0.0201416015625, 0.0155029296875, -0.032470703125, -0.007293701171875, 0.01019287109375, -0.00872802734375, 0.016357421875, 0.00823974...
[ 10644, 136, 80934, 111, 32354, 450, 83, 100, 4806, 1295, 6626, 34475, 1556, 142508, 10, 2684, 8781, 16750, 91, 472, 213185, 18, 23, 33949, 76199, 808, 33079, 5351, 51776, 1238, 706, 418, 304, 107730, 30646, 363, 237, 1022, 44084, 28219, ...
[ 0.2474365234375, 0.07684326171875, 0.17333984375, 0.0289764404296875, 0.2327880859375, 0.038360595703125, 0.02557373046875, 0.1209716796875, 0.1258544921875, 0.1285400390625, 0.18798828125, 0.1275634765625, 0.146484375, 0.2392578125, 0.013671875, 0.01702880859375, 0.0767822265625, ...
embed
16387032_c0
16387032
haskell
0
Title: How to write this as a single function? Problem title: How to write this as a single function? Tags: haskell Problem: How to write this as a single function? I'm having a go at project Euler Q3 and need to get the largest prime factor of a number. So far I've gotten a pair of functions to return a list of all th...
How to write this as a single function? How to write this as a single function? haskell How get_factors Integral x:xs x:get_factors x-1..1 How to write this as a single function? I'm having a go at project Euler Q3 and need to get the largest prime factor of a number. So far I've gotten a pair of functions to return a ...
[ -0.0118408203125, 0.0185546875, -0.0011138916015625, -0.004425048828125, 0.0032501220703125, -0.004119873046875, -0.011962890625, -0.035400390625, 0.0174560546875, -0.039794921875, 0.0250244140625, -0.0235595703125, -0.01507568359375, 0.00762939453125, 0.0006866455078125, -0.0207519531...
[ 11249, 47, 33022, 903, 237, 10, 11001, 32354, 1556, 142508, 2046, 144810, 7, 204681, 1022, 12, 425, 3794, 5759, 418, 13452, 5177, 603, 2396, 363, 3871, 142105, 20809, 31461, 14012, 17763, 80836, 30646, 5303, 756, 120103, 34475, 37202, 6494,...
[ 0.103271484375, 0.050567626953125, 0.1700439453125, 0.0953369140625, 0.09783935546875, 0.0386962890625, 0.1827392578125, 0.2303466796875, 0.12939453125, 0.228515625, 0.1163330078125, 0.260986328125, 0.060211181640625, 0.21826171875, 0.094482421875, 0.01507568359375, 0.0869140625, 0...
embed
23598470_c0
23598470
haskell
0
Title: Map vs Filter over infinite lists? Problem title: Map vs Filter over infinite lists? Tags: haskell Problem: Map vs Filter over infinite lists? I'm learning Haskell and i've run into something i can't understand and i can't find an explanation. So, I was testing some functions over infinite lists to see how they ...
Map vs Filter over infinite lists? Map vs Filter over infinite lists? haskell Map Filter Prelude.map x:xs Prelude.filter _pred Map vs Filter over infinite lists? I'm learning Haskell and i've run into something i can't understand and i can't find an explanation. So, I was testing some functions over infinite lists to s...
[ 0.0107421875, 0.01153564453125, 0.00970458984375, -0.01434326171875, -0.018798828125, -0.003936767578125, 0.0184326171875, 0.004669189453125, 0.00494384765625, -0.031005859375, -0.002227783203125, -0.0155029296875, 0.0169677734375, 0.0244140625, -0.000640869140625, 0.00787353515625, ...
[ 42719, 20209, 128896, 645, 54241, 13, 5303, 1556, 142508, 1914, 822, 112, 62346, 1022, 425, 120337, 19714, 7, 52080, 20625, 28219, 187136, 134234, 32354, 79786, 73900, 329, 17721, 22288, 136, 46312, 80934, 4263, 11675, 903, 140992, 4034, 8306...
[ 0.2454833984375, 0.16552734375, 0.30029296875, 0.09765625, 0.15234375, 0.06396484375, 0.209228515625, 0.086669921875, 0.2008056640625, 0.110595703125, 0.190673828125, 0.1656494140625, 0.247802734375, 0.012115478515625, 0.048919677734375, 0.279052734375, 0.150634765625, 0.0135498046...
embed
31880896_c0
31880896
haskell
0
Title: Doing something on the final result of a recursive function, whithin the same function Problem title: Doing something on the final result of a recursive function, whithin the same function Tags: haskell, recursion Problem: Doing something on the final result of a recursive function, whithin the same function Eas...
Doing something on the final result of a recursive function, whithin the same function Doing something on the final result of a recursive function, whithin the same function haskell recursion Doing Doing something on the final result of a recursive function, whithin the same function Easier to show than to explain. I h...
[ -0.0106201171875, 0.0096435546875, 0.0225830078125, -0.0106201171875, 0.001251220703125, 0.02294921875, -0.011474609375, -0.01092529296875, 0.0244140625, -0.0150146484375, 0.01202392578125, -0.0257568359375, 0.00848388671875, 0.025634765625, 0.00775146484375, -0.0260009765625, 0.0032...
[ 984, 214, 9844, 98, 2704, 16750, 195625, 5844, 32354, 11400, 4505, 5701, 148, 1556, 142508, 1830, 1544, 7639, 73342, 903, 57278, 54, 3647, 142477, 1295, 209, 3444, 1957, 3642, 33022, 1372, 483, 8, 61170, 2203, 68252, 96386, 131983, 5303, ...
[ 0.103271484375, 0.012664794921875, 0.09100341796875, 0.16552734375, 0.193603515625, 0.197998046875, 0.2091064453125, 0.1131591796875, 0.171630859375, 0.13037109375, 0.17626953125, 0.1676025390625, 0.0531005859375, 0.12353515625, 0.2435302734375, 0.07537841796875, 0.05133056640625, ...
embed
3568767_c0
3568767
haskell
0
Title: Haskell: Lifting a reads function to a parsec parser Problem title: Haskell: Lifting a reads function to a parsec parser Tags: haskell, parsec, parsing Problem: Haskell: Lifting a reads function to a parsec parser As part of the 4th exercise here I would like to use a reads type function such as readHex with a p...
Haskell: Lifting a reads function to a parsec parser Haskell: Lifting a reads function to a parsec parser haskell parsec parsing Haskell Lifting Parser Main Numeric many1 Right Haskell: Lifting a reads function to a parsec parser As part of the 4th exercise here I would like to use a reads type function such as readHex...
[ -0.000576019287109375, 0.013916015625, -0.0031585693359375, 0.018310546875, -0.0002460479736328125, 0.01312255859375, 0.0101318359375, -0.03466796875, 0.004791259765625, -0.0291748046875, 0.0252685546875, -0.00250244140625, 0.0137939453125, -0.01171875, 0.003204345703125, -0.0225830078...
[ 20625, 142508, 166562, 214, 12301, 7, 32354, 47, 366, 39797, 2189, 1556, 6953, 2392, 12321, 93511, 5941, 418, 90911, 201, 81979, 1884, 4527, 10644, 841, 3355, 678, 59121, 831, 11814, 41877, 17304, 42459, 136912, 51515, 13579, 420, 91, 163, ...
[ 0.1370849609375, 0.238037109375, 0.2000732421875, 0.039794921875, 0.2230224609375, 0.1202392578125, 0.192138671875, 0.0706787109375, 0.1673583984375, 0.206787109375, 0.1834716796875, 0.109375, 0.0209503173828125, 0.1834716796875, 0.0204315185546875, 0.0885009765625, 0.1405029296875, ...
embed